✨ Enhance unpack scripts with uv auto-setup, venv reuse, and interactive python discovery#8
✨ Enhance unpack scripts with uv auto-setup, venv reuse, and interactive python discovery#8entr0pia wants to merge 3 commits into
Conversation
…ractive python discovery
|
Hi, thanks for your contribution! I would like to gather some community feedback on this PR. This PR assumes that everyone wants to use uv for deployment, right? I currently prefer not to use uv in the deployment by default. Should deployment with uv be the new default? |
…dd global python cache
|
I've updated the PR to make uv bundling optional during the packing phase (disabled by default). The unpacking scripts now follow a progressive enhancement strategy: they will still prioritize using uv (system-installed or bundled) if available for faster deployment, but will gracefully fallback to standard pip/venv if uv is not found. This ensures a 'clean' default while keeping the performance benefits accessible. |
...ractive python discovery
Description
This PR significantly improves the installation experience and performance of the offline bundles generated by uv-pack. Key enhancements include:
automatically install it from the bundled wheel to enable high-speed installation in air-gapped environments.
reducing deployment time.
interpreters and interactively prompt the user for confirmation (defaulting to Y).
and proceeds directly to dependency synchronization.
guides match the new implementation.
Related Issue
N/A
Type of Change
Checklist