bazel-contrib/rules_python

Use RunEnvironmentInfo instead of testing.TestEnvironment

Open

#901 geöffnet am 28. Nov. 2022

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Starlark (705 Forks)auto 404
cleanuphelp wantedtype: toolchain

Repository-Metriken

Stars
 (679 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide