PyPI rejects 0.13.9: wheel filename not normalized (Python 3.7 build)
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- github-actions, python
- 領域
- build-system, release
調査の方向性
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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/openfisca-tools のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PolicyEngine/openfisca-tools#65 · コメント 4 件 ·
PolicyEngine/openfisca-tools の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
letsencrypt/cp-cps#361 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
CI: startup_failure because callers grant fewer permissions than ledger-app-workflows@v1 declares対応中かも @maykonmichel が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
LedgerHQ/app-boilerplate-rust#227 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
linuxmint/mintupdate#1107 ·