bazel-contrib / bazel-contrib/rules_python

Use RunEnvironmentInfo instead of testing.TestEnvironment

Aperta
#901 2 commenti 0 reazioni 1 assegnatario Rivendicata da @rickeylev Vedi su GitHub
cleanup help wanted type: toolchain
Lingua principale
Starlark
Stelle
688
Fork
721
Merge medio
15h 7m
PR unite (30g)
76

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 per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.