Skip to content

Commit 0e0727b

Browse files
authored
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 31d590c commit 0e0727b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/main.yml

+2-2
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

+1-2
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)