bazel-contrib / bazel-contrib/rules_python

Allow using environment variables to set basic defaults for repos

Ouverte
#3,198 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
core-rules type: feature request type: toolchain
Langage dominant
Starlark
Étoiles
688
Forks
721
Merge moyen
15 h 7 min
PR mergées (30 j)
76

Description

While looking at the JAX project, a somewhat convenient feature they have is setting an environment variable to override the URL and sha that is used.

This does seem like a pretty convenient and low-overhead way to quickly switch up the URL used if you're playing around with the toolchain. Much easier than figuring out the `python.single_version_platform_override()` apis. As an example, it would have made it easier to test the new python-build-standalone builds that changes the linking of tk/tcl libs.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start with the python.single_version_platform_override() APIs and the JAX behavior described in the issue. Determine how environment variables should override the repository URL and sha, including their names and precedence; done means users can switch those defaults without using the APIs.

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

Évaluation

Stack technique
python
Domaine
build-system
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

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