Skip to content

Rewrite /bin/sh-wrapped entrypoints in uv run --with - #22909

Draft
kidskoding wants to merge 1 commit into
astral-sh:mainfrom
kidskoding:fix/22323-copy-entrypoint-sh-wrapper
Draft

kidskoding wants to merge 1 commit into
astral-sh:mainfrom
kidskoding:fix/22323-copy-entrypoint-sh-wrapper

Conversation

@kidskoding

Copy link
Copy Markdown

Summary

[What breaks: uv run --with when the project's Python path is long or has a space.]

[Why: which shebang form copy_entrypoint didn't recognise.]

[What you changed: the two parts of the fix.]

[One line about uv-dev#2584.]

Closes #22323

Test Plan

[The test you added and what it sets up.]

[What you ran locally and that it passed.]

This branch has not been deployed

No deployments
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.

uv run --with packages invisible to project entrypoints when the venv path forces the /bin/sh shebang wrapper

1 participant