[Bug]: python_version
silently fall backs to a default toolchain in case it is unable to find specified version
#363
Labels
bug
Something isn't working
What happened?
I expect to get an error when
rules_py
can't find configured toolchain for the specified python version.I also expect examples to pin minor version (e.g.
"3.10"
) instead of full version("3.10.13"
) to accommodate for future patch version upgrades byrules_python
. (e.g. it can silently bump patch versions)Version
Development (host) and target OS/architectures:
Output of
bazel --version
: 7.0.2Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file:HEAD
(v0.7.3+
)Language(s) and/or frameworks involved:
How to reproduce
Any other information?
Please note that silently switching to the default toolchain and specifying full version ("3.10.13") will result in poor user experience after
rules_python
bumps the default version for3.10
interpreter in MINOR_MAPPINGThe text was updated successfully, but these errors were encountered: