CI: add Python 3.13 to the backend matrix (the SSO test CA needs key identifiers)
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
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
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
- In
test_sso.py, add aSubjectKeyIdentifierto the test CA, andAuthorityKeyIdentifier(from the CA) plusSubjectKeyIdentifierto the server certificate. - Add
'3.13'to the backend job'smatrix.python.
Acceptance criteria
-
python -m pytest Backend/tests/test_sso.pypasses 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
- Include un Dockerfile o un file Docker Compose
- Ha un 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 PashaCore/POps
-
documentation good first issue türkçe
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue türkçe
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue türkçe
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue türkçe
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue türkçe
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di PashaCore/POps
Issue simili
-
bug needs-triage priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
yeongseon/azure-functions-logging-python#583 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation needs-triage priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
yeongseon/azure-functions-validation-python#546 ·
I maintainer di solito rispondono entro 1 giorno
-
PHP workflow streaming requests buffer the full SSE responseForse già presa @Winoren l’ha presa oggi. Apertareview: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
langgenius/dify#44270 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
P4: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
jeffknupp/association#523 ·
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
DarkStarSystems/pcons#229 ·
I maintainer di solito rispondono entro 1 giorno