Tkinter apps can't be distributed on the macOS App Store
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Python
- Estrelas
- 77.2k
- Forks
- 35.9k
- Métricas de merge de PRs
- Métricas de PR pendentes
Descrição
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
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
O relatório não menciona nenhum arquivo ou teste do CPython; comece lendo o issue do Tk vinculado e comparando a rejeição da macOS App Store entre as versões listadas do Python. O trabalho estaria concluído quando um fix do Tk fosse lançado e incorporado ao CPython, ou quando a Apple alterasse sua política de revisão; o issue informa que atualmente não há nenhum fix do CPython disponível.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- macos, python
- Domínio
- desktop, operating-systems
- Tipo de issue
- Bug
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100