Upgrade simulation workers to PolicyEngine 6.2.3 for UK region filtering
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #733 de @anth-volk — fusionado
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 15/100
Línea de trabajo
The change is a policyengine pin in both dependency locations: the simulation executor's lockfile and the Modal image group. Check that the published release exists before editing, since PyPI currently returns 404 for 6.2.3. Done means the pin is updated, uv lock --upgrade-package policyengine regenerates the lockfile, and the executor tests pass. Linked PR #733 already implements this, so coordinate there rather than starting a parallel change.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Require the corrected UK country filtering from PolicyEngine/policyengine.py#565 (tracking issue PolicyEngine/policyengine.py#564) in the simulation executor and its Modal image. The expected next patch release is policyengine==6.2.3; PyPI currently publishes 6.2.2 and returns HTTP 404 for 6.2.3.
Pin policyengine[models]==6.2.3 in both dependency locations. Scotland, Wales, and Northern Ireland must select the stored household region values SCOTLAND, WALES, and NORTHERN_IRELAND. England selects the nine English regions. The worker must not require a raw household country column.
Open the dependency PR now. Dependency-resolution failure because 6.2.3 does not yet exist is expected. Keep the actual existing lockfile until the package is published; do not invent release artifact URLs or hashes, use a Git checkout as a substitute, or weaken the version pin.
Before merge: confirm the published release contains the upstream fix, regenerate the executor lockfile with uv lock --upgrade-package policyengine, run its tests and image checks, and verify the same requirement applies to the Modal image group. If another release takes 6.2.3 first, update the proposed pin to the actual fixed release.
Implementation PR: #733. After merge: deploy and qualify the corrected simulation worker and confirm the gateway advertises the fixed bundle before API v1 restores the Scotland population test in PolicyEngine/policyengine-api#3877 (issue PolicyEngine/policyengine-api#3876). Temporary test removal: PolicyEngine/policyengine-api#3875 (issue PolicyEngine/policyengine-api#3874).
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 1 d 4 h
- PR fusionados (30 d)
- 26
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PolicyEngine/policyengine-sim-api
-
Integration tests fail due to missing UV virtual environment setupPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
PolicyEngine/policyengine-sim-api#314 ·
Los mantenedores suelen responder en 1 día
-
Update policyengine to 6.3.2Posiblemente ocupada @policyengine la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 25/100
PolicyEngine/policyengine-sim-api#770 ·
Los mantenedores suelen responder en 1 día
-
Update policyengine to 6.3.1Posiblemente ocupada @policyengine la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 25/100
PolicyEngine/policyengine-sim-api#768 ·
Los mantenedores suelen responder en 1 día
-
budget.households is the sum of squared household weightsPosiblemente ocupada @PavelMakarchuk la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 20/100
PolicyEngine/policyengine-sim-api#766 ·
Los mantenedores suelen responder en 1 día
-
Run ruff check in CI with the first group of rule familiesPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
PolicyEngine/policyengine-sim-api#764 ·
Los mantenedores suelen responder en 1 día
Todos los issues de PolicyEngine/policyengine-sim-api
Issues similares
-
bug difficulty:2 good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
MakazhanAlpamys/Soup#1865 ·
Los mantenedores suelen responder en 1 día
-
area: agents area: docs good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
openapi/gknowledge#23 ·
-
useless-suppression reported for deprecated-* messages that should be exemptPosiblemente ocupada @adityasinha-ghub la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
pylint-dev/pylint#11656 ·
Los mantenedores suelen responder en 1 día
-
area:provisioning effort:S priority:P2 provider:local-libvirt risk:daytime-only status:in-progress type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
randomparity/kdive#3203 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
get() for StrEnumPosiblemente ocupada @FeJo5952 la tomó hoy. Abiertogood first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
collective/icalendar#1921 · 1 comentario ·
Los mantenedores suelen responder en 1 día