Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uv plugin should compile bytecode #954

Open
lengau opened this issue Jan 7, 2025 · 2 comments
Open

uv plugin should compile bytecode #954

lengau opened this issue Jan 7, 2025 · 2 comments
Labels
Enhancement New feature or request Triaged

Comments

@lengau
Copy link
Contributor

lengau commented Jan 7, 2025

What needs to get done

The uv plugin should compile Python bytecode in the virtual environment by setting UV_COMPILE_BYTECODE=1 in the environment.

(This also allows a user or application to override it if they don't want to do so.)

Why it needs to get done

The distributed package shouldn't have to compile the bytecode, especially for snaps, where the bytecode would have to be compiled on each run.

@lengau lengau added Enhancement New feature or request Triaged labels Jan 7, 2025
Copy link

Thank you for reporting your feedback to us!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3871.

This message was autogenerated

Copy link

Thank you for reporting your feedback to us!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3872.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Triaged
Projects
None yet
Development

No branches or pull requests

1 participant