forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate not implementing
TargetGenerator
in `GenerateTargetsReque…
…st` implementors. (pantsbuild#14959) As described in pantsbuild#14844, we currently fall back gracefully if a `GenerateTargetsRequest.generate_from` field is not a subclass of `TargetGenerator`, but consuming the template which is automatically created via the `TargetGenerator.{copied_fields,moved_fields}` fields is important to allow `parametrize` to be used with a generator (since only `moved_fields` may be `parametrized`). Deprecate not subclassing `TargetGenerator` for a generator target, and adjust implementations to consume the template. Fixes pantsbuild#14844. [ci skip-build-wheels]
- Loading branch information
Showing
13 changed files
with
146 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.