-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
False positive mismatch in dependencies #1060
Comments
I believe this is the same issue as with #875, where the @iScrE4m In order to confirm my suspicions, could you provide the output of |
@iScrE4m @vphilippon Note also that |
@techalchemy I fixed it that way for now, but it still sucks a lot. One day we might not need docker-compose in the pipfile anymore and with removal, everything will start crashing because of no requests. @vphilippon Output of lock --clear--verbose: Locking [dev-packages] dependencies…
Using pip: -i https://pypi.python.org/simple
ROUND 1
Current constraints:
Finding the best candidates:
Finding secondary dependencies:
------------------------------------------------------------
Result of round 1: stable, done
Locking [packages] dependencies…
Using pip: -i https://pypi.python.org/simple
ROUND 1
Current constraints:
docker-compose
requests
Finding the best candidates:
found candidate docker-compose==1.17.1 (constraint was <any>)
found candidate requests==2.18.4 (constraint was <any>)
Finding secondary dependencies:
docker-compose==1.17.1 not in cache, need to check index
docker-compose==1.17.1 requires cached-property<2,>=1.2.0, docker-compose==1.17.1, docker<3.0,>=2.5.1, dockerpty<0.5,>=0.4.1, docopt<0.7,>=0.6.1, jsonschema<3,>=2.5.1, PyYAML<4,>=3.10, requests!=2.11.0,<2.12,>=2.6.1, six<2,>=1.3.0, texttable<0.10,>=0.9.0, websocket-client<1.0,>=0.32.0
requests==2.18.4 not in cache, need to check index
requests==2.18.4 requires certifi>=2017.4.17, chardet<3.1.0,>=3.0.2, idna<2.7,>=2.5, requests==2.18.4, urllib3<1.23,>=1.21.1
New dependencies found in this round:
adding ['cached-property', '<2,>=1.2.0', '[]']
adding ['certifi', '>=2017.4.17', '[]']
adding ['chardet', '<3.1.0,>=3.0.2', '[]']
adding ['docker', '<3.0,>=2.5.1', '[]']
adding ['docker-compose', '==1.17.1', '[]']
adding ['dockerpty', '<0.5,>=0.4.1', '[]']
adding ['docopt', '<0.7,>=0.6.1', '[]']
adding ['idna', '<2.7,>=2.5', '[]']
adding ['jsonschema', '<3,>=2.5.1', '[]']
adding ['pyyaml', '<4,>=3.10', '[]']
adding ['requests', '!=2.11.0,<2.12,==2.18.4,>=2.6.1', '[]']
adding ['six', '<2,>=1.3.0', '[]']
adding ['texttable', '<0.10,>=0.9.0', '[]']
adding ['urllib3', '<1.23,>=1.21.1', '[]']
adding ['websocket-client', '<1.0,>=0.32.0', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable
ROUND 2
Current constraints:
cached-property<2,>=1.2.0
certifi>=2017.4.17
chardet<3.1.0,>=3.0.2
docker<3.0,>=2.5.1
docker-compose==1.17.1
dockerpty<0.5,>=0.4.1
docopt<0.7,>=0.6.1
idna<2.7,>=2.5
jsonschema<3,>=2.5.1
PyYAML<4,>=3.10
requests!=2.11.0,<2.12,==2.18.4,>=2.6.1
six<2,>=1.3.0
texttable<0.10,>=0.9.0
urllib3<1.23,>=1.21.1
websocket-client<1.0,>=0.32.0
Finding the best candidates:
found candidate cached-property==1.3.1 (constraint was >=1.2.0,<2)
found candidate certifi==2017.11.5 (constraint was >=2017.4.17)
found candidate chardet==3.0.4 (constraint was >=3.0.2,<3.1.0)
found candidate docker==2.6.1 (constraint was >=2.5.1,<3.0)
found candidate docker-compose==1.17.1 (constraint was ==1.17.1)
found candidate dockerpty==0.4.1 (constraint was >=0.4.1,<0.5)
found candidate docopt==0.6.2 (constraint was >=0.6.1,<0.7)
found candidate idna==2.6 (constraint was >=2.5,<2.7)
found candidate jsonschema==2.6.0 (constraint was >=2.5.1,<3)
found candidate pyyaml==3.12 (constraint was >=3.10,<4)
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Could not find a version that matches requests!=2.11.0,<2.12,==2.18.4,>=2.6.1
Tried: 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.3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, 2.16.0, 2.16.1, 2.16.1, 2.16.2, 2.16.2, 2.16.3, 2.16.3, 2.16.4, 2.16.4, 2.16.5, 2.16.5, 2.17.0, 2.17.0, 2.17.1, 2.17.1, 2.17.2, 2.17.2, 2.17.3, 2.17.3, 2.18.0, 2.18.0, 2.18.1, 2.18.1, 2.18.2, 2.18.2, 2.18.3, 2.18.3, 2.18.4, 2.18.4 |
uh that doesn't look like it'd resolve to me |
@kennethreiz I have no issue resolving this with pip-tools. I'm pretty sure it's related to the issue I want to fix with my opened PR |
how can |
The only requirement is |
Because ==2.18.4 is a false pin introduced by pipenv. Look how early it's added, that's on the selection of the first candidate. |
What Nate said |
gotcha
…On Tue, Nov 21, 2017 at 8:02 PM, Vincent Philippon ***@***.*** > wrote:
What Nate said
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<https://github.com/kennethreitz/pipenv/issues/1060#issuecomment-346210554>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHUVQXgYXPzdBL1Xgg2hgjnH513SCJ2ks5s43KVgaJpZM4QcEGu>
.
|
@iScrE4m This is now fixed in master and will be part of the next release, hopefully in the next few days (cutting out a major version). Thank you for your report, patience, and using Pipenv! 👍 |
I'm fairly sure the installed version of requests should go through no problem:
Describe your environment
Ubuntu 17.04, python 3.5.3 inside of pipenv, pipenv 8.3.1
Expected result
I'd expect the lock to suceed with requests 2.11.1
Actual result
Dependencies are unresolved
Steps to replicate
doesn't happen with docker-compose alone
Pipfile under packages:
The text was updated successfully, but these errors were encountered: