Outdated Tkinter Version (macOS)
See original GitHub issueDescribe the bug Hey there, I’m using Github’s Action feature to automatically build and create a release of my cross-platform (macOS & windows) Python tkinter project, using pyinstaller. However, when executing the app that was built for macOS, a deprecated warning that says: “DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don’t rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.” was shown. When I checked the tkinter version of the macOS runner, it turns out the Tkinter version was 8.5, as opposed to the latest version, 8.6.
Which version of the action are you using?
v2
Environment Mac (macos-latest)
Python Versions Python 3.8 & 3.9, haven’t tested other Python versions.
To Reproduce Steps to reproduce the behavior:
- Create a Python script that prints out its version
- Create a YAML workflow that uses the macos-latest as the OS of the runner
- Create a job that runs the python script
- See tkinter version 8.5
Screenshots
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
Hi there. Managed to fixed the issue by manually installing the correct Tkinter version in the action file.
Hello @timothydillan
The problem is not reproduced any more. I am going to close the issue because of there’s no reply for a long time, but please feel free to reopen this issue or create new one in case if the problem still exists.