Automate more of the Python upgrade
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- github-actions, python
- Ambito
- ci-cd, devops, documentation
Direzione di ricerca
Leggi .github/workflows/new_python.yml per comprendere l’attuale checklist per l’upgrade di Python, quindi esamina renovate.json e decision 0022-spec-0.html. Decidi quali passaggi di supporto e Deprecation debbano essere automatizzati, registra tale decisione nel documento collegato e implementa l’automazione concordata oppure suddividi il lavoro più complesso in una nuova Issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When a new python version is released we currently have the checklist in https://github.com/DiamondLightSource/python-copier-template/blob/main/.github/workflows/new_python.yml. Many of these steps could be done automatically by renovate e.g. something like:
{
"regexManagers": [
{
"fileMatch": ["^\\.github/workflows/.*\\.ya?ml$"],
"matchStrings": [
"python-version:\\s*\
\[(?<currentVersions>[^\\]
]+)\\]
"
],
"datasourceTemplate": "python",
"depNameTemplate": "python",
"versioningTemplate": "pep440"
}
]
}
in the renovate.json should update the versions under test.
There are probably differing opinions of how much of this we do automatically, semi-automatically or manually based on risk. My preference would be to split the move into two steps:
- Adding the new version as supported - e.g. adding it to the versions under test and to the
classifiers. I would say if the tests pass then merge this w/o human input - Deprecating the old one. I think this does need human intervention as it's risky and there may be valid reasons it's hard. However, we can probably still get renovate to make the PR for it.
Acceptance Criteria
- We decide how much of the process should be automated
- The decision is written in https://diamondlightsource.github.io/python-copier-template/main/explanations/decisions/0022-spec-0.html
- We automate the agreed upon steps (or make a new issue if hard)
- Lingua principale
- Jinja
- Stelle
- 28
- Fork
- 10
- Merge medio
- 3g 4h
- PR unite (30g)
- 4
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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.
Altre issue di DiamondLightSource/python-copier-template
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Ignore renovate updates for ubuntu and ubuntu-devcontainerForse già presa @KayMohh l’ha presa 31 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
-
documentation good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
Tutte le issue di DiamondLightSource/python-copier-template
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
canonical/chrony-operators#43 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Netcracker/qubership-authz-agent#416 ·
I maintainer di solito rispondono entro 1 giorno
-
docker easy first-contributor first-contributors good first issue help wanted nodejs up-for-grabs
Difficoltà 1/5 1-3 ore Idoneità per principianti 94/100
fork-commit-merge/fork-commit-merge#8715 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Netcracker/qubership-core-base-images#400 ·
I maintainer di solito rispondono entro 1 giorno
-
ci: coverage job fails on app-only pull requests (single artifact extracts without its folder)Apertabug effort:S P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
nightscout/nocturne#4821 ·
I maintainer di solito rispondono entro 1 giorno