[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-12-20 Thread Ned Deily
Ned Deily added the comment: @fxcoudert: If you are trying to link with the Apple-provided system Tcl and Tk frameworks, don't. They have been seriously broken since macOS 10.7 and stuck at Tk 8.5.9. The only visible Apple action has been to deprecate them. Any Python on macOS that claims

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-12-19 Thread FX Coudert
FX Coudert added the comment: Reported to Apple as FB8945560 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-12-19 Thread FX Coudert
FX Coudert added the comment: Hi, Homebrew developer here, we're seeing this with macOS 11.1 and I think it's not a python issue but an Apple's Tcl/Tk issue. The backtrace I have is: 0 libsystem_kernel.dylib 0x7fff2031f462 __pthread_kill + 10 1 libsystem_pthread.dylib

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Christopher Snowhill
Christopher Snowhill added the comment: That command also crashes with the same error. And I already verified with otool -L on the tkinter shared object file that it does indeed link the /System/Library/Frameworks version of both Tcl and Tk. In fact, if I remember correctly, Homebrew's

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Ned Deily
Ned Deily added the comment: If Homebrew links against the Apple-supplied Tcl and Tk frameworks, which are in /System/Library/Frameworks, all bets are off as those are deprecated and hopelessly out-of-date versions of Tcl/Tk 8.5. If tkinter is linked to Tcl and Tk frameworks in

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Christopher Snowhill
Christopher Snowhill added the comment: Sorry about that. I didn't know that Big Sur support wasn't added until post-3.9.0. I'll check if Brew has a newer version now, and even if not, if I can install a Git version for testing. Incidentally, the error is occuring inside either the Tk or

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Ned Deily
Ned Deily added the comment: I've installed the 11.1 beta (of 2020-11-17) on an Intel-64 virtual machine and installed and run the test suite for the recently released 3.9.1rc1 Universal2 binaries from python.org. The tests, including tkinter tests, run similarly to how they do on 11.0.1.

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-28 Thread Christopher Snowhill
Christopher Snowhill added the comment: And I can't report it to Homebrew, either, since they refuse to acknowledge bug reports against beta versions of the OS. I guess I can bug them when 11.1 becomes a stable release, by which time I'll probably be on 11.2. I'll file Feedback with Apple,

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that a python installation created using Mac/BuildScript/build-instalelr.py works fine on macOS 11.0 (I haven't tested on 11.1 beta yet). This may be a problem with homebrew or the way it builds Python and/or Tcl/Tk. --

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: On macOS 11 the system version is reported as 11.x if the binary was build using Xcode 12, and as 10.16.x for older binaries. -- ___ Python tracker

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-27 Thread Ned Deily
Change by Ned Deily : -- components: +macOS -Tkinter nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list

[issue42480] Python Tkinter crashes on macOS 11.1 beta

2020-11-27 Thread Christopher Snowhill
New submission from Christopher Snowhill : The Tkinter module, in a freshly built copy of Python 3.9 built by Brew, using the latest Xcode 12.3 command line tools, crashes on Big Sur 11.1 beta. It emits the following error: macOS 11 or later required ! I believe I recently read on macOS