bazel-contrib/rules_python

Use RunEnvironmentInfo instead of testing.TestEnvironment

Open

#901 aperta il 28 nov 2022

Vedi su GitHub
 (2 commenti) (0 reazioni) (1 assegnatario)Starlark (705 fork)auto 404
cleanuphelp wantedtype: toolchain

Metriche repository

Star
 (679 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor