forked from bazelbuild/rules_python
-
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.
refactor(flags): return FeatureFlagInfo in --python_version flag (baz…
…elbuild#2167) Make the `--python_version` flag also return the `FeatureFlagInfo` provider. There are two reasons to also return the FeatureFlagInfo provider: First, it allows the flag implementation to change the value and have that value respected by config_setting() later. This allows, for example, the rule to use custom logic (and information from things it depends on) to determine the effective flag value. Secondly, it makes the flag compatible with the Google fork of this rule, which is implemented using FeatureFlagInfo, to help eventually converge them. Along the way, add config_common to the Sphinx Bazel inventory.
- Loading branch information
Showing
3 changed files
with
39 additions
and
2 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