rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Add ability for Bazel >=5.0.0 users to use downloaded py interpreter in py_binary stub script

Open thundergolfer opened this issue 3 years ago • 0 comments

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

Other information

thundergolfer avatar May 11 '22 04:05 thundergolfer