rules_python
rules_python copied to clipboard
Add ability for Bazel >=5.0.0 users to use downloaded py interpreter in py_binary stub script
PR Checklist
Please check if your PR fulfills the following requirements:
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features) TODO
PR Type
What kind of change does this PR introduce?
- [ ] Bugfix
- [X] Feature (please, look at the "Scope of the project" section in the README.md file)
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:
What is the current behavior?
Issue Number: https://github.com/bazelbuild/rules_python/issues/691
What is the new behavior?
Bazel users on a version greater than or equal to version 5 will avoid using a system Python interpreter when running py_binary or py_test targets.
Does this PR introduce a breaking change?
- [ ] Yes
- [X] No