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

Do not force recompile pyc files #2642

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

hauntsaninja
Copy link
Contributor

Helps with #2637

@charliermarsh charliermarsh added the performance Potential performance improvement label Mar 24, 2024
# doesn't matter much for them, as pip only compiles newly installed files.
force = False
if invalidation_mode != py_compile.PycInvalidationMode.TIMESTAMP:
# Note that compileall has undesirable, arguably buggy behaviour. Even if invalidation_mode
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charliermarsh charliermarsh merged commit a6602ad into astral-sh:main Mar 25, 2024
31 checks passed
@hauntsaninja hauntsaninja deleted the uv-pyc-compile branch March 25, 2024 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Potential performance improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants