-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies. #209
Comments
|
everytime I try to install any new package it fails same as above and then after that i've to run |
@ashishmohite I recommend to give specific $ pipenv install black==18.9b0
Installing black==18.9b0…
Adding black to Pipfile's [packages]…
✔ Installation Succeeded
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✔ Success!
Updated Pipfile.lock (ae2883)!
Installing dependencies from Pipfile.lock (ae2883)…
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 5/5 — 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
$ pipenv lock
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✔ Success!
Updated Pipfile.lock (ae2883)! If you run |
Kind of ironic that the tool that wants to set an opinionated standard for code format does not follow the opinionated standard for version numbers. |
It follows another opinionated standard for version numbers. |
@hugovk Calver would not be a problem for pipenv; 19.3.0 or 19.3.1.0 (with b=1) would work just fine. Adding letters into the version number (as in 19.3b0) causes the problem, because those are traditionally used for alphas, betas, pre-releases, and other specialized versions, which the average user does not want, and are therefore not picked by pipenv by default, rightfully so. I'm not sure what the rationale behind using letters instead of digits is. In any case, it causes precisely what black wants to avoid: Because somebody made a possibly justified, but very unusual decision, everybody has to understand & deal with that special snowflake project. |
Black is still in beta, the b0 is a text tag modifier. A stable release is due out soon. Maybe report it to pipenv? A pipenv workaround is |
I'll chime in to say that this also breaks
|
So the problem is now clear to me. Looks like the pipenv does not install what it considers to be "Pre-releases" versions of a package, and for some reason the package Another option is to manually specify one of the pre-release versions in your |
The text was updated successfully, but these errors were encountered: