rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Use RunEnvironmentInfo instead of testing.TestEnvironment

Open rickeylev opened this issue 3 years ago • 2 comments

Code health

Relevant Rules

The upcoming multi-toolchain supporting rules. (see https://github.com/bazelbuild/rules_python/pull/846)

Description

The multi-toolchain supporting rules forward on testing.TestEnvironment, but that name is deprecated, and is replaced by RunEnvironmentInfo.

That symbol is only present in Bazel 5.3+, though, so until support for that is dropped, we have to continue using the old name.

rickeylev avatar Nov 28 '22 17:11 rickeylev

This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_python!

github-actions[bot] avatar May 27 '23 22:05 github-actions[bot]

Maybe we could use bazel-features ruleset here. Anybody wishing to contribute to rules_python could pick this up as this may be a good first issue.

aignas avatar Jan 22 '24 08:01 aignas