Sitelet https://github.com/python/cpython/issues/116145
Skip to content

Update installers to Tcl/Tk 8.6.14 #116145

Activity

  1. added a commit that references this issue on Feb 29, 2024
  2. added a commit that references this issue on Mar 12, 2024
  3. hugovk commented on Mar 15, 2024

    @hugovk
    Member

    The linked PR is merged, is there more to do or can this issue be closed? Thanks!

  4. ned-deily commented on Mar 15, 2024

    @ned-deily
    Member

    The linked PR is merged, is there more to do or can this issue be closed? Thanks!

    I believe the Windows build needs to be updated to use the new version (PCbuild/get_externals.bat and PCbuild/tcltk.props). @zooba @zware

  5. zooba commented on Mar 19, 2024

    @zooba
    Member

    Yeah, Windows is not done yet. I should have time later today to bring in the new sources and set the build up.

  6. added a commit that references this issue on Mar 19, 2024
  7. zooba commented on Mar 19, 2024

    @zooba
    Member

    It looks like something has changed in Tkinter as a result of the new version. @terryjreedy is this something you can look into? You can see the build results on #117030

  8. added a commit that references this issue on Mar 25, 2024
  9. added a commit that references this issue on Apr 17, 2024
  10. added a commit that references this issue on May 31, 2024
  11. added a commit that references this issue on May 31, 2024
  12. added
    3.12only security fixes
    3.13only security fixes
    3.14bugs and security fixes
    on May 31, 2024
  13. 1 remaining item

  14. terryjreedy commented on May 31, 2024

    @terryjreedy
    Member

    @zooba I have no record or recollection of receiving your Mar 20 note. I just read the release announcement and don't see any problem at least with IDLE. I will do some manual testing after updating. Glad to see update in both 3.13 and 3.14. Fine to leave 3.12 alone.

  15. serhiy-storchaka commented on Jun 1, 2024

    @serhiy-storchaka
    Member

    8.6.14 is a bugfix release, and it can contain changes affecting Tkinter users. https://wiki.tcl-lang.org/page/Changes+in+Tcl%2FTk+8%2E6%2E14

    Is there a way for Windows and macOS users to update Tcl/Tk separately? If they can only use the version shipped with Python, we should provide the last stable bugfix release.

  16. added a commit that references this issue on Jun 1, 2024
  17. ned-deily commented on Jun 1, 2024

    @ned-deily
    Member

    If they can only use the version shipped with Python, we should provide the last stable bugfix release.

    Thanks for the reminder, @serhiy-storchaka. This should have been backported earlier to 3.12.x for the macOS installer but I guess I was waiting to see if any issues arose with the 3.13 alphas. PR #119922 will be merged for the upcoming 3.12.4 release.

  18. added a commit that references this issue on Jun 1, 2024
  19. aivarannamaa commented on Jun 12, 2024

    @aivarannamaa
    Contributor

    The discussion under PR-s is confusing for me, so I'll ask here -- is Tcl/Tk 8.6.14 coming for Python 3.12 Windows installers? 3.12.4 seems to be still with 8.6.13.

  20. added a commit that references this issue on Jun 12, 2024
  21. added a commit that references this issue on Jul 11, 2024
  22. added a commit that references this issue on Jul 17, 2024
  23. marcelotduarte commented on Aug 6, 2024

    @marcelotduarte

    There is an error in tkinter.Tk()

    $ python
    Python 3.13.0rc1 (tags/v3.13.0rc1:e4a3e78, Jul 31 2024, 20:58:38) [MSC v.1940 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import tkinter
    >>> tkinter.TkVersion
    8.6
    >>> tkinter.TclVersion
    8.6
    >>> tkinter.Tk()
    Traceback (most recent call last):
      File "<python-input-7>", line 1, in <module>
        tkinter.Tk()
        ~~~~~~~~~~^^
      File "C:\Python313-64\Lib\tkinter\__init__.py", line 2459, in __init__
        self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
                  ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    _tkinter.TclError: Can't find a usable init.tcl in the following directories:
        C:/Python313-64/lib/tcl8.6 C:/lib/tcl8.6 C:/lib/tcl8.6 C:/library C:/library C:/tcl8.6.14/library C:/tcl8.6.14/library
    
    
    
    This probably means that Tcl wasn't installed properly.
    

    The correct path to search is C:/Python313-64/tcl/tcl8.6. In python 3.12.4 is C:/Python312-64/tcl/tcl8.6 also.

  24. terryjreedy commented on Aug 7, 2024

    @terryjreedy
    Member

    Same binary, some Python commands, Win10, works fine for me.

    >>> import tkinter
    >>> tkinter.Tk()
    <tkinter.Tk object .>
    

    No idea why the difference.

  25. terryjreedy commented on Aug 7, 2024

    @terryjreedy
    Member

    IDLE works normally and reports 8.6.14, as expected.

  26. marcelotduarte commented on Aug 7, 2024

    @marcelotduarte

    I experienced this error using GHA for testing cx_Freeze.
    So I installed it in a VM with W11 to test.
    The difference may be that I didn't install python for all users, like GH.
    The error in GHA:

    File "C:\Users\runneradmin\.local\venv\cxfreeze_tkinter_win-amd64_313\Lib\site-packages\cx_Freeze\hooks\tkinter.py", line 35, in load_tkinter
          root = tkinter.Tk(useTk=False)
        File "C:\hostedtoolcache\windows\Python\3.13.0-rc.1\x64\Lib\tkinter\__init__.py", line 2459, in __init__
          self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
                    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      _tkinter.TclError: Can't find a usable init.tcl in the following directories: 
          C:/hostedtoolcache/windows/Python/3.13.0-rc.1/x64/lib/tcl8.6 C:/hostedtoolcache/windows/Python/3.13.0-rc.1/lib/tcl8.6 C:/hostedtoolcache/windows/Python/lib/tcl8.6 C:/hostedtoolcache/windows/Python/3.13.0-rc.1/library C:/hostedtoolcache/windows/Python/library C:/hostedtoolcache/windows/Python/tcl8.6.14/library C:/hostedtoolcache/windows/tcl8.6.14/library
      
      
      
      This probably means that Tcl wasn't installed properly.
  27. zware commented on Oct 21, 2024

    @zware
    Member

    I'm going to go ahead and mark this as complete. For posterity, v3.13.0 shipped with Tcl/Tk v8.6.14 on Windows and macOS; v3.12.4-v3.12.7 have Tcl/Tk v8.6.14 on macOS and v8.6.13 on Windows. v3.13.1 and v3.12.8 will have Tcl/Tk v8.6.15 on both platforms; v3.12.8 will have Tix v8.4.3 as built against Tcl/Tk v8.6.13 on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13only security fixes3.14bugs and security fixes

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions