Not finding Pipfile via PIPENV_PIPFILE with relative location #4164
Labels
Status: Awaiting Update ⏳
This issue requires more information before assistance can be provided.
triage
Issue description
pipenv is not finding a Pipfile provided with the PIPENV_PIPFILE variable when provided as a relative link, or an absolute link with relative notation e.g.
/Users/REDACTED/Documents/git/wiki/src/somefolder/somefolder/../../../Pipfile
.It fails with
RuntimeError: Given PIPENV_PIPFILE is not found!
Running
PIPENV_PIPFILE=/Users/REDACTED/git/wiki/Pipfile pipenv run jupyter --help
works.Expected result
It finds the
Pipfile
$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'/Users/REDACTED/Library/Python/3.7/lib/python/site-packages/pipenv'
Python location:
'/usr/local/opt/python/bin/python3.7'
Python installations found:
3.8.1
:/usr/local/opt/pyenv/versions/3.8.1/bin/python3
3.7.4
:/usr/local/bin/python3
3.7.4
:/usr/local/bin/python3.7m
3.7.3
:/usr/bin/python3
2.7.16
:/usr/bin/python
2.7.16
:/usr/bin/pythonw
PEP 508 Information:
System environment variables:
SECURITYSESSIONID
USER
COMMAND_MODE
PATH
HOME
SHELL
LaunchInstanceID
__CF_USER_TEXT_ENCODING
XPC_SERVICE_NAME
SSH_AUTH_SOCK
XPC_FLAGS
LOGNAME
TMPDIR
CPPFLAGS
EDITOR
GIT_SUBREPO_ROOT
LDFLAGS
LESS
LSCOLORS
MANPATH
OLDPWD
PAGER
PKG_CONFIG_PATH
PWD
PYENV_ROOT
PYENV_SHELL
RBENV_SHELL
SHLVL
ZSH
TERM_PROGRAM
TERM_PROGRAM_VERSION
LANG
COLORTERM
TERM
_
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/opt/node@12/bin:/Users/REDACTED/Applications/git-subrepo/lib:/usr/local/opt/openssl/bin:/usr/local/opt/postgresql@10/bin:/usr/local/opt/pyenv/shims:/usr/local/opt/pyenv/bin:/Users/REDACTED/.rbenv/shims:/Users/REDACTED/.rbenv/bin:/Users/REDACTED/bin:/usr/local/bin:/Users/REDACTED/Library/Python/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/Library/TeX/texbin:/usr/local/opt/node@12/bin:/Users/REDACTED/Applications/git-subrepo/lib:/usr/local/opt/openssl/bin:/usr/local/opt/postgresql@10/bin:/usr/local/opt/pyenv/shims:/usr/local/opt/pyenv/bin:/Users/REDACTED/.rbenv/shims:/Users/REDACTED/.rbenv/bin:/Users/REDACTED/REDACTED:/Users/REDACTED/Library/Python/3.7/bin
SHELL
:/bin/zsh
EDITOR
:nano
LANG
:en_GB.UTF-8
PWD
:/Users/REDACTED/git/wiki/src/Data-Engineering/Data-Summary
The text was updated successfully, but these errors were encountered: