-
-
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
pipenv lock broken in 11.x #1677
Comments
https://www.python.org/dev/peps/pep-0440/#pre-release-spelling - we use the |
This might be a valid regression. |
We made some changes recently to this code that greatly increases our capabilities for private PyPI servers. |
I've just encountered this as well - after updating pipenv.
|
{'implementation_name': 'cpython',
Contents of {
"_meta": {
"hash": {
"sha256": "f4c70177c89354439b29248c18f2906ff6c09d397c5682bfa1d2aba03cb9a6c5"
},
"pipfile-spec": 6,
"requires": {
"python_version": "2.7"
},
"sources": [
{
"name": "pypi",
"url": "https://pypi.python.org/simple",
"verify_ssl": true
}
]
},
"default": {
"amqp": {
"hashes": [
"sha256:4e28d3ea61a64ae61830000c909662cb053642efddbe96503db0e7783a6ee85b",
"sha256:cba1ace9d4ff6049b190d8b7991f9c1006b443a5238021aca96dd6ad2ac9da22"
],
"version": "==2.2.2"
},
"billiard": {
"hashes": [
"sha256:1d7b22bdc47aa52841120fcd22a74ae4fc8c13e9d3935643098184f5788c3ce6",
"sha256:abd9ce008c9a71ccde2c816f8daa36246e92a21e6a799831b887d88277187ecd"
],
"version": "==3.5.0.3"
},
"celery": {
"hashes": [
"sha256:1954a224805f3835e5b6f5998ec9fe51db3413cc49e59fc720d314c7913427cf",
"sha256:6ced63033bc663e60c992564954dbb5c84c43899f7f1a04b739957350f6b55f3"
],
"version": "==3.1.25"
},
"kombu": {
"hashes": [
"sha256:01f0da9fe222a2183345004243d1518c0fbe5875955f1b24842f2d9c65709ade",
"sha256:4249d9dd9dbf1fcec471d1c2def20653c9310dd1a217272d77e4844f9d5273cb"
],
"version": "==4.1.0"
},
"pytz": {
"hashes": [
"sha256:07edfc3d4d2705a20a6e99d97f0c4b61c800b8232dc1c04d87e8554f130148dd",
"sha256:410bcd1d6409026fbaa65d9ed33bf6dd8b1e94a499e32168acfc7b332e4095c0",
"sha256:ba18e6a243b3625513d85239b3e49055a2f0318466e0b8a92b8fb8ca7ccdf55f"
],
"version": "==2018.3"
},
"vine": {
"hashes": [
"sha256:52116d59bc45392af9fdd3b75ed98ae48a93e822cee21e5fda249105c59a7a72",
"sha256:6849544be74ec3638e84d90bc1cf2e1e9224cc10d96cd4383ec3f69e9bce077b"
],
"version": "==1.1.4"
}
},
"develop": {}
}
celery==3.1.25
- billiard [required: >=3.3.0.23,<3.4, installed: 3.5.0.3]
- kombu [required: >=3.0.37,<3.1, installed: 4.1.0]
- amqp [required: >=2.1.4,<3.0, installed: 2.2.2]
- vine [required: >=1.1.3, installed: 1.1.4]
- pytz [required: >dev, installed: 2018.3]
Very nice. |
Will investigate. |
We have no way of reproducing this. |
@mfwarren I was just able to run that command successfully. Please try v11.5.3. |
in a fresh virtualenv. I got the error on |
|
conflicting dependencies |
This was noted in the changelog: https://github.com/pypa/pipenv/blob/master/HISTORY.txt#L12 |
e.g. this was an intended change |
thanks Kenneth |
Same issue on 11.6. I guess I have a beginning of idea:
I think there is a small precedence issue, where the expected behavor (I need to force to a preversion manually, and all other dependencies should be happy given their version compatibility operator) In short, when pipenv finds 2 packages with dependency declared as |
If we do generate using "pipenv lock --pre", it does work. |
Hello
pipenv update seems broken since 11.x version for packages on our internal pypi (Nexus). We force a "pre-version" for a package with:
pipenv install 'pbr==3.1.2.dev54'
that is only available on our internal Nexus.
The Pipfile is configured with
This worked fine in pipenv < 11.
Now, it does not find it even if it is available (see in the error message) when generating the lock file:
We clearly see that 3.1.2.dev54 is available in this list. I do not want to depend on any other preversion than this package.
The generated Pipfile look good. Only the lock failed:
Even with
--pre
it does not work:pipenv install --skip-lock
does work, so this issue only seems to occur when generating the lock file.The text was updated successfully, but these errors were encountered: