Passing --build-deps-for or --all-build-deps should not emit an error as long as at least one file in the sources list is a setup file.
Using pip-compile --all-build-deps requirments.in pyproject.toml gives the error --build-deps-for and --all-build-deps can be used only with the setup.py, setup.cfg and pyproject.toml specs..
According to the help, using multiple source files is valid, so any options that apply to at least one source file should be allowed as long as that option does not cause a conflict.
Contributor checklist
[x] Included tests for the changes.
[x] PR title is short, clear, and ready to be included in the user-facing changelog.
Maintainer checklist
[ ] Verified one of these labels is present: backwards incompatible, feature, enhancement, deprecation, bug, dependency, docs or skip-changelog as they determine changelog listing.
[ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).
Resolves 2076.
Passing
--build-deps-for
or--all-build-deps
should not emit an error as long as at least one file in the sources list is a setup file.Using
pip-compile --all-build-deps requirments.in pyproject.toml
gives the error--build-deps-for and --all-build-deps can be used only with the setup.py, setup.cfg and pyproject.toml specs.
.According to the help, using multiple source files is valid, so any options that apply to at least one source file should be allowed as long as that option does not cause a conflict.
Contributor checklist
Maintainer checklist
backwards incompatible
,feature
,enhancement
,deprecation
,bug
,dependency
,docs
orskip-changelog
as they determine changelog listing.