Country smoke CI fails: the pinned policyengine-us 1.824.1 is no longer on PyPI
I maintainer di solito rispondono entro 2 giorni
Una pull request collegata è già stata integrata.
- #620 di @anth-volk — integrata
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 72/100
Direzione di ricerca
Inizia da .github/requirements/legacy-country-smoke.txt, che fissa policyengine-us, policyengine-uk e spm-calculator, e dal passaggio «Install Core and the legacy country smoke bundle» del workflow in .github/workflows. Cambia il pin di US in 2.42.13 e spm-calculator in 1.0.0.post1, lasciando invariato il pin di UK. È completato quando quel passaggio di installazione si risolve e gli otto job «Test Core and country packages» passano. La scelta di follow-up indicata nell'issue, tra mantenere il pin aggiornato o usare un intervallo, spetta ai maintainer.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What fails
All eight "Test Core and country packages" jobs fail at the step "Install Core and the legacy country smoke bundle", on every PR. uv reports:
Because there is no version of policyengine-us==1.824.1 and you require policyengine-us==1.824.1, we can conclude that your requirements are unsatisfiable.
The same jobs passed on #569 and #570 at 14:15 UTC on 2026-10-14 and failed on both at 22:28 UTC. Neither PR changes dependencies, and master installs the same bundle.
Why the pin was so old
.github/requirements/legacy-country-smoke.txt has pinned three releases since #546 (2026-09-09):
policyengine-us==1.824.1policyengine-uk==2.90.2spm-calculator==0.3.1
Before #546, the job installed the latest country packages unpinned. #546 pinned the releases current at the time to protect the job:
- spm-calculator's 1.x API was about to break US 1.824.1, which declared only
spm-calculator>=0.2.0; - the unpinned installs needed a
--no-depsworkaround on Python 3.13 and 3.14.
#546 planned a separately qualified canonical bundle for later, but none was added. The pin stayed at 1.824.1 while policyengine-us moved to 2.x.
Why it broke now
Old policyengine-us releases are deleted from PyPI as space is needed, and 1.824.1 has been deleted:
| Package | Releases on PyPI | Oldest kept |
|---|---|---|
| policyengine-us | 193 | 2026-05-12 |
| policyengine-uk | 533 | 2022 (2.90.2 is still available) |
Fix
Pin policyengine-us to its newest release, 2.42.13. Move spm-calculator to 1.0.0.post1, because US 2.42.13 requires spm-calculator>=1.0.0,<=1.0.0.post1. The UK pin is unchanged.
Follow-ups
- The US pin will break again. Any exact policyengine-us pin stops resolving once that release is deleted. Two options:
- keep the pin current, for example with a scheduled bump PR;
- pin a range such as
policyengine-us>=2.42,<3. That always installs a release that exists, at some cost to reproducibility. #546's original hazard no longer applies, because US 2.x bounds spm-calculator itself.
- The names still say "legacy". The requirements file and the workflow step are named for a legacy bundle, although the bundle now holds the current US release.
- Lingua principale
- Python
- Stelle
- 22
- Fork
- 30
- Merge medio
- 2g 17h
- PR unite (30g)
- 26
Preparare l'ambiente
- Nessun Dockerfile né 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 PolicyEngine/policyengine-core
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
PolicyEngine/policyengine-core#605 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PolicyEngine/policyengine-core#549 ·
I maintainer di solito rispondono entro 2 giorni
-
`restore_simulation` silently drops memberless group entitiesForse già presa @Adelagric l’ha presa 36 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PolicyEngine/policyengine-core#547 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
PolicyEngine/policyengine-core#621 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
PolicyEngine/policyengine-core#618 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di PolicyEngine/policyengine-core
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
EchoTools/nevr-runtime#651 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend rt sev-3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
noontide-co/mainbranch#1211 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adaptersApertatriage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
dbt-labs/dbt#16784 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno