Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CI: add Python 3.13 to the backend matrix (the SSO test CA needs key identifiers)

Aperta Adatta ai principianti
#153 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
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cryptography, github-actions, python
Ambito
ci-cd, testing

Direzione di ricerca

Leggi in Backend/tests/test_sso.py, intorno alla riga 160, come vengono creati la CA di test e il certificato del server, poi controlla la voce matrix.python in .github/workflows/ci.yml. Aggiungi le estensioni dell’identificatore di chiave specificate e includi Python 3.13 nella matrice backend, lasciando lint su 3.12. Esegui python -m pytest Backend/tests/test_sso.py con Python 3.10, 3.12 e 3.13; il lavoro è completato quando i test passano e la verifica rigorosa rimane abilitata.

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

Descrizione

good first issue

Context

The backend CI job runs on Python 3.12 (target) and 3.10 (oldest supported), see matrix.python in .github/workflows/ci.yml. Python 3.13 turns on ssl.VERIFY_X509_STRICT by default, and Backend/tests/test_sso.py fails there: the test CA it builds with cryptography (around line 160) has no Subject Key Identifier, and the server certificate it signs has no Authority Key Identifier, which strict verification requires.

What to do

  1. In test_sso.py, add a SubjectKeyIdentifier to the test CA, and AuthorityKeyIdentifier (from the CA) plus SubjectKeyIdentifier to the server certificate.
  2. Add '3.13' to the backend job's matrix.python.

Acceptance criteria

  • python -m pytest Backend/tests/test_sso.py passes on Python 3.13 and still on 3.10 and 3.12.
  • The CI matrix has 3.10, 3.12 and 3.13; lint stays on 3.12 only (as the comment above the matrix says).
  • The test does not turn strict verification off; the certificates are made correct instead.
  • If any other test fails on 3.13, list it in the pull request (fixing it can be a separate issue).

No Windows machine or real directory server is needed; the test starts its own.

Lingua principale
Python
Stelle
1
Fork
2
Merge medio
8h 12m
PR unite (30g)
140

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 PashaCore/POps

Tutte le issue di PashaCore/POps

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.