bazel-contrib / bazel-contrib/rules_python

Use RunEnvironmentInfo instead of testing.TestEnvironment

Offen
#901 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @rickeylev Auf GitHub ansehen
cleanup help wanted type: toolchain
Vorherrschende Sprache
Starlark
Sterne
688
Forks
721
Ø Merge
15 Std. 7 Min.
Gemergte PRs (30 T.)
76

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.