Injecting credentials into Pipfiles via environment variables not working in [packages] section on Win10 #3137
Labels
Status: Requires PEEP
This issue requires an accompanying enhancement proposal
Type: Behavior Change
This issue describes a behavior change.
Type: Duplicate
This issue is a duplicate of an already-existing issue.
Issue description
On Windows 10 environment variables in git URLs using
${VAR}
within the [packages] section of the Pipfile aren't expanded. Using %VAR% works on Windows, but isn't cross platform compatible.This issue might be related to #2635 , #2710
Steps to replicate
Tried to follow guidelines: Injecting credentials into Pipfiles via environment variables
Pipfile:
Command:
pipenv install --skip-lock
Expected result
Actual result
Full output
$ pipenv install --skip-lock --verbose
$ pipenv --support
Pipenv version:
'2018.10.13'
Pipenv location:
'd:\\anaconda3\\lib\\site-packages\\pipenv'
Python location:
'd:\\anaconda3\\python.exe'
Python installations found:
5.3.0
:D:\Anaconda3\python.exe
2.7
:C:\Program Files\WorldViz\Vizard6\bin\python.exe
PEP 508 Information:
System environment variables:
ADSK_3DSMAX_X64_2017
ADSK_3DSMAX_X64_2019
ADSK_CLM_WPAD_PROXY_CHECK
ALLUSERSPROFILE
APPDATA
ARCH
BOOST_ROOT
CHOCOLATEYINSTALL
CHOCOLATEYLASTPATHUPDATE
CHOCOLATEYTOOLSLOCATION
CLASSPATH
COMMONPROGRAMFILES
COMMONPROGRAMFILES(X86)
COMMONPROGRAMW6432
COMPILER
COMPUTERNAME
COMSPEC
DOKANLIBRARY1
DRIVERDATA
FPS_BROWSER_APP_PROFILE_STRING
FPS_BROWSER_USER_PROFILE_STRING
GENERATOR
HOMEDRIVE
HOMEPATH
JAVA_HOME
LIBEVENT_DIR
LOCALAPPDATA
LOGONSERVER
MOBU_DIR
NUMBER_OF_PROCESSORS
NVTOOLSEXT_PATH
OMP_NUM_THREADS
ONEDRIVE
OPENSSL_ROOT_DIR
OS
PATH
PATHEXT
PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION
PROGRAMDATA
PROGRAMFILES
PROGRAMFILES(X86)
PROGRAMW6432
PROMPT
PSMODULEPATH
PUBLIC
SESSIONNAME
SSH_AUTH_SOCK
SYSTEMDRIVE
SYSTEMROOT
TEMP
THRIFT_DIR
USER
TMP
USERDOMAIN
USERDOMAIN_ROAMINGPROFILE
USERNAME
USERPROFILE
VS110COMNTOOLS
VS140COMNTOOLS
WINDIR
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
Pipenvûspecific environment variables:
Debugûspecific environment variables:
PATH
:C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\GNU\GnuPG\pub;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\Java\jdk1.8.0_112\bin;C:\Program Files\Java\jdk1.8.0_121\bin;C:\Program Files (x86)\PuTTY\;C:\Program Files\Java\jdk1.8.0_131\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\tools\go\bin;C:\Program Files\Java\jdk1.8.0_144\bin;C:\Program Files\PuTTY\;C:\Program Files (x86)\Inkscape\python\;C:\Program Files (x86)\Inkscape\python\DLLs;C:\Program Files (x86)\Java\jdk1.8.0_152\bin;C:\Program Files (x86)\Java\jdk1.8.0_162\bin;C:\Program Files (x86)\Java\jdk1.8.0_172\bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\PsychoPy3;C:\Program Files (x86)\PsychoPy3\DLLs;C:\Program Files\Git\cmd;C:\Program Files\Microsoft VS Code\bin;D:\Anaconda3;D:\Anaconda3\Library\mingw-w64\bin;D:\Anaconda3\Library\usr\bin;D:\Anaconda3\Library\bin;D:\Anaconda3\Scripts;C:\Program Files (x86)\Graphviz2.38\bin\;D:\olaf\Downloads\Programming\CrosslanguageRPCs\thrift;C:\Program Files\CMake\bin;D:\olaf\Downloads\Programming\Python\theano-deps\OpenBLAS\bin\;C:\Users\olaf\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\FileVerifier++\;C:\Users\olaf\AppData\Roaming\MiKTeX\2.9\miktex\bin\x64\;C:\tools\cmder;C:\Users\olaf\AppData\Local\atom\bin;C:\Users\olaf\AppData\Local\Microsoft\WindowsApps;C:\Users\olaf\AppData\Local\Pandoc\;C:\Users\olaf\AppData\Local\Keybase\
Contents of
Pipfile
('D:\Example\Pipfile'):The text was updated successfully, but these errors were encountered: