bazel-contrib / bazel-contrib/rules_python

Use public rules_testing APIs once available

Ouverte
#1,297 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
cleanup
Langage dominant
Starlark
Étoiles
688
Forks
721
Merge moyen
15 h 7 min
PR mergées (30 j)
76

Description

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)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
build-system, testing
Type d'issue
Refactorisation
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
42/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.