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

ResolutionImpossible wrong message if package doesn't exist #11569

Open
1 task done
deeTEEcee opened this issue Nov 2, 2022 · 1 comment
Open
1 task done

ResolutionImpossible wrong message if package doesn't exist #11569

deeTEEcee opened this issue Nov 2, 2022 · 1 comment
Labels
C: constraint Dealing with "constraints" (the -c option) C: dependency resolution About choosing which dependencies to install C: error messages Improving error messages type: enhancement Improvements to functionality

Comments

@deeTEEcee
Copy link

deeTEEcee commented Nov 2, 2022

Description

I have a requirements.txt file with moto==4.0.9 and constraints file with responses==0.23.0.
When I try to install with pip install -r <req> -c <constraints>, it leads to:

The conflict is caused by:
    moto 4.0.9 depends on responses>=0.13.0
    The user requested (constraint) responses==0.23.0
...
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

The reason for that being that the responses==0.23.0 doesn't exist. The latest is currently 0.22.0.

Expected behavior

I would expect pip to just tell me the package doesn't exist.

pip version

22.0.4 (Happens on latest version too)

Python version

3.7.12

OS

Macbook M1 Pro (Happens on Linux too)

Output

No response

Code of Conduct

@deeTEEcee deeTEEcee added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Nov 2, 2022
@cburroughs
Copy link

22.0.4 (Happens on latest version too)

To be explicit, this behavior still occurs on 23.2.1.

@ichard26 ichard26 added type: enhancement Improvements to functionality C: dependency resolution About choosing which dependencies to install C: constraint Dealing with "constraints" (the -c option) C: error messages Improving error messages and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: constraint Dealing with "constraints" (the -c option) C: dependency resolution About choosing which dependencies to install C: error messages Improving error messages type: enhancement Improvements to functionality
Projects
None yet
Development

No branches or pull requests

3 participants