This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
Support multiple python versions in py3_image's py_binary #2243
Labels
Can Close?
Will close in 30 days unless there is a comment indicating why not
🚀 feature request
Relevant Rules
py3_image
Description
We have multiple versions of python toolchains installed with
python_multi_register_toolchains
Current implementation of
py3_image
always importspy_binary
from@rules_python//python:def.bzl
. This results inpy_binary
using the default version used inpython_multi_register_toolchains
and there aren't ways to specify other python version.rules_docker/python3/image.bzl
Lines 96 to 102 in 6db7c12
Describe the solution you'd like
Not sure what the solution could look like 🤔
Describe alternatives you've considered
I'm using a temporarily patch to use other version's toolchain for now:
The text was updated successfully, but these errors were encountered: