macOS Rework Umbrella

Aperta
#32,176 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
macos, python
Ambito
desktop

Direzione di ricerca

Inizia esaminando le PR di fase elencate in questa issue ombrello, quindi ispeziona le issue e gli elementi di lavoro rimanenti, inclusi test_backend_macosx.py, _fix_ipython_backend2gui e #32314. Il lavoro è completato quando sono stati affrontati il refactoring in sospeso del backend macOS, il lavoro sulla compatibilità e sulla deprecazione, i test, la documentazione, le label e il passaggio predefinito di macos.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

GUI: MacOSX OS: Apple

This is an umbrella issue to keep track of the macOS Rework PRs and outstanding issues.

Pull Requests

Each phase depends on the previous phase's pull requests.

Phase 1
Pull Request Description
#32161 - Initial Closes #31770
Closes #31813
Closes #31875
Closes #31933
Phase 2
Pull Request Description
#32361 - App Icon Closes #31895
#32362 - Button Release Closes #31899
#32363 - Event Loop Closes #30419
#32364 - Subplot Tool Native subplot tool. Closes #27592
#32369 - Timers Mimic QTimer. Helps with #29029 and #29062
#32365 - Toolbar Cosmetic changes to toolbar buttons.
Phase 3
Pull Request Description
Pending - Threading Closes #31968. Fixes issues on free-threaded build.

Remaining Issues (no PR planned yet)

#32041 - This involves a simple compatibility shim, deprecation warning, and notifying other projects. Likely not applicable if we keep "macosx" in 3.12 and deprecate the whole backend.

Remaining work without issues or PRs:

  • Research IPython and the mapping between "macosx"/"macos"/"osx" in _fix_ipython_backend2gui.
  • "test_backend_macosx.py" should probably become "test_backend_macos.py", and a new "test_backend_macosx.py" goes in to test deprecation notices and/or the compatibility shim.
  • Only install PyOS_InputHook when we also install our app delegate (see #32314). Add API to manually install our input hook, if desired. Adjust app delegate instantiation - should it only occur if we enter _macos__init with no NSApp?
  • Documentation changes / API Notes / Release Notes
  • Change "GUI: MacOSX" label to "GUI: macOS".
  • Actual switchover from macosx to macos as default
Lingua principale
Python
Stelle
23.2k
Fork
8.5k
Merge medio
1g 6h
PR unite (30g)
68

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di matplotlib/matplotlib

Tutte le issue di matplotlib/matplotlib

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.