-
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
Implement step 1 in resolver rollout process #8513
Comments
#8530 implements this.
To me, this means stop handling (and accepting) that like any other command line option. In other words, it would look something like: $ pip install --random-non-existent-option=whatever
Usage:
pip install [options] <requirement specifier> [package-index-options] ...
pip install [options] -r <requirements file> [package-index-options] ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...
no such option: --random-non-existent-option These seem a bit... contradictory to the last bullet's intent, so I've gone ahead and implemented specific handling for |
I'm going to break this out into a separate PR(s?). I take "problems" to mean "change in behavior". As with any change, we can't have a 100% true-positive coverage but I think we can get pretty close with minimal false-negatives. @pfmoore @uranusjr Need a bit of help here... As far as I can tell, the main areas where the two resolvers' behavior will differ are:
Am I missing something, or are these the only "broad" areas where the behavior differs? |
Those are the two I can think of. I'll try to review over the weekend - but this week's been really busy so I have a lot to catch up on, so I'd say add those two and we can always add extra ones as and when we spot them. |
@pradyunsg please let me know once those PRs are in progress and we can help you with the warning text for each use case |
@nlhkabu there's 2 PRs and 1 issue cross-linked to this issue. Each PR is adding an error message that could use a review (I merged them eagerly since it's easy enough to iterate in a follow up PR). The linked open issue is where I'd need inputs, specifically around what the exact messages should be in the situations outlined there. |
ok thanks @pradyunsg - just read #8546 and realised that's where you want our input :) |
on an existing install made without the new resolver, is there a simple way to check the new resolver is happy ? |
A simple |
The only thing left for this is updating the error message. This gets closed along with #8546. |
As per #8371 (comment):
We need to:
pip install X
for users who are likely to experience problems with the new resolver--use-feature=2020-resolver
--unstable-feature=resolver
--unstable-feature=resolver
- pointing the users to use--use-feature=2020-resolver
instead.UX TODO: @ei8fdb and I can provide the text for the error and warning messages.
The text was updated successfully, but these errors were encountered: