Git dependency issues with pip 19
See original GitHub issue-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption). -
OS version and name: OSX Mojave
-
Poetry version: 0.12.11
-
Link of a Gist with the contents of your pyproject.toml file: TBA
Issue
Poetry is having git dependency issues when used with the latest PIP (19.0). I am still trying to figure out the issue, but I think one way to trigger it is having a git dependency on a project that also has a git dependency. The output I’m getting looks like this:
[EnvCommandError]
Command ['/Users/jgiancono/Documents/GitHub/mygitrepo1/.venv/bin/pip', 'install', '--no-deps', '-U', '-e', '/Users/jgiancono/Documents/GitHub/auut
asks/.venv/src/mygitrepo2'] errored with the following output:
Obtaining file:///Users/jgiancono/Documents/GitHub/mygitrepo1/.venv/src/mygitrepo2
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'error'
Complete output from command /Users/jgiancono/Documents/GitHub/mygitrepo1/.venv/bin/python3.7 /Users/jgiancono/Documents/GitHub/mygitrepo1/.venv/l
ib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/q1/nt9f1gyn23z_8dbyrjc32l_m0000gp/T/pip-build-
env-507gz2si/normal --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- emailx>=0.1.1510835164,<0.2.
0 logx>=0.1.1523254038,<0.2.0 mygitrepo3 PyPDF2>=1.26,<2.0 weasyprint>=0.42.3,<0.43.0 pathvalidate>=0.21.3,<0.22.0 Markdown>=3.0,<4.0 results:
Collecting emailx<0.2.0,>=0.1.1510835164
Using cached https://files.pythonhosted.org/packages/55/a5/0219cd2459acdc7b06f0c473b0b273c3ac39e17e4679a03672efc0fb50b9/emailx-0.1.151083516
4-py2.py3-none-any.whl
Collecting logx<0.2.0,>=0.1.1523254038
Using cached https://files.pythonhosted.org/packages/c9/50/f53a4aa7c1f70a2083bb0f3b659ce926ea3160a333c9426ce5fdeb96ecd1/logx-0.1.1523254038-
py2.py3-none-any.whl
Collecting mygitrepo3
Could not find a version that satisfies the requirement mygitrepo3 (from versions: )
No matching distribution found for mygitrepo3
----------------------------------------
Command "/Users/jgiancono/Documents/GitHub/mygitrepo1/.venv/bin/python3.7 /Users/jgiancono/Documents/GitHub/mygitrepo1/.venv/lib/python3.7/site-pack
ages/pip install --ignore-installed --no-user --prefix /private/var/folders/q1/nt9f1gyn23z_8dbyrjc32l_m0000gp/T/pip-build-env-507gz2si/normal --
no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- emailx>=0.1.1510835164,<0.2.0 logx>=0.1.1523254038
,<0.2.0 mygitrepo3 PyPDF2>=1.26,<2.0 weasyprint>=0.42.3,<0.43.0 pathvalidate>=0.21.3,<0.22.0 Markdown>=3.0,<4.0 results" failed with error code 1 in
None
I will try to get a working pyproject.toml on a gist, but it’s going to require multiple repos to reproduce so it might take me a while. In the meantime I was wondering if anyone else is getting this issue with pip 19.0? Downgrading to 18 fixed my issue, I do believe they removed some deprecated features in 19 which may be causing the issue.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:5

Top Related StackOverflow Question
Has there been any resolution for this? I am stuck with pip 18.1 until this is resolved.
We have the same problem with a private index, our
pyproject.tomlhttps://gist.github.com/karec/73670e548eebfbd22676f9c6a741e6ecRunning
poetry installwith pip 19 or 19.0.1 will give this errorSimplest way to reproduce with our
pyproject.toml