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

Disable bytecode optimization during wheel installation #949

Merged
merged 2 commits into from
Dec 27, 2022

Conversation

groodt
Copy link
Collaborator

@groodt groodt commented Dec 27, 2022

Disables bytecode optimization when wheels are installed.

I've noticed some occasional failures in CI, which involve __pycache__. I believe this could be coming from bytecode compilation of third-party wheels. I think disabling this behaviour until there is a better understanding of the desired behaviour is a good idea.

The installer library is able to compile bytecode upon installation. https://buildkite.com/bazel/rules-python-python/builds/3864#01854d9d-9c71-4587-a8f4-86e6718c38e7 By default, level 0 is used (generates .pyc).

@f0rmiga f0rmiga merged commit 9a9c844 into main Dec 27, 2022
@f0rmiga f0rmiga deleted the groodt-disable-bytecode-optimization branch December 27, 2022 03:39
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