-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
test_tkinter failing on MacOS #128846
Comments
I also reproduced this on an arbitrary older commit 2fcdc84 (and then b2ac70a) If I go back to ce740d4, which I need to run the GUI tests on my machine, I get a bunch of failures — including what looks like the failures reported here. @smontanaro I don't know if it makes sense that these tests worked yesterday. |
It looks like this is caused by using tk 9.0+, at least on my machine, Brew upgraded to a new version. You can confirm with
In which case, this is part of
I don't think the tests are expected to pass with tk 9 yet. |
Hmmm... This might turn out to be pilot error. I have a config file in my personal build environment which gets Tcl/Tk libs from my Conda env:
Somehow that was dropped from a command recalled from my bash history, so I was picking up 9.0.1. Now that I've corrected my commands, my build on main works and yields the expected version:
I've yet to pull in the correct command on my 3.13 Terminal window, so it still yields the later version:
Would it be worthwhile running this bit of code in the test suite, then skipping the tests if Tcl/Tk v9 was found? |
That seems reasonable to me, but I'd be curious to hear from someone that's a stakeholder for that topic. |
cc @terryjreedy |
This doesn't seem to be the cause of my commit, which passed macOS-related tests. |
@serhiy-storchaka is the tkinter expert, not me. I would like to be able to use 9.0, but I don't know where that stands now. |
Bug report
Bug description:
test_tkinter
is failing on MacOS (Sequoia 15.2, M1 MacBook Pro, in my case). It was working fine yesterday, so without delving into this too deeply, I'm going to suggest this change overnight broke things. See attached log@Xiaokang2022
(FWIW,
test_ttk
is failing for me on 3.13, but not main. It appears to be a different problem.)test_tkinter.log
CPython versions tested on:
CPython main branch, 3.13
Operating systems tested on:
macOS
Linked PRs
The text was updated successfully, but these errors were encountered: