You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something is causing very old pip version to be installed. I've verified that /root/.local/share/virtualenvs/slack-l1onmoz_ is not a leftover and is created every time the job is executed.
All right, figured out the problem on the docker slave - it had package python-virtualenv-1.10.1-3.el7.noarch installed. Removing this before proceeding with pipenv workflow helped solve the issue. Additionally, had to search for two more issues to succed with successful installation: #2210 and #3386
However, for some reason, pipenv has been using the stale pip from the above package instead of the specifically upgraded pip package and dependencies it had installed itself so still looks like a bug.
Issue description
The problem: pipenv fails to install anything either from Pipfile or Pipfile.lock on a Jenkins docker-based slave
Expected result
Packages get installed by any of the below commands:
pipenv install
pipenv install --sequential
pipenv install --ignore-pipfile
pipenv install --skip-lock
pipenv install --system
All of them were tried with the same error output.
Actual result
Additionally, having found a somewhat similar ticket: pypa/pip#772, made me run these:
Something is causing very old pip version to be installed. I've verified that
/root/.local/share/virtualenvs/slack-l1onmoz_
is not a leftover and is created every time the job is executed.Steps to replicate
Pipfile is as simple as:
Versions:
pipenv, version 2018.11.26
pip, version 19.0.3
setuptools, version 40.8.0
python, version 2.7.5
$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'/usr/lib/python2.7/site-packages/pipenv'
Python location:
'/usr/bin/python2'
Python installations found:
2.7.5
:/usr/bin/python
PEP 508 Information:
System environment variables:
JENKINS_HOME
BUILD_CAUSE
JOB_BASE_NAME
HUDSON_URL
BUILD_URL
PYTHONDONTWRITEBYTECODE
GIT_PREVIOUS_COMMIT
BUILD_TAG
HUDSON_SERVER_COOKIE
Version
HUDSON_HOME
WORKSPACE
HOME
PATH
JIRA_PROJECT
JOB_NAME
LANG
RUN_DISPLAY_URL
GIT_COMMITTER_NAME
GIT_PREVIOUS_SUCCESSFUL_COMMIT
LANGUAGE
SHLVL
GIT_AUTHOR_EMAIL
AWS_METADATA_SERVICE_NUM_ATTEMPTS
AWS_ACCOUNT_ID
NODE_LABELS
ROOT_BUILD_CAUSE_MANUALTRIGGER
BUILD_CAUSE_MANUALTRIGGER
REPOSITORY_URL
CLOSE
ROOT_BUILD_CAUSE
BUILD_ID
JQ_VERSION
PIP_SHIMS_BASE_MODULE
HUDSON_COOKIE
JOB_URL
JENKINS_URL
PYTHONFINDER_IGNORE_UNSUPPORTED
GIT_BRANCH
GIT_COMMIT
GIT_AUTHOR_NAME
LC_ALL
PIP_PYTHON_PATH
NLSPATH
_
BUILD_NUMBER
JOB_DISPLAY_URL
PIP_DISABLE_PIP_VERSION_CHECK
HOSTNAME
EXECUTOR_NUMBER
NODE_NAME
IAM_ROLE_NAME
PWD
GIT_COMMITTER_EMAIL
JENKINS_SERVER_COOKIE
BUILD_DISPLAY_NAME
BRANCH
XFILESEARCHPATH
RUN_CHANGES_DISPLAY_URL
GIT_URL
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG
:en_US.UTF-8
PWD
:/workspace/my-team/my-proj/task-test
The text was updated successfully, but these errors were encountered: