bazel-contrib / bazel-contrib/rules_python
Support PEP 739 (build-details.json)
- Langage dominant
- Starlark
- Étoiles
- 688
- Forks
- 721
- Merge moyen
- 15 h 7 min
- PR mergées (30 j)
- 76
Description
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par lire PEP 739 et examiner le comportement actuel de la toolchain rules_python, en particulier la manière dont les runtimes locaux et distants sont décrits. Clarifiez quels champs de build-details.json devraient être pris en charge et comment ils correspondent à chaque mode de toolchain ; done doit inclure le périmètre convenu et la validation correspondante.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- build-system, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100