You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have a new directive such as gazelle:python_version to allow user to override python_version attribute in generated py_test and py_binary rules.
Describe alternatives you've considered
Gemini also suggested to use a build_arg to override default generated rules but it doesn't work.
The text was updated successfully, but these errors were encountered:
π feature request
Relevant Rules
Description
Currently I am using bazel and gazelle to manage a mono repo with multiple python projects.
Some of them using python 3.10 and others are using python 3.11.
When using gazelle with rules_python, I need to manually append
python_version=3.11
to generated py_test rule.For example
Describe the solution you'd like
We should have a new directive such as
gazelle:python_version
to allow user to overridepython_version
attribute in generatedpy_test
andpy_binary
rules.Describe alternatives you've considered
Gemini also suggested to use a
build_arg
to override default generated rules but it doesn't work.The text was updated successfully, but these errors were encountered: