Skip to content

Commit ed3f7c4

Browse files
committed
Set upper bound for Python (databricks#152)
### Description The dependent library `databricks-sql-connector` doesn't support Python 3.10 yet (databricks/databricks-sql-python#26). We should also avoid incompatible Python version.
1 parent 0611cc0 commit ed3f7c4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
strategy:
8181
fail-fast: false
8282
matrix:
83-
python-version: ["3.7", "3.8", "3.9", "3.10"]
83+
python-version: ["3.7", "3.8", "3.9"]
8484

8585
env:
8686
TOXENV: "unit"
@@ -177,7 +177,7 @@ jobs:
177177
fail-fast: false
178178
matrix:
179179
os: [ubuntu-latest, macos-latest, windows-latest]
180-
python-version: ["3.7", "3.8", "3.9", "3.10"]
180+
python-version: ["3.7", "3.8", "3.9"]
181181

182182
steps:
183183
- name: Set up Python ${{ matrix.python-version }}

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def _get_plugin_version():
6868
"Programming Language :: Python :: 3.7",
6969
"Programming Language :: Python :: 3.8",
7070
"Programming Language :: Python :: 3.9",
71-
"Programming Language :: Python :: 3.10",
7271
],
73-
python_requires=">=3.7",
72+
python_requires=">=3.7,<3.10",
7473
)

0 commit comments

Comments
 (0)