-
-
Notifications
You must be signed in to change notification settings - Fork 629
Description
Hi,
I am using pip-compile==7.3.0
, and trying to specify multiple source files within the pyproject.toml
file with the keyword src-files
.
My desired outcome would be to specify pyproject.toml
and requirements.hotfix.txt
, so that the list of dependencies can be used together.
However, I noticed that it's like these files - and the whole input in general - are ignored, because then the tool only use the dependencies specified in pyproject.toml
.
I also tried to do something like these (see picture), but I ended up with again pyproject.toml
being used.
I know that the tool is reading the config, since the other options are used, and if I specify a non-existing file I get an error message
Is this a known bug? Should I change something on my end?
Environment Versions
- OS Type: RHEL7
- Python version: 3.10.5
- pip version: 23.3
- pip-tools version: 7.3.0
Steps to replicate
- specify dependencies in
pyproject.toml
andfile.txt
- specify
tools.pip-tools
/src_files = ["pyproject.toml", "file.txt"
- check if dependencies specified in
file.txt
are picked up and translated in requirements.txt
Expected result
Dependencies specified in both files are translated in requirements.txt
Actual result
Only dependencies specified in pyproject.toml
are picked up