Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Actions not able to upload to PYPI #189

Open
kinow opened this issue May 26, 2022 · 0 comments
Open

GH Actions not able to upload to PYPI #189

kinow opened this issue May 26, 2022 · 0 comments

Comments

@kinow
Copy link
Contributor

kinow commented May 26, 2022

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/

@kinow kinow changed the title GH Actions not able to uploade to PYPI GH Actions not able to upload to PYPI May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant