wrf-python icon indicating copy to clipboard operation
wrf-python copied to clipboard

GH Actions not able to upload to PYPI

Open kinow opened this issue 3 years ago • 0 comments

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 :+1: , https://test.pypi.org/

kinow avatar May 26 '22 21:05 kinow