Skip to content

Commit

Permalink
Update snowflake-connector-python requirement from <3.0.0 to <4.0.0 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Feb 4, 2023
1 parent 9596d0a commit dc1fe3d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: '3.8'
- name: Display Python version
run: python -c "import sys; import os; print(\"\n\".join(os.environ[\"PATH\"].split(os.pathsep))); print(sys.version); print(sys.executable);"
- name: Upgrade setuptools, pip and wheel
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
download_name: macosx_x86_64
- image_name: windows-2019
download_name: win_amd64
python-version: ["3.7"]
python-version: ["3.8"]
cloud-provider: [aws, azure, gcp]
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -98,6 +98,7 @@ jobs:
.tox/coverage.xml
test_connector_regression:
if: ${{ false }} # disable temporarily
name: Connector Regression Test ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
needs: lint
runs-on: ${{ matrix.os.image_name }}
Expand All @@ -107,7 +108,7 @@ jobs:
os:
- image_name: ubuntu-latest
download_name: manylinux_x86_64
python-version: ["3.7"]
python-version: ["3.8"]
cloud-provider: [aws]
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -141,7 +142,7 @@ jobs:
combine-coverage:
if: ${{ success() || failure() }}
name: Combine coverage
needs: [test, test_connector_regression]
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -151,7 +152,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: '3.8'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Upgrade setuptools and pip
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
exclude: .github/repo_meta.yaml
- id: debug-statements
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
Expand Down
4 changes: 4 additions & 0 deletions DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Source code is also available at:

# Release Notes

- v1.4.6(Feb 3, 2023)

- Bumped snowflake-connector-python dependency to newest version which supports Python 3.11.

- v1.4.5(Dec 7, 2022)

- Updated the application name of driver connection `SnowflakeConnection` to `SnowflakeSQLAlchemy`.
Expand Down
7 changes: 4 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ universal = 1

[metadata]
name = snowflake-sqlalchemy
version = 1.4.5
version = 1.4.6
description = Snowflake SQLAlchemy Dialect
long_description = file: DESCRIPTION.md
long_description_content_type = text/markdown
Expand All @@ -28,6 +28,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: SQL
Topic :: Database
Topic :: Scientific/Engineering :: Information Analysis
Expand All @@ -49,7 +50,7 @@ install_requires =
importlib-metadata;python_version<"3.8"
sqlalchemy<2.0.0,>=1.4.0
; Keep in sync with extras dependency
snowflake-connector-python<3.0.0
snowflake-connector-python<4.0.0
include_package_data = True
package_dir =
=src
Expand All @@ -73,7 +74,7 @@ development =
pytz
numpy
pandas =
snowflake-connector-python[pandas]<3.0.0
snowflake-connector-python[pandas]<4.0.0

[sqla_testing]
requirement_cls=snowflake.sqlalchemy.requirements:Requirements
Expand Down
2 changes: 1 addition & 1 deletion tests/connector_regression
Submodule connector_regression updated 42 files
+4 −4 .github/workflows/build_test.yml
+1 −1 .github/workflows/create_req_files.yml
+16 −0 DESCRIPTION.md
+1 −0 Jenkinsfile
+1 −0 MANIFEST.in
+1 −1 ci/build_darwin.sh
+2 −2 ci/build_docker.sh
+1 −1 ci/build_linux.sh
+2 −2 ci/build_windows.bat
+2 −2 ci/docker/connector_build/Dockerfile
+2 −2 ci/docker/connector_test/Dockerfile
+1 −1 ci/docker/connector_test_fips/Dockerfile
+2 −2 ci/test_darwin.sh
+2 −2 ci/test_docker.sh
+2 −2 ci/test_linux.sh
+1 −1 pyproject.toml
+6 −0 samples/README.md
+61 −0 samples/auth_by_key_pair_from_file.py
+3 −2 setup.cfg
+40 −12 setup.py
+1 −1 src/snowflake/connector/auth/_auth.py
+2 −2 src/snowflake/connector/auth/webbrowser.py
+27 −7 src/snowflake/connector/cache.py
+10 −1 src/snowflake/connector/connection.py
+1 −1 src/snowflake/connector/cpp/ArrowIterator/BinaryConverter.cpp
+1 −1 src/snowflake/connector/cpp/ArrowIterator/StringConverter.cpp
+5 −1 src/snowflake/connector/cursor.py
+2 −2 src/snowflake/connector/network.py
+1 −9 src/snowflake/connector/vendored/urllib3/contrib/pyopenssl.py
+1 −1 src/snowflake/connector/version.py
+30 −1 test/integ/pandas/test_arrow_pandas.py
+2 −2 test/integ/test_async.py
+51 −0 test/unit/test_auth_mfa.py
+4 −4 test/unit/test_auth_webbrowser.py
+51 −0 test/unit/test_cache.py
+2 −2 test/unit/test_put_get.py
+9 −9 tested_requirements/requirements_310.reqs
+18 −0 tested_requirements/requirements_311.reqs
+8 −8 tested_requirements/requirements_37.reqs
+9 −9 tested_requirements/requirements_38.reqs
+9 −9 tested_requirements/requirements_39.reqs
+5 −4 tox.ini
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ depends = py37, py38, py39, py310

[testenv:fix_lint]
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
basepython = python3.7
basepython = python3.8
passenv =
PROGRAMDATA
deps =
Expand Down

0 comments on commit dc1fe3d

Please sign in to comment.