-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
editable packages in a constraint file causes pip-compile to fail silently #979
Comments
Hell @mmerickel Thanks for the issue! The dependencies from $ cat constraints.txt
six==1.10.0
$ cat requirements.in
-c constraints.txt
pytz
$ pip-compile
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile
#
pytz==2019.3 If you still want to include constraints to the requirements.txt you have two options: Let's say you have the following constraints: $ cat constraints.txt
six==1.10.0
$ cat requirements.in
-c constraints.txt
six
pytz
$ pip-compile
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile
#
pytz==2019.3
six==1.10.0
$ cat requirements.in
-r constraints.txt
pytz
$ pip-compile
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile
#
pytz==2019.3
six==1.10.0
|
@mmerickel does the above resolve your issue? |
Thanks @atugushev, I'm aware of |
Fixed in #1037. |
Using a
-c foo.txt
wherefoo.txt
contains editable packages causes pip-compile to not work at all and fail silently (returning success).Environment Versions
$ python -V
3.6.8$ pip --version
19.3.1$ pip-compile --version
4.2.0Steps to replicate
foo.in
with contents-e file:src/foo#egg=foo
pip-compile foo.in
to generatefoo.txt
with-e file:src/foo#egg=foo
and other depsbar.in
with contents-c foo.txt
and other source-e file:src/bar#egg=bar
(imaginesrc/bar/setup.py
hasinstall_requires=['foo', ...]
)pip-compile bar.in
Expected result
The file
bar.txt
should contain:Actual result
The file
bar.txt
contains no dependencies, just the header:The text was updated successfully, but these errors were encountered: