bazel-contrib / bazel-contrib/rules_python

Support PEP 739 (build-details.json)

Abierto
#3,035 0 comentarios 0 reacciones 0 asignados Ver en GitHub
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

I came across PEP 739 (https://peps.python.org/pep-0739/), which says that, starting in Python 3.14, there will be a build-details.json that gives information about the Python runtime.

There's a variety of things in it. Most of them are relevant to defining a toolchain.

For local toolchains, it looks like it can be used to get the necessary information for the toolchain _without_ running Python.

For remote toolchains, it seems less useful, but there's some info that might still be helpful. It's less useful because things like e.g. Python version have to be known before the repo that triggers a download is referenced. Populating the abi flags some of that lower level info would still be helpful, though.

* language.version_info -- Tells which Python versio
* abi.flags, extension_suffix, implementation
* libpython
* c_api

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reading PEP 739 and reviewing the current rules_python toolchain behavior, especially how local and remote runtimes are described. Clarify which build-details.json fields should be supported and how they map to each toolchain mode; done should include agreed scope and corresponding validation.

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

Evaluación

Stack tecnológico
python
Área
build-system, tooling
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.