Skip to content

Commit dc1fe3d

Browse files
Update snowflake-connector-python requirement from <3.0.0 to <4.0.0 (snowflakedb#379)
1 parent 9596d0a commit dc1fe3d

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

.github/workflows/build_test.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Python
2929
uses: actions/setup-python@v2
3030
with:
31-
python-version: '3.7'
31+
python-version: '3.8'
3232
- name: Display Python version
3333
run: python -c "import sys; import os; print(\"\n\".join(os.environ[\"PATH\"].split(os.pathsep))); print(sys.version); print(sys.executable);"
3434
- name: Upgrade setuptools, pip and wheel
@@ -58,7 +58,7 @@ jobs:
5858
download_name: macosx_x86_64
5959
- image_name: windows-2019
6060
download_name: win_amd64
61-
python-version: ["3.7"]
61+
python-version: ["3.8"]
6262
cloud-provider: [aws, azure, gcp]
6363
steps:
6464
- uses: actions/checkout@v2
@@ -98,6 +98,7 @@ jobs:
9898
.tox/coverage.xml
9999
100100
test_connector_regression:
101+
if: ${{ false }} # disable temporarily
101102
name: Connector Regression Test ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
102103
needs: lint
103104
runs-on: ${{ matrix.os.image_name }}
@@ -107,7 +108,7 @@ jobs:
107108
os:
108109
- image_name: ubuntu-latest
109110
download_name: manylinux_x86_64
110-
python-version: ["3.7"]
111+
python-version: ["3.8"]
111112
cloud-provider: [aws]
112113
steps:
113114
- uses: actions/checkout@v2
@@ -141,7 +142,7 @@ jobs:
141142
combine-coverage:
142143
if: ${{ success() || failure() }}
143144
name: Combine coverage
144-
needs: [test, test_connector_regression]
145+
needs: [test]
145146
runs-on: ubuntu-latest
146147
steps:
147148
- uses: actions/checkout@v2
@@ -151,7 +152,7 @@ jobs:
151152
- name: Set up Python
152153
uses: actions/setup-python@v2
153154
with:
154-
python-version: '3.7'
155+
python-version: '3.8'
155156
- name: Display Python version
156157
run: python -c "import sys; print(sys.version)"
157158
- name: Upgrade setuptools and pip

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
exclude: .github/repo_meta.yaml
1010
- id: debug-statements
1111
- repo: https://github.com/PyCQA/isort
12-
rev: 5.10.1
12+
rev: 5.12.0
1313
hooks:
1414
- id: isort
1515
- repo: https://github.com/asottile/pyupgrade

DESCRIPTION.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Source code is also available at:
99

1010
# Release Notes
1111

12+
- v1.4.6(Feb 3, 2023)
13+
14+
- Bumped snowflake-connector-python dependency to newest version which supports Python 3.11.
15+
1216
- v1.4.5(Dec 7, 2022)
1317

1418
- Updated the application name of driver connection `SnowflakeConnection` to `SnowflakeSQLAlchemy`.

setup.cfg

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ universal = 1
33

44
[metadata]
55
name = snowflake-sqlalchemy
6-
version = 1.4.5
6+
version = 1.4.6
77
description = Snowflake SQLAlchemy Dialect
88
long_description = file: DESCRIPTION.md
99
long_description_content_type = text/markdown
@@ -28,6 +28,7 @@ classifiers =
2828
Programming Language :: Python :: 3.8
2929
Programming Language :: Python :: 3.9
3030
Programming Language :: Python :: 3.10
31+
Programming Language :: Python :: 3.11
3132
Programming Language :: SQL
3233
Topic :: Database
3334
Topic :: Scientific/Engineering :: Information Analysis
@@ -49,7 +50,7 @@ install_requires =
4950
importlib-metadata;python_version<"3.8"
5051
sqlalchemy<2.0.0,>=1.4.0
5152
; Keep in sync with extras dependency
52-
snowflake-connector-python<3.0.0
53+
snowflake-connector-python<4.0.0
5354
include_package_data = True
5455
package_dir =
5556
=src
@@ -73,7 +74,7 @@ development =
7374
pytz
7475
numpy
7576
pandas =
76-
snowflake-connector-python[pandas]<3.0.0
77+
snowflake-connector-python[pandas]<4.0.0
7778

7879
[sqla_testing]
7980
requirement_cls=snowflake.sqlalchemy.requirements:Requirements

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ depends = py37, py38, py39, py310
8282

8383
[testenv:fix_lint]
8484
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
85-
basepython = python3.7
85+
basepython = python3.8
8686
passenv =
8787
PROGRAMDATA
8888
deps =

0 commit comments

Comments
 (0)