spack/var/spack/repos/builtin/packages/python/tkinter-3.10.patch
Adam J. Stewart 1a576e732e
Python: default to 3.9 (#27997)
Both [Anaconda](https://www.anaconda.com/products/individual) and [Homebrew](https://formulae.brew.sh/formula/python@3.9) now default to Python 3.9, so Spack should follow suit.

I also added Python 3.10 while I was at it. Confirmed that it builds successfully on macOS 10.15.7 with Apple Clang 12.0.0. I'm unable to test the Cray and Fujitsu patches.

Fixes #27921
2021-12-19 00:08:20 -08:00

12 lines
391 B
Diff

--- a/setup.py 2021-12-06 12:23:39.000000000 -0600
+++ b/setup.py 2021-12-14 10:30:33.000000000 -0600
@@ -2099,6 +2099,8 @@
#
# Detection stops at the first successful method.
+ return False
+
# Check for Tcl and Tk at the locations indicated by _TCLTK_INCLUDES
# and _TCLTK_LIBS environment variables.
if self.detect_tkinter_fromenv():