-
-
Notifications
You must be signed in to change notification settings - Fork 614
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
InstallationError: Command "python setup.py egg_info" failed with error code 1 #738
Comments
Do you have a suggested fix? (sorry, have not investigated, but it sounds like you know the corner case from debugging already) |
I've tried to investigate this issue and found that the main problem is here, see a stacktrace:
For an pip-tools/piptools/repositories/pypi.py Lines 211 to 214 in 6d871f2
is not reachable. The form |
@atugushev exactly, the issue is on that line. In my fork I have a quick fix, but it's too dirty to use it for PR. After some investigation I realized that the issue is in fact on pip side, because So we can raise/ping ticket on pip side and create a quick fix on pip-tools side or just wait until it's fixed in pip |
@y3g0r i've already reported a bug report to the pip project. Let's see where it goes. |
Can you reference the PIP issue? |
Hello @RXminuS, This is the issue pypa/pip#6293. |
I ran into the same Problem, isn't it?
Is there any work-a-round? |
@jedie how do you install |
It's while i run I i change EDIT: Seems that a check was added in v2.8:
see also: psycopg/psycopg2#890 |
@jedie i see. Huh, we need more output in |
URLs pattern |
When dependency is specified using
-e [email protected]:MyProject#egg=MyProject
form in.in
file,download_dir
is not set to None, which makespython setup.py egg_info
fail, whensetuptools_scm is used.
Basically it's the old partially fixed issue #369 with one corner case not being fixed.
Environment Versions
3.5.6
19.0.2
3.4.0
Steps to replicate
echo '-e [email protected]:jazzband/pip-tools#egg=pip-tools' > requirements.in
pip-compile requirements.in
Expected result
requirements.txt
file generated (like it would if we used any other editable git dependency form, i.e.-e git+http://github.com/jazzband/pip-tools#egg=pip-tools
)Actual result
The text was updated successfully, but these errors were encountered: