bazel-contrib / bazel-contrib/rules_python

Allow using environment variables to set basic defaults for repos

Abierto
#3,198 0 comentarios 0 reacciones 0 asignados Ver en GitHub
core-rules type: feature request type: toolchain
Lenguaje dominante
Starlark
Estrellas
688
Forks
721
Merge medio
15 h 7 min
PR fusionados (30 d)
76

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
build-system
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.