bazel-contrib/rules_python

Use RunEnvironmentInfo instead of testing.TestEnvironment

Open

#901 ouverte le 28 nov. 2022

Voir sur GitHub
 (2 commentaires) (0 réactions) (1 assigné)Starlark (705 forks)auto 404
cleanuphelp wantedtype: toolchain

Métriques du dépôt

Stars
 (679 stars)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur