[MacPorts] #71996: py-tkinter: Links with whichever tk variant was active at build time (was: tk +x11 Not Working as Expected in Python 3.13)

MacPorts noreply at macports.org
Wed Feb 5 05:55:10 UTC 2025


#71996: py-tkinter: Links with whichever tk variant was active at build time
-------------------------+----------------------
  Reporter:  luillo76    |      Owner:  jmroot
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  py-tkinter  |
-------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * keywords:  +x11 =>
 * port:  tk => py-tkinter
 * owner:  (none) => jmroot


Comment:

 It depends on which variant of the tk port was active at the time that
 py313-tkinter was built. If you received a binary of py313-tkinter from
 our server, it was built with tk +quartz.

 To work around the problem, when you have tk installed with the desired
 variant, rebuild py313-tkinter from source, e.g.:

 {{{
 sudo port install tk +x11
 sudo port -ns upgrade --force py313-tkinter
 }}}

 I suspect we will want to change the py-tkinter port to have x11 and
 quartz variants and to depend directly on the tk-x11 and tk-quartz
 subports.

-- 
Ticket URL: <https://trac.macports.org/ticket/71996#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list