-
-
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
pip-compile reveals default --config=pyproject.toml
option in header
#1903
Comments
#1902 i've added steps to replicate. |
I think we could update this: Lines 365 to 368 in 4b9cc32
to something like: if option_long_name == "--config":
default_configs = {'pyproject.toml', '.pip-tools.toml'}
if value in default_config:
continue What do you think? |
Ah, sorry. You might close this as duplicate then. |
|
oh no, it does not work, only with is_eager = False |
There is a bug with pip 6.14.0. I just use
pip-compile --allow-unsafe --generate-hashes --output-file=requirements/test.txt --resolver=backtracking --strip-extras requirements/test.in
but now it adds
--config=pyproject.toml
even there is no configuration in pyproject.tomlWhen running pip-compile click context has no src_files, so select_config_file returns pyproject.toml, but after compiling click context has src_files as requirements/test.in, so select_config_file returns None and so pyproject.toml != None
Making
--config
is_eager=False worksOriginally posted by @q0w in #1893 (comment)
The text was updated successfully, but these errors were encountered: