You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I clone an existing git-repo to Windows $TMP unsing src = tempfile.mkdtemp(prefix = 'thrift-src_') and tried to install this via PIP pip install f'thrift@git+file://{src}@@v0.18.1#subdirectory=lib/py'. This will fail, as long as my cwd is on a different drive than $TMP
The git command will not get the correct folder passed and tries to use the cloned one with the tag-name appended.
When I change to src = tempfile.mkdtemp(prefix = 'thrift-src_', dir = '\\source\\project'), the package gets installed without worries. The difference seems only the absence of specifying the drive-letter.
Expected behavior
Pip should be able the install via "git+file://" from any drive / any location
pip version
24.0
Python version
3.11.9
OS
Windows 10
How to Reproduce
change to project folder on different drive than C: (cd d:\test)
While writing this I found that PIP fails, as soon as a dive-letter is supplied. Cloning to D:\test-folder and giving the full path to pip, will fail too.
Description
I clone an existing git-repo to Windows $TMP unsing
src = tempfile.mkdtemp(prefix = 'thrift-src_')
and tried to install this via PIPpip install f'thrift@git+file://{src}@@v0.18.1#subdirectory=lib/py'
. This will fail, as long as my cwd is on a different drive than $TMPThe git command will not get the correct folder passed and tries to use the cloned one with the tag-name appended.
When I change to
src = tempfile.mkdtemp(prefix = 'thrift-src_', dir = '\\source\\project')
, the package gets installed without worries. The difference seems only the absence of specifying the drive-letter.Expected behavior
Pip should be able the install via "git+file://" from any drive / any location
pip version
24.0
Python version
3.11.9
OS
Windows 10
How to Reproduce
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: