-
-
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
VCS dependency installation fails with 'Could not get current working directory' #3432
Comments
Can you try the command in the last line of output to see if it works? |
It fails if I am inside the project directory. If I cd out of the project directory, it succeeds |
Incidentally I tried the exact same sequence on a different machine and this one worked.. Both windows running gitbash. The only obvious difference AFAICT is that the broken example runs under cmder and the working one runs under conemu... |
I ran into a similar problem with Could you try patching |
I'll give it a shot when I can, may be a bit though
…On Fri, Jan 18, 2019 at 9:16 AM al-the-x ***@***.***> wrote:
I ran into a similar problem with pipenv and VCS deps as documented in
#3404 <#3404>. My error message was
different, but the cause -- VCS deps -- were the same. Removing /
commenting the VCS deps allowed the lockfile to be generated correctly;
restoring them caused the error.
Could you try patching pipenv locally as I have done in #3404
<#3404> and report back about the
effects?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3432 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AD3mGIOjVYnUrMzZKQx8UQHiZnjNFtJIks5vEgFcgaJpZM4Z24J2>
.
|
hm, could be related to a number of possible issues w/r/t VCS dependency cloning but I believe this was a bug in requirementslib which is resolved, I'll push some updates shortly |
- Update gitignore entries for mypy config - Update release task to add version after bumping but before release - Fixes #3326 (going forward at least) - Split out patching from vendoring so it can be done as a separate step if needed - Update patches to account for updated packages - Fixes #3432 - Fixes #2757 - Fixes #3305 - Fixes #2914 - Fixes #3439 - Fixes #3422 - Fixes #3378 - Fixes #3376 - Fixes #3315 Signed-off-by: Dan Ryan <[email protected]>
Issue description
Attempting to install a vcs dependencies fails with
.fatal: Could not get current working directory: No such file or directory
. In order to get a clean repro case I simply made a new directory, cd'd into it, and used the vcs example from the docs,Expected result
I expected the installation to succeed
Actual result
Here's the traceback.
In previous trial runs I believe I observed an off-by-one problem in the tracebacks: the run prior to this referred to a different repo -- not requests -- that I had tried to install earlier and which had failed the same way. This traceback is the second attempt to use the requests example in a row so if the same incorrect traceback was generated it's not obvious because I used the same URL twice in a row.
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'd:\\pythons\\371\\lib\\site-packages\\pipenv'
Python location:
'd:\\pythons\\371\\python.exe'
Python installations found:
3.7.1
:D:\pythons\371\python.exe
2.7
:D:\pythons\2715\python.exe
PEP 508 Information:
System environment variables:
ACLOCAL_PATH
ALLUSERSPROFILE
ANSICON
ANSICON_DEF
APPDATA
COMMONPROGRAMFILES
COMPUTERNAME
COMSPEC
CHOCOLATEYINSTALL
CHOCOLATEYLASTPATHUPDATE
COMMONPROGRAMFILES(X86)
COMMONPROGRAMW6432
CONEMUANSI
CONEMUANSILOG
CONEMUARGS2
CONEMUARGS
CONEMUBACKHWND
CONEMUBASEDIR
CONEMUBUILD
CONEMUCONFIG
CONEMUDIR
CONEMUDRAWHWND
CONEMUDRIVE
CONEMUHWND
CONEMUHOOKS
CONEMUPID
CONEMUPALETTE
CONEMUSERVERPID
CONEMUTASK
CONEMUWORKDIR
CONEMUWORKDRIVE
DISPLAY
DRIVERDATA
EXEPATH
GOPATH
GOROOT
HOME
HOMEDRIVE
HOMEPATH
HOSTNAME
INFOPATH
LANG
LOCALAPPDATA
LOGONSERVER
MANPATH
MAYA_DEV
MSYSTEM
NUMBER_OF_PROCESSORS
OLDPWD
OS
OCULUSBASE
ONEDRIVE
ONEDRIVECONSUMER
PATH
PATHEXT
PKG_CONFIG_PATH
PLINK_PROTOCOL
PRINTER
PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION
PROGRAMFILES
PS1
PSMODULEPATH
PUBLIC
PWD
PROGRAMDATA
PROGRAMFILES(X86)
PROGRAMW6432
SESSIONNAME
SHELL
SHLVL
SSH_ASKPASS
SYSTEMDRIVE
SYSTEMROOT
TEMP
TERM
TMP
TMPDIR
UL
UL_BRANCH
UL_PROJECT
USERDOMAIN
USERDOMAIN_ROAMINGPROFILE
USERNAME
USERPROFILE
VS140COMNTOOLS
WINDIR
_
CONFIGSETROOT
P4PORT
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
:C:\Users\steve\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\cmd;C:\Program Files\ConEmu\ConEmu\Scripts;C:\Program Files\ConEmu;C:\Program Files\ConEmu\ConEmu;C:\Program Files\Oculus\Support\oculus-runtime;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\Program Files\WIDCOMM\Bluetooth Software;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Perforce;C:\Program Files\Perforce\DVCS;C:\Program Files\nodejs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\RemObjects Software\Elements\bin;C:\Program Files (x86)\QuickTime\QTSystem;C:\Users\steve\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Skype\Phone;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Go\bin;D:\pythons\371\Scripts;D:\pythons\371;C:\Users\steve\AppData\Local\Programs\Python\Launcher;C:\Program Files\Git\cmd;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\Program Files\WIDCOMM\Bluetooth Software;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\OpenVPN\bin;C:\Program Files\Perforce;C:\Program Files\Perforce\DVCS;C:\Program Files\nodejs;C:\Users\steve\AppData\Roaming\npm;D:\UL\class4\bin\python;D:\UL\class4\bin\python\Scripts;C:\Users\steve\AppData\Local\Microsoft\WindowsApps;C:\Users\steve\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.6;C:\Users\steve\AppData\Local\Programs\Python\Python36-32\Scripts;C:\python27;C:\Users\steve\go\bin;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
SHELL
:C:/Program Files/Git/usr/bin/bash
LANG
:en_US.UTF-8
PWD
:C:/Users/steve/prj/dev2
Contents of
Pipfile
('C:\Users\steve\prj\dev2\Pipfile'):The text was updated successfully, but these errors were encountered: