bazel-contrib/rules_python

Use RunEnvironmentInfo instead of testing.TestEnvironment

Open

#901 aberto em 28 de nov. de 2022

Ver no GitHub
 (2 comments) (0 reactions) (1 assignee)Starlark (705 forks)auto 404
cleanuphelp wantedtype: toolchain

Métricas do repositório

Stars
 (679 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador