Skip to content

Use uv for Modal package overlays#1532

Merged
anth-volk merged 1 commit into
mainfrom
codex/use-modal-uv-pip-install
May 15, 2026
Merged

Use uv for Modal package overlays#1532
anth-volk merged 1 commit into
mainfrom
codex/use-modal-uv-pip-install

Conversation

@anth-volk
Copy link
Copy Markdown
Collaborator

Fixes #1531

Summary

  • Replace the Modal worker image package-version overlay from pip_install to uv_pip_install so it works after uv_sync creates the uv-managed environment.
  • Add regression coverage that the worker image package overlay path uses Modal's uv-native install layer.

Testing

  • uv run pytest tests/unit/modal_release/test_image_setup.py tests/unit/modal_release/test_worker_app.py
  • uv run ruff check policyengine_household_api/modal_release/images.py tests/unit/modal_release/test_image_setup.py tests/unit/modal_release/test_worker_app.py
  • uv run ruff format --check policyengine_household_api/modal_release/images.py tests/unit/modal_release/test_image_setup.py tests/unit/modal_release/test_worker_app.py

@anth-volk anth-volk marked this pull request as ready for review May 15, 2026 20:55
@anth-volk anth-volk merged commit 12a3dd5 into main May 15, 2026
5 checks passed
@anth-volk anth-volk deleted the codex/use-modal-uv-pip-install branch May 15, 2026 20:56
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.

Use uv for Modal country package overlays

1 participant