mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:45:53 +01:00
[PR #2181] leonida_mods gui: on macOS, the missing-Tkinter hint names Homebrew's python-tk@<version> (MODS-GUI-TKINTER-HINT-MACOS) #2185
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2185
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2181
Author: @Tauwni
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:fix/mods-gui-tkinter-hint-macos📝 Commits (2)
1c06996leonida_mods gui: on macOS, the missing-Tkinter hint names Homebrew's python-tk@1df0a2fMerge main into fix/mods-gui-tkinter-hint-macos📊 Changes
3 files changed (+26 additions, -1 deletions)
View changed files
📝
docs/modding.md(+1 -1)📝
tests/test_leonida_mods.py(+22 -0)📝
tools/leonida_mods.py(+3 -0)📄 Description
Claimed in the coordination issue as: MODS-GUI-TKINTER-HINT-MACOS (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7181368606)
What and why
Homebrew's Python ships without Tkinter: it's a separate formula,
[email protected], one per Python version. So on a Mac,./Mods.shstops with a Linux hint:On macOS the hint now names the formula for the Python that's running:
docs/modding.mdsays it too. The Windows and Linux hints are unchanged.Mods.shis untouched, because #1942 changes it.Tested
Apple M3, macOS 26.5.1, Homebrew Python 3.10, 3.12, 3.14 and 3.15: none of them can import
tkinter. On 3.14,brew install [email protected]is enough to makeimport tkinterwork (Tk 9.1). Newtest_missing_tkinter_names_the_platform_packagechecks the three hints.tests/test_leonida_mods.pyis OK on 3.12 and 3.15, and so are the docs tests.AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.