Skip to content

Commit 4c57eb6

Browse files
feat: Drop Python 3.8 support and add Python 3.13 tests
This commit drops support for Python 3.8, which was failing due to an issue with an older version of setuptools and the license field in pyproject.toml. The supported Python version range is now '>=3.9'. Additionally, this commit adds a test job for Python 3.13 to the CI workflow to ensure compatibility with the latest Python version.
1 parent 572db02 commit 4c57eb6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
2626
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
2727
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
28-
- { python: "3.8", os: "ubuntu-latest", session: "tests" }
2928
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
29+
- { python: "3.13", os: "ubuntu-latest", session: "tests" }
3030
- { python: "3.10", os: "windows-latest", session: "tests" }
3131
- { python: "3.10", os: "macos-latest", session: "tests" }
3232
- { python: "3.10", os: "ubuntu-latest", session: "typeguard" }

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package = "camelot"
1616

1717
# TODO: certain sessions are pinned to Python 3.10
18-
python_versions = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
18+
python_versions = ["3.9", "3.10", "3.11", "3.12", "3.13"]
1919
nox.needs_version = ">= 2021.6.6"
2020
nox.options.sessions = (
2121
"pre-commit",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ classifiers = [
1616
"Programming Language :: Python :: 3.12",
1717
"Programming Language :: Python :: 3.13",
1818
]
19-
requires-python = ">=3.8"
19+
requires-python = ">=3.9"
2020
dependencies = [
2121
"click>=8.0.1",
2222
"chardet>=5.1.0",

0 commit comments

Comments
 (0)