Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sitaktif
Copy link
Contributor

Do not register a python toolchain: this is unnecessary since rules_python registers a default toolchain already. Moreover, this toolchain registration could negatively affect a user of rules_bazel_integration_test by registering a toolchain the root module may not want to use (and that might be selected depending on that module's dependency ordering).

Fixes #520

Do not register a python toolchain: this is unnecessary since
rules_python registers a default toolchain already. Moreover, this
toolchain registration could negatively affect a user of
`rules_bazel_integration_test` by registering a toolchain the root
module may not want to use (and that might be selected depending on that
module's dependency ordering).

Fixes bazel-contrib#520
@sitaktif sitaktif force-pushed the remove-toolchain-registration branch from b300fc3 to 59dc009 Compare September 29, 2025 18:37
@sitaktif
Copy link
Contributor Author

Thanks @fmeum! I don’t have write access, do you mind merging on my behalf?

@cgrindel cgrindel merged commit 0bcfc74 into bazel-contrib:main Sep 29, 2025
5 checks passed
@sitaktif sitaktif deleted the remove-toolchain-registration branch September 29, 2025 20:58
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.

rules_bazel_integration_test defines unhermetic python toolchains that take precedence over ones later defined with rules_python
3 participants