Add self-reporting of PEP 425 tags to sysconfig
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 36k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
Feature or enhancement
Add pep425_python_tag(), pep425_abi_tag() and pep425_platform_tag() functions to sysconfig so the interpreter can self report.
Pitch
(Explain why this feature or enhancement should be implemented and how it would be used.
Add examples, if applicable.)
PEP 425 proposed three compatibility tags for wheel name formats: "python tag", "abi tag" and "platform tag". These are used when generating the name of a wheel to upload to PyPI and in selecting a wheel to install. Over time generation of these tags was delegated to pypa/packaging/tags.py which probes the current interpreter for information using various heuristics to generate the proper tags. This should be the job of the interpreter to self report.
Previous discussion
This came out of this comment in a PR to change the abi-tag determination, and also would provide the interfaces requested in this PR, this PR, and maybe even this pr.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia leggendo il link a PEP 425 e l’implementazione referenziata di packaging/tags.py, quindi esamina il modulo sysconfig esistente e i relativi test. Definisci come le tre funzioni sysconfig proposte debbano riportare i tag di compatibilità dell’interprete e considera le richieste collegate di packaging prima di considerare concluso il lavoro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- build-system
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100