diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e9adfbf2c4..08b4b187d6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ ### Under the hood - Add dependabot configuration for alerting maintainers about keeping dependencies up to date and secure. ([#3061](https://github.com/fishtown-analytics/dbt/issues/3061), [#3062](https://github.com/fishtown-analytics/dbt/pull/3062)) - Update script to collect and write json schema for dbt artifacts ([#2870](https://github.com/fishtown-analytics/dbt/issues/2870), [#3065](https://github.com/fishtown-analytics/dbt/pull/3065)) +- Bump snowflake-connector-python and releated dependencies, support Python 3.9 ([#2985](https://github.com/fishtown-analytics/dbt/issues/2985), [#3148](https://github.com/fishtown-analytics/dbt/pull/3148)) Contributors: - [@yu-iskw](https://github.com/yu-iskw) ([#2928](https://github.com/fishtown-analytics/dbt/pull/2928)) diff --git a/core/setup.py b/core/setup.py index 5cfcc8be6fb..1b7e1de3763 100644 --- a/core/setup.py +++ b/core/setup.py @@ -75,9 +75,9 @@ def read(fname): 'mashumaro==2.0', 'typing-extensions>=3.7.4,<3.8', # the following are all to match snowflake-connector-python - 'requests>=2.18.0,<2.24.0', - 'idna<2.10', - 'cffi>=1.9,<1.15', + 'requests<3.0.0', + 'idna>=2.5,<3', + 'cffi>=1.9,<2.0.0', ], zip_safe=False, classifiers=[ diff --git a/plugins/redshift/setup.py b/plugins/redshift/setup.py index 14d6229bf2f..276fff62751 100644 --- a/plugins/redshift/setup.py +++ b/plugins/redshift/setup.py @@ -48,8 +48,8 @@ install_requires=[ 'dbt-core=={}'.format(package_version), 'dbt-postgres=={}'.format(package_version), - # match snowflake-connector-python supported ranges - 'boto3>=1.4.4,<1.16', + # the following are all to match snowflake-connector-python + 'boto3>=1.4.4,<2.0.0', ], zip_safe=False, classifiers=[ diff --git a/plugins/snowflake/setup.py b/plugins/snowflake/setup.py index 61aea3aa2a4..a7bd3232ec8 100644 --- a/plugins/snowflake/setup.py +++ b/plugins/snowflake/setup.py @@ -47,11 +47,8 @@ }, install_requires=[ 'dbt-core=={}'.format(package_version), - 'snowflake-connector-python[secure-local-storage]==2.3.6', - 'azure-common<2.0.0', - 'azure-storage-blob>=12.0.0,<13.0.0', - 'urllib3>=1.20,<1.26.0', - # this seems sufficiently broad + 'snowflake-connector-python[secure-local-storage]~=2.4.1', + 'requests<3.0.0', 'cryptography>=3.2,<4', ], zip_safe=False, @@ -67,6 +64,7 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], python_requires=">=3.6.2", ) diff --git a/setup.py b/setup.py index 103c2fc68e6..74c22f3277a 100644 --- a/setup.py +++ b/setup.py @@ -61,6 +61,7 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], python_requires=">=3.6.2", )