-
-
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 run no longer sets $VIRTUAL_ENV #4838
Comments
greenape
added a commit
to Flowminder/FlowKit
that referenced
this issue
Nov 8, 2021
This was referenced Nov 8, 2021
greenape
added a commit
to Flowminder/FlowKit
that referenced
this issue
Nov 8, 2021
Pin pipenv because of pypa/pipenv#4838
You should |
1 task
JackuB
added a commit
to snyk/cli
that referenced
this issue
Nov 8, 2021
Resolves a regression in pipenv pypa/pipenv#4838
This would be really useful for us to have in a release. Thanks for fixing it, @frostming ! |
@cpontvieux-systra Sure, I have no permission to manage the release but I asked other guys to do it. Now they are yanked. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
After updating to the latest version of pipenv, commands run with
pipenv run
no longer haveVIRTUAL_ENV
set in the environmentExpected result
VIRTUAL_ENV
is set in the environment of the subprocess to point to the virtual environment pathActual result
I believe this is due to this change replacing the call to
inline_activate_virtual_environment
, which is whereVIRTUAL_ENV
is set.$ pipenv --support
Pipenv version:
'2021.11.5.post0'
Pipenv location:
'/home/phlip/.local/lib/python3.8/site-packages/pipenv'
Python location:
'/usr/bin/python3'
Python installations found:
3.9.7
:/usr/bin/python3.9
3.8.10
:/usr/bin/python3.8
3.8.10
:/usr/bin/python3
3.7.12
:/usr/bin/python3.7m
3.7.12
:/usr/bin/python3.7
3.6.15
:/usr/bin/python3.6m
3.6.15
:/usr/bin/python3.6
2.7.18
:/usr/bin/python2
2.7.18
:/usr/bin/python
2.7.18
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
SHELL
DERBY_HOME
LANGUAGE
DEVKITPRO
TERMCAP
JAVA_HOME
WINDOW
EDITOR
PWD
LOGNAME
XDG_SESSION_TYPE
J2REDIR
MOTD_SHOWN
HOME
LANG
LS_COLORS
PERL5LIB
SSH_CONNECTION
DEVKITARM
LESSCLOSE
XDG_SESSION_CLASS
TERM
PERL_MB_OPT
J2SDKDIR
LESSOPEN
USER
PERL_MM_OPT
DISPLAY
SHLVL
XDG_SESSION_ID
XDG_RUNTIME_DIR
SSH_CLIENT
XDG_DATA_DIRS
PERL_LOCAL_LIB_ROOT
PATH
STY
DBUS_SESSION_BUS_ADDRESS
SSH_TTY
OLDPWD
_
PIP_SHIMS_BASE_MODULE
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/phlip/perl5/bin:/home/phlip/bin:/home/phlip/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/sbin:/usr/sbin:/usr/lib/xscreensaver:/usr/local/devkitPro/devkitARM/bin
SHELL
:/bin/bash
EDITOR
:vim
LANG
:en_AU.UTF-8
PWD
:/tmp/test
Contents of
Pipfile
('/tmp/test/Pipfile'):The text was updated successfully, but these errors were encountered: