-
-
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
problem with canonicalized package names in Pipfile.lock #3011
Comments
I will note that the various |
See #2956 as a jumping off point or try installing from master, this one is super annoying but I am pretty sure we sorted it out— |
Thanks, @techalchemy! Using master does make things better. I'll keep my colleague on the old version for now, and we'll move to the next release when it's ready if everything checks out then. With master, I'm seeing only the given names of the packages in Pipfile.lock, which is easier to understand for the non-packaing-masochists among us. |
I've been running pipenv 2018.05.18, but updated to 2018.10.09 today while investigating an issue a colleague reported. With a build that was working with the earlier version, the new version complained:
Actual result
Running pipenv lock appeared to succeed (no reported errors), but pipenv sync could not locate one package (
kt.testing
, freely available on PyPI as an sdist).Output from pipenv lock --verbose and pipenv sync --verbose attached, as are Pipfile and Pipfile.lock.
Downgrading pipenv to version 2018.05.18 makes this work again, but that's not a long-term solution.
It's interesting that the Pipfile.lock generated by 2018.10.09 includes two sections for packages that include a dot in their name, and they are not identical:
The difference appears to be that the canonicalized version does not include a hash for the sdist. The
kt.testing
(and anything else only published as an sdist), that means the canonicalized entry won't have any hashes:Pipenv version:
'2018.10.9'
Pipenv location:
'/home/fdrake/tools/pipenv/lib/python3.6/site-packages/pipenv'
Python location:
'/home/fdrake/tools/pipenv/bin/python3'
Python installations found:
3.5.2
:/usr/bin/python3.5m
3.5.2
:/usr/bin/python3.5
2.7.12
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
XDG_SESSION_ID
NVM_CD_FLAGS
TERM
SHELL
SSH_CLIENT
OLDPWD
SSH_TTY
NVM_DIR
USER
LS_COLORS
SSH_AUTH_SOCK
MAIL
PATH
LC_COLLATE
PWD
LANG
SHLVL
HOME
LOGNAME
XDG_DATA_DIRS
SSH_CONNECTION
NVM_BIN
LESSOPEN
XDG_RUNTIME_DIR
LESSCLOSE
_
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/fdrake/bin:/home/fdrake/.local/bin:/home/fdrake/.nvm/versions/node/v6.10.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
SHELL
:/bin/bash
LANG
:en_US.UTF-8
PWD
:/home/fdrake/p/fa/service
The text was updated successfully, but these errors were encountered: