-
-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set __defaults__
for a target defined in an internal plugin when using environments
#19445
Comments
Welcome to the Pantsbuild Community. This looks like your first issue here. Thanks for taking the time to write it. If you haven't already, feel free to come say hi on Slack. If you have questions, or just want to surface this issue, check out the Thanks again, and we look forward to your next Issue/PR 😄! |
Thanks for the report! I'll get this fixed asap. :) |
…s. (Cherry-pick of #19446) (#19968) Fixes #19445 Fixes #19158 Co-authored-by: Andreas Stenius <[email protected]>
…s. (Cherry-pick of #19446) (#19969) Fixes #19445 Fixes #19158 Co-authored-by: Andreas Stenius <[email protected]>
Describe the bug
Unable to set
__defaults__
for a target defined in an internal plugin when using environmentsThe 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
The text was updated successfully, but these errors were encountered: