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

GH Actions not able to upload to PYPI

オープン
#189 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions, python
領域
ci-cd, release

調査の方向性

リンクされている 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                                                           
         &#x27;wrf_python-1.3.4.1-cp310-cp310-linux_x86_64.whl&#x27; has an     
         unsupported platform tag &#x27;linux_x86_64&#x27;.                     
                                                                                
                                                                                
          </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 はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

NCAR/wrf-python のほかの issue

NCAR/wrf-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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