Add Python trove classifiers so the pyversions badge resolves - #27
Merged
Conversation
The shields.io `pypi/pyversions` badge reads Python versions from trove classifiers, not `requires-python`, so it showed "missing". Add `Programming Language :: Python :: 3` / `:: 3.13` (plus license, intended audience, environment and OS classifiers) so the badge resolves and the project is filterable on PyPI. Takes effect on the next published release.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the python "missing" badge on PyPI. The other two badges in the screenshot just need time (see below).
Root cause per badge
pypi/pyversionsreads the Python versions from trove classifiers, notrequires-python. The package had none. → Fixed here by addingProgramming Language :: Python :: 3/:: 3.13(plusEnvironment :: Web Environment,Intended Audience :: Science/Research,License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0),Operating System :: OS Independent).v0.1.14. No change needed.conflensyet (static.pepy.tech/badge/conflens404s) and shields' download endpoint is "rate limited / no data". A day-old package simply has no download stats. It will populate on its own within ~24h. No URL change helps today.Effect
The pyversions badge reads the latest published version's classifiers, so it starts showing
3.13once this merges and publishes the next release.Testing
uv build+uvx twine check dist/*→ PASSED (the license classifier coexists fine with thelicensefield).ruffclean ·pytest76 passed.Merging cuts
0.1.15to PyPI; after that the python badge resolves and (given a day) the downloads badge fills in.