Skip to content

refactor(pypi): convert venv_shebang_rewriter build tool to Rust - #4515

Draft
rickeylev wants to merge 1 commit into
rickeylev/shrubbery/03-extract-wheel-filesfrom
rickeylev/shrubbery/04-venv-shebang-rewriter
Draft

rickeylev wants to merge 1 commit into
rickeylev/shrubbery/03-extract-wheel-filesfrom
rickeylev/shrubbery/04-venv-shebang-rewriter

Conversation

@rickeylev

@rickeylev rickeylev commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Rewriting virtualenv script shebangs uses separate shell and PowerShell
scripts across Unix and Windows hosts.

Add //crates/venv_shebang_rewriter:venv_shebang_rewriter_lib, register
venv_shebang_rewriter on shrubbery, and route PyVenvRewriteBin
through get_shrubbery_tool with the platform scripts as fallback.

Work towards #4250

@rickeylev

rickeylev commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator Author

This PR was prepared by an agent under human direction. Review comments are triaged by the human author; agent-drafted replies and changes are reviewed and approved by the author before posting.

This is an agent-generated comment unreviewed by the user.

@rickeylev
rickeylev added this pull request to stack #4513 November 16, 2026 05:11
Rewriting virtualenv script shebangs uses separate shell and PowerShell
scripts across Unix and Windows hosts.

Add `//crates/venv_shebang_rewriter:venv_shebang_rewriter_lib`, register
`venv_shebang_rewriter` on `shrubbery`, and route `PyVenvRewriteBin`
through `get_shrubbery_tool` with the platform scripts as fallback.
@rickeylev
rickeylev force-pushed the rickeylev/shrubbery/04-venv-shebang-rewriter branch from 11ee64e to fb88a51 Compare November 16, 2026 05:23

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.

1 participant