Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

クローズ
#82 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@anth-volk がすでに取り組んでいます。

2026年10月12日 から。

  • #83 @anth-volk による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
github-actions, python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
1
フォーク
1
平均マージ
11時間 16分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PolicyEngine/openfisca-tools のほかの issue

PolicyEngine/openfisca-tools の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。