-
-
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
2018.11.14 regression: pipenv lock -r
with named Pipfile
#3228
Comments
Hey @jakul, We did a quick check and this issue looks very darn similar to
This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄 If not, the maintainers will get to this issue shortly. Cheers, |
https://pipenv.readthedocs.io/en/latest/advanced/#pipenv.environments.PIPENV_PIPFILE
allows use of Pipfiles with arbitrary names
Em qui, 15 de nov de 2018 13:45, jxltom <notifications@github.com> escreveu:
… Is the file NamedPipfile supported by pipenv? I think pipenv only support
files named as Pipfile and Pipfile.lock officially. 😕
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3228 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA0qSr-rgHB6gn7K0wj_Gpimvkl5VCJWks5uvXAUgaJpZM4YfkB9>
.
|
Lol. Not quite, bot! This seems like a problem. Thankfully I got some actual exceptions in last release. Sorry for the bug :( we need a lot of test improvements. |
I merged a fix for this I believe, if you get a moment please feel free to check the master branch and let me know |
Yup, master works for me! Thanks |
Saw the same error with python
and |
Issue description
pipenv lock -r
fails when using a Pipfile which is not calledPipfile
Expected result
pipenv lock -r
worksActual result
pipenv.vendor.requirementslib.exceptions.PipfileNotFound
errorSteps to replicate
$ pipenv --support
Pipenv version:
'2018.11.14'
Pipenv location:
'/Users/craig/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv'
Python location:
'/Users/craig/.local/venvs/pipenv/bin/python3'
Python installations found:
Error %s while executing command %s [Errno 2] No such file or directory: '/usr/local/bin/pythonz': '/usr/local/bin/pythonz' /usr/local/bin/pythonz -c import sys; print(sys.version.split()[0])
Error %s while executing command %s [Errno 2] No such file or directory: '/usr/local/bin/pythonz': '/usr/local/bin/pythonz' /usr/local/bin/pythonz -c import sys; print(sys.version.split()[0])
3.7.0
:/usr/local/bin/python3
3.7.0
:/usr/local/bin/python3.7m
2.7.15
:/usr/local/bin/python
2.7.15
:/usr/local/bin/pythonw
2.7.10
:/usr/bin/python
2.7.10
:/usr/bin/pythonw
2.7.10
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
LDFLAGS
rvm_bin_path
VIRTUALENVWRAPPER_SCRIPT
VIRTUALENVWRAPPER_PROJECT_FILENAME
TERM_PROGRAM
GEM_HOME
NVM_CD_FLAGS
TERM
SHELL
HISTSIZE
IRBRC
CPPFLAGS
TMPDIR
BBM_DEV
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
OLDPWD
MY_RUBY_HOME
TERM_SESSION_ID
PYENV_VERSION
LC_ALL
NVM_DIR
USER
CROSS_ACCOUNT_STACK_AWS_PROFILE_NAME_BBM_MASTER
_system_type
COMMAND_MODE
rvm_path
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
WORKON_HOME
PROJECT_HOME
rvm_prefix
VIRTUALENVWRAPPER_PYTHON
NPM_TOKEN
PATH
WERKZEUG_DEBUG_PIN
VIRTUALENVWRAPPER_HOOK_DIR
PWD
TOX_PLUGINS_IPDB_INSTALL
LANG
ITERM_PROFILE
_system_arch
XPC_FLAGS
_system_version
PYTEST_ADDOPTS
HISTCONTROL
XPC_SERVICE_NAME
rvm_version
PYENV_SHELL
SHLVL
HOME
COLORFGBG
CFLAGS
ITERM_SESSION_ID
LOGNAME
GEM_PATH
PKG_CONFIG_PATH
PROMPT_COMMAND
VIRTUALENVWRAPPER_WORKON_CD
EXTRA_CFLAGS
BBM_PROD
RUBY_VERSION
SECURITYSESSIONID
_system_name
EXTRA_LDFLAGS
COLORTERM
_
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
:/Users/craig/.pyenv/shims:/Users/craig/.rvm/gems/ruby-2.4.1/bin:/Users/craig/.rvm/gems/ruby-2.4.1@global/bin:/Users/craig/.rvm/rubies/ruby-2.4.1/bin:/Users/craig/.yarn/bin:/Users/craig/.local/bin:/Users/craig/.pyenv/shims:/usr/local/opt/openssl/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/craig/.rvm/bin
SHELL
:/bin/bash
LANG
:en_GB.UTF-8
PWD
:/tmp/named-pipfile
I think this is caused by https://github.com/sarugaku/requirementslib/blob/eb8152c4394c0b447dc0ec4420f9f86f5ab596a3/src/requirementslib/models/lockfile.py#L198-L199
The text was updated successfully, but these errors were encountered: