Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Upgrade simulation workers to PolicyEngine 6.2.3 for UK region filtering

Cerrado
#732 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
backend, devops

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PolicyEngine/policyengine-sim-api

Todos los issues de PolicyEngine/policyengine-sim-api

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.