-
-
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
Unable to lock packages with odd version numbers #3002
Comments
This appears to be because the package name is installed as |
Looks like another duplicate of #2956 |
I tested this with the latest master though. It worked if I added |
Unfortunately I'm not really sure there is a way around that, the PEP around package naming itself specifies this normalization and much of the tooling performs it, so the fact that PyPI's simple index doesn't handle the translation is probably the real culprit. |
It does handle the normalization it seems: https://pypi.org/simple/pdfminer-six/ |
Ok, so I've narrowed down the issue.
|
I have a hacky fix in #3008. It seems to work fine for me. |
I believe this is fixed for now, so closing this issue but let us know if not |
Issue description
Running
pipenv install pdfminer.six
fails.Expected result
It succeeds to install the package
Actual result
Steps to replicate
pipenv install pdfminer.six
Support
$ pipenv --support
Pipenv version:
'2018.10.10.dev0'
Pipenv location:
'/Users/tom/projects/pipenv/pipenv'
Python location:
'/Users/tom/.virtualenvs/tempenv-6fe770333809/bin/python3'
Python installations found:
3.7.0
:/Users/tom/.pyenv/shims/python3.7m
3.7.0
:/Users/tom/.pyenv/shims/python3.7
3.7.0
:/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/bin/python3.7
3.7.0
:/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/bin/python3.7m
3.6.5
:/Users/tom/.virtualenvs/tempenv-6fe770333809/bin/python3
3.6.5
:/Users/tom/.pyenv/shims/python3
3.6.5
:/Users/tom/.pyenv/shims/python
3.6.5
:/Users/tom/.pyenv/shims/python3.6
2.7.15
:/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
2.7.10
:/usr/bin/python
2.7.10
:/usr/bin/pythonw
2.7.10
:/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
PEP 508 Information:
System environment variables:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_SESSION_TOKEN
Apple_PubSub_Socket_Render
COLORFGBG
COLORTERM
EDITOR
HEX_REPO_KEY
HOME
HOMEBREW_AUTO_UPDATE_SECS
ITERM_PROFILE
ITERM_SESSION_ID
LANG
LC_ALL
LC_CTYPE
LOGNAME
OL_client_id
OL_client_secret
OL_region
OL_username
ONFIDO_PROFILE
ONFIDO_ROLE
OP_SESSION
OP_entry_name
PATH
PWD
PYENV_SHELL
SECURITYSESSIONID
SHELL
SHLVL
SSH_AUTH_SOCK
TERM
TERM_PROGRAM
TERM_PROGRAM_VERSION
TERM_SESSION_ID
TMPDIR
USER
VIRTUAL_ENV
VIRTUAL_ENV_DISABLE_PROMPT
XPC_FLAGS
XPC_SERVICE_NAME
__CF_USER_TEXT_ENCODING
nvm_prefix
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/sbin:/Users/tom/.local/bin/:/Users/tom/.virtualenvs/tempenv-6fe770333809/bin:/Users/tom/.pyenv/shims:/Users/tom/.cargo/bin:/Users/tom/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS
SHELL
:/usr/local/bin/fish
EDITOR
:charm
LANG
:en_US.UTF-8
PWD
:/private/var/folders/9w/twrv54nd0v19gsbjhjs3mlhc0000gn/T/tmp.ALE4xMXP
VIRTUAL_ENV
:/Users/tom/.virtualenvs/tempenv-6fe770333809
Contents of
Pipfile
('/private/var/folders/9w/twrv54nd0v19gsbjhjs3mlhc0000gn/T/tmp.ALE4xMXP/Pipfile'):The text was updated successfully, but these errors were encountered: