precice / precice/python-bindings
Test package uploading to PyPI before releasing and creating a new version tag
Nessuno ha ancora preso questa issue.
- Lingua principale
- Cython
- Stelle
- 30
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Currently, we run the release workflow to upload the package to PyPI after creating a tag on GitHub, which is typically associated with a newly released version. If the release workflow fails, it is too late to make corrections since the release is complete and the tag has been created. Testing whether the release workflow works before actually releasing a new version would be helpful.
The PyPI Publish GitHub Action usage states that packages can be pushed to the instance TestPyPI. An additional workflow can be added which uploads the package to TestPyPI, to test the release workflow, and also the creation of distribution archives before releasing a new version
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia leggendo .github/workflows/release.yml e l’utilizzo di PyPI Publish GitHub Action per TestPyPI. Aggiungi un workflow che carichi il pacchetto e i suoi archivi di distribuzione su TestPyPI prima di una release reale. Il lavoro è completato quando il workflow può validare il packaging e la pubblicazione senza creare un nuovo tag di versione né pubblicare su PyPI.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github-actions, python
- Ambito
- ci-cd, devops, release
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 68/100