-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.7.13 macOS: tk.h version (8.6) doesn't match libtk.a version (8.5) #402
Comments
Okay, so it looks like the issue is specifically contained with 3.7.13, versions 3.7.12 and .11 work on macOS (the Windows issues on this run are due to these specific Python 3.7 versions not being available on Windows): |
The issue is the Python build used in the GitHub Action actions/setup-python. actions/setup-python#402
Hello @carlosperate @marko-zivic-93 please remove needs triage tag, this issue is confirmed bug |
Based on new latest test runs, this has now spread to Python 3.8 on GitHub Actions as well. |
I just found this too, I have a reproducer here with an example run. The pattern of failures looks like Except for the last one, all of the failures are
(the last one is about We started seeing this on our team two weeks ago, when it only affected the 3.7 environment, then this week it became 3.7 and 3.8, which makes me suspect strongly something got rebuilt and it's a bug in the runner environment. Oddly, this exactly same error was fixed 7 years ago(!) in brew: Homebrew/legacy-homebrew#41728. Did GitHub accidentally reproduce this bug? Are they using brew packages from way back then? |
Current workaround is to fix the patch version of the python to 3.7.12
Apparently we have some interference between system Tk |
Description:
There seems to be a mistmatch between the tkinter versions with Python 3.7 on macOS.
Action version:
v3
Which at the time of writting is v3.1.2
Platform:
Runner type:
Tools version:
Repro steps:
This simple script opens a tkinter window and closes it after 5 seconds:
With this workflow:
Works in all Python versions and operating systems except 3.7 on macOS:
Expected behavior:
The Python script to run without throwing an exception
Actual behavior:
An exception thrown by Python:
The text was updated successfully, but these errors were encountered: