incalculable-yacht-75851
01/13/2022, 6:05 PM10:04:29.00 [WARN] DEPRECATED: the `pants_requirement` macro will be removed in version 2.10.0.dev0.
Use the target `pants_requirements` instead. First, add `pants.backend.plugin_development` to `[GLOBAL].backend_packages` in `pants.toml`. Then, delete all `pants_requirement` calls and replace them with a single `pants_requirements(name='pants')`.
By default, `pants_requirements` will generate a `python_requirement` target for both `pantsbuild.pants` and `pantsbuild.pants.testutil`.
More in 🧵pants_requirements(name='pants')
as suggested I get the following error:
10:08:04.56 [ERROR] 1 Exception encountered:
MappingError: Failed to parse ./pants-plugins/BUILD.v2:
Name 'pants_requirements' is not defined.
Did you mean pants_requirement?
If you expect to see more symbols activated in the below list, refer to <https://www.pantsbuild.org/v2.9/docs/enabling-backends> for
all available backends to activate.
witty-crayon-22786
01/13/2022, 6:14 PMFirst, addtopants.backend.plugin_development
in[GLOBAL].backend_packages
.pants.toml
incalculable-yacht-75851
01/13/2022, 6:16 PM