Tkinter apps can't be distributed on the macOS App Store
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
Bug report
Bug description:
If you use tkinter in your app, and package the app for distribution in the macOS App Store, the app will be rejected with a message to the effect that:
Guideline 2.5.1 - Performance - Software Requirements
Your app uses or references the following non-public or deprecated APIs:
Contents/Frameworks/Python.framework/Versions/3.12/lib/libtk8.6.dylib
Symbols:
• _NSWindowDidOrderOnScreenNotification
The use of non-public or deprecated APIs is not permitted on the App Store, as they can lead to a poor user experience should these APIs change and are otherwise not supported on Apple platforms.
(or similar).
This appears to be a known issue in Tk.
This ticket is mostly to log the issue as something that can affect macOS users; there's not much we can do to fix it until such time as Tk fixes the problem and releases the fix in a version that Python can incorporate into a release (or, I guess, Apple changes their App Store review policies).
CPython versions tested on:
3.14, 3.13, 3.12, 3.11, 3.10, 3.9, CPython main branch
Operating systems tested on:
macOS
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Der Bericht nennt keine CPython-Datei und keinen Test; beginne damit, den verlinkten Tk-Issue zu lesen und die Ablehnung im macOS App Store über die aufgeführten Python-Versionen hinweg zu vergleichen. Als erledigt würde gelten, dass ein Tk-Fix veröffentlicht und in CPython integriert wird oder dass Apple seine Prüfungsrichtlinie ändert; im Issue steht, dass derzeit kein CPython-Fix verfügbar ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- macos, python
- Bereich
- desktop, operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100