freezing-vegetable-92896
11/10/2021, 1:25 AMrequirements.txt
. For example, in an extremely minimal repo:
# pants.toml
[GLOBAL]
pants_version = "2.8.0rc4"
backend_packages = [
"pants.backend.python",
]
[tailor]
ignore_adding_targets = ["//:requirements.txt"]
reports
./pants tailor --check
Would update BUILD:
- Add python_requirements target requirements.txt
if there is a requirements.txt
in the same directory. (In the middle of incremental adoption of pants and we’ve got a bunch of requirements.txt
spread around that I need to ignore because they have duplicated targets).
Am I doing something silly wrong, or is there a bug here?hundreds-father-404
11/10/2021, 1:32 AMpython_requirements
is weird, it's not actually a target. It's using this old macro system we're very soon deprecating in favor of a better implementation
You can set this instead:
[python]
tailor_requirements_targets = false
(Bug report also very much appreciated if you have a moment!)freezing-vegetable-92896
11/10/2021, 7:27 PM