Skip to content

Commit

Permalink
pyproject, tox, tests: set oldest version supported to 3.10
Browse files Browse the repository at this point in the history
Below 3.10, annotations for dict and list requires to import List and Dict from typing but pyserde does not support it

Normally we don't have any python environnement with python 3.8 or 3.9

We can't support python 3.12 and after in the tests because pytest-virtualenv do not support it yet
  • Loading branch information
lbertho-gpsw committed Nov 13, 2024
1 parent fd2db89 commit 4cd21a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.10', '3.11']

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name = "cython_setuptools"
description = "Cython setuptools integration"
dynamic = ["version"]
readme = "README.md"
requires-python = "~=3.8"
requires-python = "~=3.10"
keywords = ["cython", "setuptools"]
authors = [{name = "Luper Rouch", email= "[email protected]"}]
maintainers = [{ name = "Marco Treglia", email = "[email protected]" }]
Expand All @@ -33,7 +33,8 @@ dev = [
"virtualenv",
"cython",
"pytest-virtualenv",
"six"]
"six",
]

[metadata]
long_description = "file:README.md"
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
[tox]
envlist = py38, py39, py310, py311
envlist = py310, py311
isolated_build = true

[gh-actions]
python =
3.8: py38,
3.9: py39,
3.10: py310, flake8
3.11: py311,

Expand Down

0 comments on commit 4cd21a4

Please sign in to comment.