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

detect resolution interdependencies #32

Open
n2ygk opened this issue Feb 1, 2021 · 0 comments
Open

detect resolution interdependencies #32

n2ygk opened this issue Feb 1, 2021 · 0 comments

Comments

@n2ygk
Copy link

n2ygk commented Feb 1, 2021

I'm not sure this can even be figured out by pur, but when I ran it against my requirements and then did a pip install this dependency error happened. I have to say it's not a big deal to manually fix these but an automated detection of this kind of dependency conflict would be great!

INFO: pip is looking at multiple versions of arrow to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 17) and arrow==0.17.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested arrow==0.17.0
    ics 0.7 depends on arrow<0.15 and >=0.11

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

and then after manually fixing that:

ERROR: Cannot install -r requirements.txt (line 37) and idna==3.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested idna==3.1
    requests 2.25.1 depends on idna<3 and >=2.5

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Manually fixing that got me up to date with those two exceptions which is way better than the old way of pinning versions once and then never updating!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants