Command: "pipenv install --skip-lock" fails since it tries to parse legacy package metadata and raise InstallError #5595
Labels
Status: Awaiting Update ⏳
This issue requires more information before assistance can be provided.
triage
Issue description
Command: "pipenv install --skip-lock" fails since it tries to parse legacy package metadata and raise InstallError.
Some condition seems to make Pipenv to scan all versions of packages and try to parse metadata.
This indicates that whole installation will stop due to just one package version which Pipenv unsupports.
Expected result
Fallback and continue to resolve dependencies as much as possible.
Actual result
Stop whole installation.
--verbose outputs
In this case, the cause is that Pipenv can't install
coverage==3.5.3
$ pipenv install coverage==3.5.3
Steps to replicate
1.
Create Pipfile:
2.
Create Dockerfile:
3.
Run command:
docker build --progress=plain .
$ pipenv --support
Pipenv version:
'2023.2.4'
Pipenv location:
'/usr/local/lib/python3.11/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
OS Name:
'posix'
User pip version:
'22.3.1'
user Python installations found:
3.11.1
:/usr/local/bin/python
3.11.1
:/usr/local/bin/python3
3.9.2
:/usr/bin/python3.9
3.9.2
:/usr/bin/python3
PEP 508 Information:
System environment variables:
PYTHON_PIP_VERSION
HOME
GPG_KEY
PYTHON_GET_PIP_URL
PATH
LANG
PYTHON_VERSION
PYTHON_SETUPTOOLS_VERSION
PWD
PYTHON_GET_PIP_SHA256
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG
:C.UTF-8
PWD
:/
Contents of
Pipfile
('/Pipfile'):The text was updated successfully, but these errors were encountered: