bazel-contrib / bazel-contrib/rules_python

Use public rules_testing APIs once available

Offen
#1,297 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
cleanup
Vorherrschende Sprache
Starlark
Sterne
688
Forks
721
Ø Merge
15 Std. 7 Min.
Gemergte PRs (30 T.)
76

Beschreibung

PR #1287 introduces several usages of private APIs and yet-to-be-released APIs in rules_testing.

This issue is to track updating the rules_python code to use those apis once they are public and released in rules_testing.

* [ ] tests/cc/py_cc_toolchain/py_cc_toolchain_tests.bzl -- Use DictSubject.get once available (https://github.com/bazelbuild/rules_testing/issues/51)
* [ ] tests/default_info_subject.bzl -- Use runfiles subject once available (https://github.com/bazelbuild/rules_testing/issues/54)
* [ ] tests/default_info_subject.bzl -- use default info subject once available (https://github.com/bazelbuild/rules_testing/issues/52)
* [ ] tests/py_cc_toolchain_info_subject.bzl -- Use dict subject once available (https://github.com/bazelbuild/rules_testing/issues/54)
* [ ] tests/py_cc_toolchain_info_subject.bzl -- Use str subject once available (https://github.com/bazelbuild/rules_testing/issues/54)
* [ ] tests/struct_subject.bzl -- use struct subject once available (https://github.com/bazelbuild/rules_testing/issues/53)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by checking rules_testing issues 51–54 and their release status, then inspect the listed .bzl files for the current private or unreleased API usages. Update each usage once the corresponding public APIs are available, and verify the affected rules_python tests pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
build-system, testing
Issue-Typ
Refactoring
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

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