-
-
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 --system --deploy broken in alpine 3.12.0 (docker container) #4315
Comments
I believe I'm hitting the same issue; can reproduce with this script running inside a container using
If I change |
I may actually be seeing a separate underlying issue. I've spent the last three days trying to isolate it. |
I'm seeing this issue too. Our Pipfile does have our_app = {editable = true,path = "."} |
Let's track it in #4311 |
Since pipenv==2020-05-28, using `pipenv install --system --deploy` results in an error message saying it can't find a virtualenv Python. Though not necessarily fatal, it is confusing, so let's revert to an older pipenv for now. More background: pypa/pipenv#4315 and pypa/pipenv#4311. Resolves inveniosoftware#28.
Since pipenv==2020-05-28, using `pipenv install --system --deploy` results in an error message saying it can't find a virtualenv Python. Though not necessarily fatal, it is confusing, so let's revert to an older pipenv for now. More background: pypa/pipenv#4315 and pypa/pipenv#4311. Resolves #28.
Issue description
I try to install Python dependencies for a project via latest pipenv 2020.6.2 in an alpine 3.12.0 (alpine:latest as of today) Docker build via
pipenv --system --deploy
. The used Dockerfile is available at https://github.com/devdaydresden/devday_website/blob/development/python_base.Dockerfile. The alpine python package installs Python 3.8.3 and the py3-pip package installs pip 20.1.1.When the build tries to install the dependencies it gets stuck (output below at the Actual results section). The installation worked with previous pipenv and alpine versions with Python 3.8.
Expected result
Packages are installed to the system Python inside the container image using the system /usr/bin/python3.
Actual result
Pipenv starts but get's stuck:
It seems like pipenv is trying to use a python interpreter inside a non existing virtualenv although the
--system
parameter has been specified.Steps to replicate
$ pipenv --support
Pipenv version:
'2020.6.2'
Pipenv location:
'/usr/lib/python3.8/site-packages/pipenv'
Python location:
'/usr/bin/python3'
Python installations found:
3.8.3
:/usr/bin/python3
3.8.3
:/usr/bin/python3.8
PEP 508 Information:
System environment variables:
PYTHONFAULTHANDLER
PIP_DISABLE_VERSION_CHECK
PYTHONBUFFERED
PIP_DEFAULT_TIMEOUT
HOSTNAME
SHLVL
HOME
PIPENV_COLORBLIND
PIPENV_NOSPIN
PATH
REQUESTS_CA_BUNDLE
PIPENV_HIDE_EMOJIS
PIP_NO_CACHE_DIR
PWD
PIPENV_DOTENV_LOCATION
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_COLORBLIND
:true
PIPENV_NOSPIN
:true
PIPENV_HIDE_EMOJIS
:true
PIPENV_DOTENV_LOCATION
:config/.env
Debug–specific environment variables:
PATH
:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD
:/python-code
Contents of
Pipfile
('/python-code/Pipfile'):Contents of
Pipfile.lock
('/python-code/Pipfile.lock'):The text was updated successfully, but these errors were encountered: