Skip to content

Bump policyengine to >=3.2.1 for region seeding#117

Merged
anth-volk merged 1 commit intomainfrom
fix/fix-deploy-errors
Mar 10, 2026
Merged

Bump policyengine to >=3.2.1 for region seeding#117
anth-volk merged 1 commit intomainfrom
fix/fix-deploy-errors

Conversation

@anth-volk
Copy link
Contributor

Summary

  • Bump policyengine>=3.2.1 (was >=3.2.0) to include the policyengine.countries module
  • Region seeding (seed_regions.py) requires us_region_registry and uk_region_registry from this module

Fixes #116

Test plan

  • uv run python -c "from policyengine.countries.us.regions import us_region_registry" succeeds
  • uv run python -c "from policyengine.countries.uk.regions import uk_region_registry" succeeds
  • db-reset workflow passes Step 4 (seeding regions)

🤖 Generated with Claude Code

Region seeding fails with `ModuleNotFoundError: No module named
'policyengine.countries'` because the countries module (with
us_region_registry and uk_region_registry) was added in 3.2.1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@anth-volk anth-volk marked this pull request as ready for review March 10, 2026 23:05
@anth-volk anth-volk merged commit a565b5e into main Mar 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Region seeding fails: policyengine.countries module missing in 3.2.0

1 participant