cool-easter-32542
07/10/2023, 8:17 PM__defaults__ for a target defined in an internal plugin when using environments
MappingError: Failed to parse ./BUILD:
ValueError: Unrecognized target type <custom_target> in //#__defaults__.
The same __defaults__ can be set in other BUILD files. Environments must be defined in the root BUILD file so I suspect this is an ordering issue and the root BUILD file is parsed before loading plugins.
Pants version
2.16.0rc5
I also checked 2.17.0rc1 and it has the same issue
OS
only tested on Linux
pantsbuild/pantscool-easter-32542
07/20/2023, 7:06 AM