Python version policy: test all supported versions and update once a year
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
Direzione di ricerca
Start with HOWTOCONTRIBUTE.md and doc/ARCHITECTURE.md to define the yearly Python support policy, then inspect the CI workflow matrix and the README, Dockerfile, .devcontainer/devcontainer.json, and Update_Examples_Gallery.yml version settings. Check dependency support for Python 3.11–3.15 and document any version left out of CI. Done when the policy is documented, the recommended version is applied to the listed files, and CI passes across the supported matrix.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of #131.
Problem
CI tests only Python 3.13, and the README, the Dockerfile and the gallery workflow all use 3.13. There is no rule for when to move to a newer version or which versions are supported.
- Users run different versions (for example 3.10 on Ubuntu 22.04 and 3.12 on Ubuntu 24.04), but only one is tested
- The library release (#172) needs to declare
requires-python - The Dockerfile is pinned to
python:3.13.0, so it doesn't get the bug and security fixes of later 3.13.x releases
Expected change
- Write the policy in
HOWTOCONTRIBUTE.md(and refer to it fromdoc/ARCHITECTURE.md):- Supported versions: every Python version that hasn't reached its end of life. CI tests all of them
- Recommended version: the newest version minus one. The README, the Dockerfile, the devcontainer and the gallery workflow use it. The newest version is not recommended right after its release, because the dependencies (numpy, scipy, matplotlib, casadi, do-mpc) may not have wheels for it yet
- Yearly review in December or January, after the October release of Python: add the new version to CI once the dependencies support it, move the recommended version up by one, and drop versions that reached their end of life
- Apply it for this year:
- CI matrix (Linux, macOS, Windows): 3.11 to 3.15. A version that a dependency doesn't support yet stays out of the matrix, with a comment saying why
- Recommended version: 3.14 in the README,
Dockerfile(python:3.14, without a patch number),.devcontainer/devcontainer.jsonandUpdate_Examples_Gallery.yml
Done when
- The policy is in
HOWTOCONTRIBUTE.md - CI passes on every supported version in the matrix
- The README, the Dockerfile, the devcontainer and the gallery workflow use the recommended version
Related: #172 (requires-python of the package), #165 (book versions follow the same yearly cycle).
- Lingua principale
- Python
- Stelle
- 1.9k
- Fork
- 313
- Merge medio
- 1g 7h
- PR unite (30g)
- 21
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
- Nessuna 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 ShisatoYano/AutonomousVehicleControlBeginnersGuide
-
good first issue refactoring
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#129 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#99 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#98 ·
I maintainer di solito rispondono entro 1 giorno
-
Refresh README for first-time visitors and setupForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertadocumentation enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#88 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 47/100
ShisatoYano/AutonomousVehicleControlBeginnersGuide#190 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ShisatoYano/AutonomousVehicleControlBeginnersGuide
Issue simili
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Forse già presa @geyazheng l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
langchain-ai/langchain-aws#1469 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
b4b usability
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
fix(schedule): align list_tasks since cursor filter boundary from strict > to >=Forse già presa @bfs2021 l’ha presa oggi. Apertaagent-ready bug p2 schedule
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
allenporter/supernote#540 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
frazane/scoringrules#164 ·
I maintainer di solito rispondono entro 1 giorno