gentle-room-19215
03/20/2020, 7:10 AMDEPRECATED: Target.compute_injectable_specs() will be removed in version 1.27.0.dev0
How could I fix it?witty-crayon-22786
03/20/2020, 3:00 PMwarn_or_error(
removal_version="1.27.0.dev0",
deprecated_entity_description="Target.compute_injectable_specs()",
hint="Use `Target.compute_injectable_address_specs()` instead. The API is the same as "
"before. This change is to prepare for Pants eventually supporting file system specs, "
"e.g. `./pants cloc foo.py`. In preparation, we renamed `Spec` to `AddressSpec`.",
)
witty-crayon-22786
03/20/2020, 3:01 PMgentle-room-19215
03/23/2020, 5:29 AM[jar-dependency-management]
Full log is:
[jar-dependency-management]05:25:43 [WARN] /home/user/.cache/pants/setup/bootstrap-Linux-x86_64/1.25.0_py36/lib/python3.6/site-packages/pants/build_graph/target.py:622: DeprecationWarning: DEPRECATED: Target.compute_injectable_specs() will be removed in version 1.27.0.dev0.
Use `Target.compute_injectable_address_specs()` instead. The API is the same as before. This change is to prepare for Pants eventually supporting file system specs, e.g. `./pants cloc foo.py`. In preparation, we renamed `Spec` to `AddressSpec`.
cls._compute_injectable_specs_warn_or_error()
hundreds-father-404
03/23/2020, 4:37 PMwitty-crayon-22786
03/23/2020, 4:39 PM1.25.0
based on filenamesgentle-room-19215
03/23/2020, 4:39 PMwitty-crayon-22786
03/23/2020, 4:39 PMsrc/python/pants/backend/jvm/targets/managed_jar_dependencies.py
... it still has a definition of that methodwitty-crayon-22786
03/23/2020, 4:40 PMhundreds-father-404
03/23/2020, 4:43 PM[GLOBAL]
ignore_pants_warnings: ['Target.compute_injectable_specs() will be removed']
witty-crayon-22786
03/23/2020, 4:44 PMwitty-crayon-22786
03/23/2020, 4:45 PM'DEPRECATED: Target.compute_injectable_specs.. will be removed'
gentle-room-19215
03/23/2020, 4:46 PMhundreds-father-404
03/23/2020, 4:47 PM