Skip to content

Conversation

@desertaxle
Copy link
Member

closes https://github.com/PrefectHQ/prefect/actions/runs/20376019550/job/58554957152

Summary

  • Remove module-level import uv which causes the test to fail when the Docker container imports the test file to run the flow
  • Replace uv.find_uv_bin() with "uv" since uv is already on PATH

The test_docker_deploy integration test was failing because when the Docker container imported the test file to execute flow_that_needs_pandas, the module-level import uv failed with ModuleNotFoundError: No module named 'uv'. The uv module is only available on the host, not inside the container.

🤖 Generated with Claude Code

Remove module-level `import uv` which causes the test to fail when
the Docker container imports the test file to run the flow. The uv
module is not available in the container, only on the host.

Replace `uv.find_uv_bin()` with just `"uv"` since uv is already on PATH.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@desertaxle desertaxle marked this pull request as ready for review December 19, 2025 18:14
@desertaxle desertaxle merged commit f14ad4d into main Dec 19, 2025
20 of 22 checks passed
@desertaxle desertaxle deleted the fix-docker-deploy-uv-import branch December 19, 2025 18:16
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.

3 participants