From 589be110895b149eb3cdb83e86df3058337e5763 Mon Sep 17 00:00:00 2001 From: Xuan <65048031+crazy-2020@users.noreply.github.com> Date: Tue, 6 Apr 2021 18:17:14 -0700 Subject: [PATCH] Pin sqlalchemy version < 1.4 (#13) * make __all__ include only RDSModel Signed-off-by: xuans * pin sqlalchemy version < 1.4 Signed-off-by: xuans --- amundsen_rds/models/__init__.py | 15 ++------------- requirements.txt | 2 +- setup.py | 4 ++-- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/amundsen_rds/models/__init__.py b/amundsen_rds/models/__init__.py index 0114985..ba8647c 100644 --- a/amundsen_rds/models/__init__.py +++ b/amundsen_rds/models/__init__.py @@ -1,5 +1,6 @@ # Copyright Contributors to the Amundsen project. # SPDX-License-Identifier: Apache-2.0 + from typing import Union from amundsen_rds.models.application import Application, ApplicationTable @@ -39,16 +40,4 @@ TableUsage, TableWatermark, Tag, UpdatedTimestamp, User] -__all__ = [ - 'Application', 'ApplicationTable', 'Badge', 'Cluster', - 'TableColumn', 'ColumnBadge', 'ColumnDescription', 'ColumnStat', - 'Dashboard', 'DashboardBadge', 'DashboardChart', 'DashboardCluster', - 'DashboardDescription', 'DashboardExecution', 'DashboardFollower', 'DashboardGroup', - 'DashboardGroupDescription', 'DashboardOwner', 'DashboardQuery', 'DashboardTable', - 'DashboardTag', 'DashboardTimestamp', 'DashboardUsage', 'Database', - 'Schema', 'SchemaDescription', 'SchemaProgrammaticDescription', 'Table', - 'TableBadge', 'TableDescription', 'TableFollower', 'TableOwner', - 'TableProgrammaticDescription', 'TableSource', 'TableTag', 'TableTimestamp', - 'TableUsage', 'TableWatermark', 'Tag', 'UpdatedTimestamp', - 'User', 'RDSModel' -] +__all__ = ['RDSModel'] diff --git a/requirements.txt b/requirements.txt index 0e0367c..57141c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ flake8==3.5.0 isort==4.3.21 mypy==0.782 -sqlalchemy>=1.3.0,<2.0 +sqlalchemy>=1.3.0,<1.4 diff --git a/setup.py b/setup.py index 44b37e2..ab97238 100644 --- a/setup.py +++ b/setup.py @@ -3,11 +3,11 @@ from setuptools import find_packages, setup -__version__ = '0.0.3' +__version__ = '0.0.4' requirements = [ - 'sqlalchemy>=1.3.0,<2.0' + 'sqlalchemy>=1.3.0,<1.4' ] setup(