Skip to content

Trust the setup reader when it finds no requirements#9019

Merged
abn merged 1 commit intopython-poetry:mainfrom
dimbleby:trust-setup-reader
Feb 25, 2024
Merged

Trust the setup reader when it finds no requirements#9019
abn merged 1 commit intopython-poetry:mainfrom
dimbleby:trust-setup-reader

Conversation

@dimbleby
Copy link
Copy Markdown
Contributor

follow up to #9000

the setup reader should now be failing if it is not confident about the answers that it is giving: so when it says that a package has no requirements we can believe it rather than assuming that we need to build that package to make sure.

gives a nice speed-up in the cases where it happens eg petname is a package out in the wild that has the necessary properties if you want to try it: on my computer poetry add --lock --no-cache petname goes from about 8 seconds to about 1 second

@abn abn force-pushed the trust-setup-reader branch from b01d767 to c317273 Compare February 25, 2024 16:07
@abn abn force-pushed the trust-setup-reader branch from c317273 to 5223b2b Compare February 25, 2024 19:59
@abn abn enabled auto-merge (rebase) February 25, 2024 19:59
@abn abn merged commit 459ec54 into python-poetry:main Feb 25, 2024
@dimbleby dimbleby deleted the trust-setup-reader branch February 25, 2024 20:11
@github-actions
Copy link
Copy Markdown

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 27, 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.

3 participants