Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

PyPI rejects 0.13.9: wheel filename not normalized (Python 3.7 build)

Aperta
#82 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@anth-volk ci sta già lavorando.

Dal 12/10/2026.

  • #83 di @anth-volk — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
github-actions, python

Direzione di ricerca

Read the Deploy job configuration and the package version metadata; the issue identifies the Python 3.7 build step using setup.py sdist bdist_wheel and recommends building distributions on modern Python with python -m build. Check the linked pull request #83 for work already underway. Done means the release uses version 0.13.10 and produces normalized distribution filenames while retaining Python 3.7 for installation and testing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What happened

After #81 moved publishing to PyPI trusted publishing, the Deploy job on master (run 38296026940) authenticated successfully, but PyPI rejected the upload:

400 Filename 'OpenFisca_Tools-0.13.9-py3-none-any.whl' should contain the normalized project name 'openfisca_tools', not 'OpenFisca_Tools'.

PyPI now requires distribution filenames to use the normalized project name (PEP 625 / the binary distribution format spec). The Deploy job builds on Python 3.7 with python setup.py sdist bdist_wheel; the newest setuptools available on 3.7 predates filename normalization, so it produces OpenFisca_Tools-… and OpenFisca-Tools-….tar.gz.

Consequences

  • 0.13.9 never reached PyPI (latest there is still 0.13.8, from 2022).
  • The run had already pushed tag 0.13.9 (at 2ff7ac2), so re-running with the same version would fail at the tag step.

Fix

Keep Python 3.7 for installing and testing (the package pins numpy<1.21), but build the distributions on a modern Python with python -m build, which writes normalized filenames. Bump to 0.13.10 so the release gets a fresh tag.

🤖 Generated with Claude Code

Lingua principale
Python
Stelle
1
Fork
1
Merge medio
5h 40m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PolicyEngine/openfisca-tools

Tutte le issue di PolicyEngine/openfisca-tools

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.