Skip to content

Drop stale Python 3.7/3.8 trove classifiers - #1624

Open
ekanshul wants to merge 1 commit into
python-openxml:masterfrom
ekanshul:fix/stale-python-classifiers
Open

ekanshul wants to merge 1 commit into
python-openxml:masterfrom
ekanshul:fix/stale-python-classifiers

Conversation

@ekanshul

@ekanshul ekanshul commented Oct 2, 2026

Copy link
Copy Markdown

Fixes #1620.

requires-python is already >=3.9 (3.8 support was dropped in 1.2.0), but the trove classifiers still listed 3.7 and 3.8. pip enforces requires-python; PyPI displays the classifiers. A user on 3.7 or 3.8 therefore sees a package that claims to support their version and then gets ERROR: Package 'python-docx' requires a different Python.

This removes the stale 3.7/3.8 classifiers and adds 3.12/3.13 so the list matches tox (py39–py313) and the versions already tested in 1.1.2 / 1.2.0.

requires-python is already >=3.9 (3.8 support was dropped in 1.2.0),
but the classifiers still advertised 3.7 and 3.8. PyPI shows those
classifiers, so a 3.7/3.8 user sees a supported version and then
gets a requires-python install error.

Also add 3.12 and 3.13 classifiers to match tox envlist and the
versions already tested in 1.1.2 / 1.2.0.

Fixes python-openxml#1620
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trove classifiers advertise Python 3.7 and 3.8, but requires-python is >=3.9

1 participant