Skip to content

Commit b927b3d

Browse files
committed
fix: set minimum supported Python version to 3.9
Python 3.8 is not compatible with the codebase due to use of modern type hint syntax (tuple[...], list[...]) which requires Python 3.9+. Changed: - CI workflow now tests Python 3.9, 3.10, 3.11, and 3.12 - Updated pyrightconfig.json to target Python 3.9 - Updated ruff.toml to target Python 3.9
1 parent 89a62cb commit b927b3d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
15+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1616

1717
steps:
1818
- uses: actions/checkout@v4

pyrightconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"**/dist",
99
"**/*_test.py"
1010
],
11-
"pythonVersion": "3.8",
11+
"pythonVersion": "3.9",
1212
"pythonPlatform": "All",
1313
"typeCheckingMode": "off",
1414
"reportMissingImports": true,

ruff.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ exclude = [
1111
"*.egg-info",
1212
]
1313

14-
# Target Python 3.8+
15-
target-version = "py38"
14+
# Target Python 3.9+
15+
target-version = "py39"
1616

1717
# Line length
1818
line-length = 88

0 commit comments

Comments
 (0)