Skip to content

Commit 8c9db0c

Browse files
ayhammoudaclaude
andcommitted
build: advertise Python 3.14 runtime in PyPI classifiers
Fixes I4 from the PR #22 coherence review. Slow E2E runs on Python 3.13 and 3.14, and all docs say the project runs on Python 3.12+. The classifier list previously stopped at 3.13, which hid the project from PyPI users filtering by 3.14. Adds a classifier test to prevent future drift. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2f0cf08 commit 8c9db0c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ classifiers = [
1818
"Intended Audience :: Developers",
1919
"Programming Language :: Python :: 3.12",
2020
"Programming Language :: Python :: 3.13",
21+
"Programming Language :: Python :: 3.14",
2122
"Topic :: Documentation",
2223
"Topic :: Software Development :: Libraries",
2324
]

tests/test_packaging.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ def test_required_deps_present(self):
109109
for dep_name in required_dep_names:
110110
assert dep_name in pyproject, f"Missing dependency: {dep_name}"
111111

112+
def test_classifiers_advertise_supported_python_versions(self):
113+
"""Classifiers must list every Python runtime the project supports."""
114+
pyproject = (PROJECT_ROOT / "pyproject.toml").read_text()
115+
for minor in (12, 13, 14):
116+
classifier = f"Programming Language :: Python :: 3.{minor}"
117+
assert classifier in pyproject, f"Missing classifier: {classifier}"
118+
112119

113120
class TestVersionFlag:
114121
"""PKG-06: --version flag prints version."""

0 commit comments

Comments
 (0)