Will mypy work universally again? Or is the list of supported platforms now more or less set in stone?
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 20.6k
- Fork
- 3.3k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
Documentation
ERROR: Could not find a version that satisfies the requirement librt>=0.10.0; platform_python_implementation != "PyPy" (from mypy) (from versions: 0.0.1)
Changelog has been less than on the nose on dropped platform support lately, so.. what is changed about that?
I believe in 1.19 librt became a hard dependency (ImportError) even though as of mypy 2.0.0 it still works without it (sans --incremental). (I created a stub librt/internal.py file; that was all I needed to be able to type check after upgrade, so I know it was not necessary.)
Relatedly, it looks like the more complex non-python dependency ast-serialize is also not strictly needed right now (other than for --native-parser), but current documentation does clarify whether that is just temporarily so (until parsers reach feature parity). Should users expect that some future mypy version will hard-depend on OpenAI-owned code?
Is there a point in either releasing a stub universal python wheel or try/excepting the optional features so mypy remains usable on platforms that cannot use either or both new non-python dependencies?
Or should the Changelog just enumerate positively what arch/platform list now remain, plus maybe an update to the Does it run on PyPy? section?
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
Esamina innanzitutto la voce del changelog collegata e la sezione della documentazione “Does it run on PyPy?”, insieme alle note attuali su librt e ast-serialize. Il lavoro è completato quando sono documentate le piattaforme supportate e se queste dipendenze sono opzionali o obbligatorie, inclusa qualsiasi chiarificazione necessaria nel changelog.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- devtools, documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100