Skip to content

fix(bzlmod): generate config_setting values for all python toolchains (#2350) #2351

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

Closed
wants to merge 1 commit into from

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Oct 27, 2024

fix(bzlmod): generate config_setting values for all python toolchains (#2350)

#2253 broke how the config settings are generated and only generated the
config setting values for the python version values that we would have
the registered toolchains for. This PR restores the previous behaviour.
However, if the root module uses python.override to remove the allowed
toolchains, then config_settings will be also affected.

(cherry picked from commit 9340a81)

Conflicts:

  • CHANGELOG.md

…#2350)

PR #2253 broke how the config settings are generated and only generated the
config
setting values for the python version values that we would have the
registered
toolchains for. This PR restores the previous behaviour. However, if the
root
module uses `python.override` to remove the allowed toolchains, then
`config_settings` will be also affected.

(cherry picked from commit 9340a81)

Conflicts:
- CHANGELOG.md
@aignas aignas requested a review from rickeylev as a code owner October 27, 2024 03:03
@aignas
Copy link
Collaborator Author

aignas commented Oct 27, 2024

The cherry-pick with the PR method is a little clumsy, I will just push to the release branch instead. Closing this.

@aignas aignas closed this Oct 27, 2024
@aignas aignas deleted the release/0.37.2 branch October 27, 2024 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant