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

avoid unwanted work during install #8986

Merged

Conversation

dimbleby
Copy link
Contributor

@dimbleby dimbleby commented Feb 18, 2024

#8984 got me wondering what the mis-typed code was even for.

It turns out that it is to remove direct_url.json files that pip includes because we install from the poetry cache. But this is irrelevant with modern installation.

Saves about half a second - 10% or so - on my computer when installing poetry itself. Presumably the savings are roughly proportional to the size of the packages being installed.

modern installation doesn't use pip, so there is no need to remove the
files that it would have added
@radoering radoering merged commit 0eedea4 into python-poetry:master Feb 18, 2024
20 checks passed
@dimbleby dimbleby deleted the unneeded-work-on-direct-url-json branch February 18, 2024 16:51
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants