Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Cerrado
#82 0 comentarios 0 reacciones 0 asignados Ver en GitHub

@anth-volk ya está trabajando en esto.

Desde el 12/10/2026.

  • #83 de @anth-volk — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
github-actions, python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
1
Forks
1
Merge medio
11 h 16 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PolicyEngine/openfisca-tools

Todos los issues de PolicyEngine/openfisca-tools

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.