fix(toolchains): correctly order the toolchains by aignas · Pull Request #2735 · bazel-contrib/rules_python

added 2 commits

April 4, 2025 17:23
Since toolchain matching is done by matching the first target that
matches target settings, the `minor_mapping` config setting is special,
because e.g. all `3.11.X` toolchains match the `python_version = "3.11"`
setting.

This just reshuffles the list so that we have toolchains that are in the
`minor_mapping` before the rest.

Fixes bazel-contrib#2685

@rickeylev rickeylev changed the title fix(python): correctly order the toolchains fix(toolchains): correctly order the toolchains

Apr 4, 2025

rickeylev

Merged via the queue into bazel-contrib:main with commit 3d98aee

Apr 5, 2025

3 checks passed

@aignas aignas deleted the fix/toolchain-order branch

April 5, 2025 13:26