Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

GH Actions not able to upload to PYPI

Abierto
#189 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
github-actions, python
Área
ci-cd, release

Línea de trabajo

Comienza con la ejecución enlazada de GitHub Actions e inspecciona el paso del workflow que construye y sube el wheel. Compara la etiqueta de plataforma linux_x86_64 generada con las etiquetas compatibles de PyPI y prueba un cambio de empaquetado propuesto contra test.pypi.org; se considera terminado cuando el wheel se sube correctamente sin el error 400.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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/

Lenguaje dominante
Python
Estrellas
498
Forks
178
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NCAR/wrf-python

Todos los issues de NCAR/wrf-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.