-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix PackageFinder to respect allow_all_prereleases #5928
Conversation
Add test and news file
This reverts commit 4dfb3ba.
This supercedes #5927, right? |
@micheleAlberto I believe this is currently failing due to linting. Can you run |
Not just linting. Use
|
I wonder if this is the correct fix. pip can already exclude prereleases correctly when you pip install/download/etc., the only one that behaves incorrectly is the check for latest pip. This should be fixed by modifying how |
The comments by @uranusjr seem valid. @micheleAlberto, do you have any reply / do you agree? |
Hello! I am an automated bot and I have noticed that this pull request is not currently able to be merged. If you are able to either merge the |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Fix 'PackageFinder.find_all_candidates' to respect 'allow_all_prereleases'
Closes #5175
This is another PR following #5927 to address comments raised by @benoit-pierre to ensure that if there is a pre-release in the requirements then prerelease packages are allowed to be installed.