ci: test on Python 3.14 and add the classifier

Aperta Adatta ai principianti
#340 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python, yaml
Ambito
ci-cd

Direzione di ricerca

Inizia da .github/workflows/ci.yml: aggiungi "3.14" alla lista python-version nel job test, poi aggiorna i casi speciali matrix.python-version == '3.13' intorno alle righe 98-103 a 3.14. Esegui grep -rn "3.13" .github/ per esaminare caso per caso gli altri riferimenti. Aggiungi anche il classificatore Programming Language :: Python :: 3.14 in pyproject.toml e una voce nel CHANGELOG sotto [Unreleased]. È completato quando la matrice CI include 3.14 e ogni errore riscontrato solo su 3.14 viene segnalato qui invece di essere saltato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

beginner enhancement good first issue roadmap

Python 3.14 has been out for a year, but the CI test matrix (.github/workflows/ci.yml, python-version: ["3.10", "3.11", "3.12", "3.13"]) and the Programming Language :: Python :: 3.x classifiers in pyproject.toml stop at 3.13. Users on 3.14 can install the package (requires-python = ">=3.10" has no upper bound) but nothing tells them it works.

What to do

  1. Add "3.14" to the python-version list in the test job.
  2. Move the "newest leg" special cases that are keyed on matrix.python-version == '3.13' (ci.yml lines 98, 103 and 110 as of e410de6) to 3.14, so coverage and the extra steps run on the newest Python. Check every other 3.13 reference in the workflows (grep -rn "3.13" .github/, which also finds docs.yml) and decide case by case. Leave the pinned single-version jobs (3.10 dependency floors, 3.11/3.12 lint and build jobs) alone unless a step needs 3.14.
  3. Add the Programming Language :: Python :: 3.14 classifier.
  4. If a test fails only on 3.14, report it in this issue rather than skipping it; a real incompatibility should be fixed, not hidden.

Add a CHANGELOG entry under [Unreleased].

Lingua principale
Python
Stelle
11
Fork
23
Merge medio
1g 6h
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PhilanthroPy-Project/PhilanthroPy

Tutte le issue di PhilanthroPy-Project/PhilanthroPy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.