GH Actions not able to upload to PYPI
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
リンクされている GitHub Actions の実行から始め、wheel をビルドしてアップロードする workflow のステップを確認します。生成されたプラットフォームタグ linux_x86_64 を PyPI がサポートするタグと比較し、提案されたパッケージングの変更を test.pypi.org に対してテストします。wheel が 400 エラーなしで正常にアップロードされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Related to #170 I think. From the last run: https://github.com/NCAR/wrf-python/runs/6613143643?check_suite_focus=true
Uploading wrf_python-1.3.4.1-cp310-cp310-linux_x86_64.whl
25l
0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/663.4 kB • --:-- • ?
0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/663.4 kB • --:-- • ?
0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/663.4 kB • --:-- • ?
25% ━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/663.4 kB • 00:01 • 2.7 MB/s
75% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━ 499.7/663.4 kB • 00:01 • 2.8 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 663.4/663.4 kB • 00:00 • 2.8 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 663.4/663.4 kB • 00:00 • 2.8 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 663.4/663.4 kB • 00:00 • 2.8 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 663.4/663.4 kB • 00:00 • 2.8 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 663.4/663.4 kB • 00:00 • 2.8 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 663.4/663.4 kB • 00:00 • 2.8 MB/s
25hINFO Response from https://upload.pypi.org/legacy/:
400 Binary wheel 'wrf_python-1.3.4.1-cp310-cp310-linux_x86_64.whl' has
an unsupported platform tag 'linux_x86_64'.
INFO <html>
<head>
<title>400 Binary wheel
'wrf_python-1.3.4.1-cp310-cp310-linux_x86_64.whl' has an unsupported
platform tag 'linux_x86_64'.</title>
</head>
<body>
<h1>400 Binary wheel
'wrf_python-1.3.4.1-cp310-cp310-linux_x86_64.whl' has an unsupported
platform tag 'linux_x86_64'.</h1>
The server could not comply with the request since it is either
malformed or otherwise incorrect.<br/><br/>
Binary wheel
'wrf_python-1.3.4.1-cp310-cp310-linux_x86_64.whl' has an
unsupported platform tag 'linux_x86_64'.
</body>
</html>
ERROR HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Binary wheel 'wrf_python-1.3.4.1-cp310-cp310-linux_x86_64.whl' has an
unsupported platform tag 'linux_x86_64'.
I think this is explained in https://peps.python.org/pep-0513/#rationale. Still trying to digest that PEP text to see what would be the fix.
One way to test a fix for this would be to use the test instance of PYPI, so we don't have to wait for a release to test it 👍 , https://test.pypi.org/
- 主要言語
- Python
- スター
- 498
- フォーク
- 178
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NCAR/wrf-python のほかの issue
-
NCAR/wrf-python#309 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
NCAR/wrf-python#307 · コメント 5 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
NCAR/wrf-python#286 · コメント 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
NCAR/wrf-python#282 · コメント 1 件 ·
-
PyPI releases オープン
NCAR/wrf-python#274 · コメント 5 件 · リアクション 1 件 · 担当者 1 名 ·
NCAR/wrf-python の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·