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
Regression in 2020.11.15 failing to install editable package in deploy + user mode with non root user #4583
Labels
Type: Duplicate
This issue is a duplicate of an already-existing issue.
Comments
Very much related to #4551 ? |
I am inclined to think it could be related to #4551 but then I also tried your example Pipfile and setup.py using
|
matteius
added
the
Type: Duplicate
This issue is a duplicate of an already-existing issue.
label
Dec 24, 2021
Closing this one as a duplicate of #4551 -- suggesting everyone get to latest pipenv and pip and re-check their projects. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Issue description
I have an annoying issue with pipenv version 2020.11.15 (not present in 2020.11.4).
The setup is the following: I have an app with dependencies declared in setup.py that is installed in an "editable" fashion (kind of what is described in #4542 but simultaneously with
PIP_USER=1
and--deploy
and a non-root user).The install fails with weird pip errors.
Among of which:
(but the command in question works fine when run outside of pipven and when investigating the logs of pip, it was talking about trying to uninstall files from
/usr/local/lib/python3.8/site-packages/
which it cannot do as it is not a root user...).Unfortunately, I couldn't understand what is going on with the comparison of the verbose output between the last two pipenv versions.
Expected result
The installation works just like with pipenv 2020.11.4.
Actual result
The installation fails.
Here are
pipenv
&pip
logs:pipenv_logs_pipenv_2020.11.15.txt
pip_logs_pipenv_2020.11.15.txt
Vs
pip_logs_pipenv_2020.11.4.txt
Steps to replicate
Here is a simple full-docker setup to replicate (hard to do otherwise):
example_docker_setup.zip
Unzip and run:
docker build --rm --no-cache .
You can edit the dockerfile to compare different pipenv versions.
Thanks for your help.
$ pipenv --support (from inside the docker image)
Pipenv version:
'2020.11.15'
Pipenv location:
'/usr/local/lib/python3.8/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Python installations found:
3.8.6
:/usr/local/bin/python3.8
3.8.6
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
PIP_LOG
USER
HOSTNAME
PYTHON_PIP_VERSION
HOME
GPG_KEY
USER_UID
PIP_USER
PYTHON_GET_PIP_URL
PATH
PIP_NO_CACHE_DIR
LANG
PIPENV_SYSTEM
PYTHON_VERSION
WORKDIR_PATH
PWD
PYTHON_GET_PIP_SHA256
USER_GID
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_SYSTEM
:1
Debug–specific environment variables:
PATH
:/home/some_user/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG
:C.UTF-8
PWD
:/home/some_user/app
Contents of
Pipfile
('/home/some_user/app/Pipfile'):Contents of
Pipfile.lock
('/home/some_user/app/Pipfile.lock'):The text was updated successfully, but these errors were encountered: