-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Impossible resolution for semingly resolvable requirements #11009
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
Comments
Facing same issue :-( |
Exactly the same as listed above with the same requirements? Or do you have different requirements and therefore could provide different steps to reproduce? I believe this issue is/was a reporting issue, the provided requirements are impossible to resolve but pop doesn't clearly report why. |
I posted a similar issue here: ( In my case the problem was that no wheel was available for the required platform (e.g. windows/linux) - for me this was due to using Not sure if that is the same cause as for the OP, but either way pip is not giving a correct (or helpful) message here, because there aren't any "conflicting dependencies", just a missing wheel. I guess this is similar conceptually to #6526 although a different code path (given substantially different output). |
I have managed to install both libraries by themselves with versions that fulfil the requirements. ❯ pip show billiard
Name: billiard
Version: 3.6.4.0
Summary: Python multiprocessing fork with improvements and bugfixes
Home-page: https://github.com/celery/billiard
Author: R Oudkerk / Python Software Foundation
Author-email: [email protected]
License: BSD
Location: /home/francis/dev/miniconda/envs/weaver-py37/lib/python3.7/site-packages
Requires:
Required-by: celery, weaver
❯ pip show celery
Name: celery
Version: 5.2.7
Summary: Distributed Task Queue.
Home-page: http://celeryproject.org
Author: Ask Solem
Author-email: [email protected]
License: BSD
Location: /home/francis/dev/miniconda/envs/weaver-py37/lib/python3.7/site-packages
Requires: billiard, click, click-didyoumean, click-plugins, click-repl, kombu, pytz, vine
Required-by: pyramid-celery, weaver |
Seems there is some improvement in the original error message since you originally posted, either because of improvements in Pip or improvements in the real world dependencies. I just attempted your original requirement now on the latest version of Pip, on Ubuntu, using Python 3.7. The full Error message I got was:
The issue appears to be This seems reasonable? |
@notatallshaw |
This specific issue was resolved. Please do open issues if you find problems with dependency resolution, there are known issues being worked on, and more examples are always helpful. |
Description
My requirements specify the following dependencies:
Pip eventually reports the following and fails installation:
I'm not sure if this is related to #10873 since an extra is also involved in my case.
If I remove
billiard
entirely to letcelery
dependencies resolve it by itself, the installation instead times out due to too many combinations being explored.I have also tried with other variants, such as
billiard>=3
,billiard<4.0,>=3.6.4.0
(exactly whatcelery
asks for) and so on.No alternative seem to work. Pip always consider them as conflicting.
Expected behavior
There shouldn't be any conflict / impossible resolution for valid version ranges.
pip version
22.0.4
Python version
3.6, 3.7, possibly following 3.x as well
OS
Ubuntu 20.04
How to Reproduce
Pip install requirements.txt file with the following:
Full requirements file I'm actually using: https://github.com/crim-ca/weaver/blob/e56990e3b34814ae2b4882045eda1b5374b64584/requirements.txt
Output
pip.log
Code of Conduct
The text was updated successfully, but these errors were encountered: