-
-
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 install
does not fail when installing pycares fails
#3614
Comments
@blueyed I tried your minimal example and can't reproduce myself. The process does fail when installing cffi dependency. |
@frostming |
Pipfile.lock:
Dockerfile:
Output:
|
Not sure if that's a user error in this case though - I assumed it would use the lock file, with I might have mixed something up here - feel free to close it. |
With the latest example
|
@blueyed You need to copy both Pipfile and Pipfile.lock into container otherwise an empty Pipfile will be generated and overwrite the existing Pipfile.lock. |
Could trigger it again.. Dockerfile:
Pipfile:
Output:
|
I have same problem.
In my case, the installation was failing as one internal dependency was using |
I believe this has been resolved on recent versions of pipenv. |
pipenv install
does not fail when installing pycares fails (due to cffi issue).Notice how "pipenv install" was successful, but using its requirements.txt output fails:
This happens without
libffi-dev
in thepython:3.6.8-alpine
Docker image.pipenv --support
:$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'/usr/local/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Python installations found:
3.6.8
:/usr/local/bin/python
3.6.8
:/usr/local/bin/python3.6m
PEP 508 Information:
System environment variables:
HOSTNAME
PYTHON_PIP_VERSION
SHLVL
HOME
GPG_KEY
PATH
LANG
PYTHON_VERSION
PWD
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
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
:/root/app
A more minimal Dockerfile using "pipenv install …" fails though as expected:
Therefore it is likely related to installing from the lockfile.
The text was updated successfully, but these errors were encountered: