Make it easier to retry in upload-pypi script
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 20.6k
- Forks
- 3.3k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
Recently the misc/upload-pypi.py script failed several times while I was uploading a release. It succeeded in uploading some wheels, but it failed at some point. It's possible to run it multiple times to work around the issue, but this is not ideal since it repeats all the work. Here some ideas about how to make this better:
- If upload fails, ask if the user wants to try uploading again. This would help by not having to download the wheels again.
- If upload fails, ask if the user wants to try uploading again, but only upload the wheels which haven't been successfully uploaded so far.
- Automatically retry, without asking for the pypi token/secret again.
Any of these would be an improvement over the current situation, but the first option might not help much if the script will just repeatedly fail at some point.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza por misc/upload-pypi.py y sigue cómo el script sube wheels, gestiona los fallos y obtiene el token de PyPI. Aclara con los maintainers qué comportamiento de reintento se debe implementar; al terminar, una release fallida debería poder reanudarse sin repetir el trabajo que ya tuvo éxito ni solicitar credenciales de nuevo innecesariamente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- release
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100