Skip to content

Add Python trove classifiers so the pyversions badge resolves - #27

Merged
picaultj merged 1 commit into
mainfrom
fix/pypi-badges
Aug 14, 2026
Merged

Add Python trove classifiers so the pyversions badge resolves#27
picaultj merged 1 commit into
mainfrom
fix/pypi-badges

Conversation

@picaultj

@picaultj picaultj commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes the python "missing" badge on PyPI. The other two badges in the screenshot just need time (see below).

Root cause per badge

  • python → "missing": shields' pypi/pyversions reads the Python versions from trove classifiers, not requires-python. The package had none. → Fixed here by adding Programming Language :: Python :: 3 / :: 3.13 (plus Environment :: Web Environment, Intended Audience :: Science/Research, License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0), Operating System :: OS Independent).
  • pypi version → "package or version not found": was shields.io's stale negative cache from before the package existed. Already self-healed — the live endpoint now returns v0.1.14. No change needed.
  • Downloads (pepy) → broken image: pepy hasn't indexed conflens yet (static.pepy.tech/badge/conflens 404s) 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.13 once this merges and publishes the next release.

Testing

  • uv build + uvx twine check dist/*PASSED (the license classifier coexists fine with the license field).
  • Python classifiers confirmed present in the built wheel.
  • ruff clean · pytest 76 passed.

Merging cuts 0.1.15 to PyPI; after that the python badge resolves and (given a day) the downloads badge fills in.

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.
@picaultj
picaultj merged commit 9eacdea into main Aug 14, 2026
4 checks passed
@picaultj
picaultj deleted the fix/pypi-badges branch August 14, 2026 16:08
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.

2 participants