GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove deprecated tkinter.tix module · Issue #75552 · python/cpython

Remove deprecated tkinter.tix module #75552

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove deprecated tkinter.tix module#75552
Copy link
Labels
3.13only security fixesonly security fixesOS-windowstopic-tkinter

Description

@ned-deily
ned-deily
opened on Sep 6, 2017
Issue body actions
BPO 31371
Nosy @rhettinger, @pfmoore, @taleinat, @tjguk, @jkloth, @ned-deily, @zware, @serhiy-storchaka, @zooba
PRs
  • bpo-31371: Remove Tix #3393
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-09-06.14:42:24.327>
    created_at = <Date 2017-09-06.21:33:20.186>
    labels = ['expert-tkinter', 'OS-windows']
    title = 'Remove deprecated tkinter.tix module'
    updated_at = <Date 2018-09-06.14:42:24.324>
    user = 'https://github.com/ned-deily'

    bugs.python.org fields:

    activity = <Date 2018-09-06.14:42:24.324>
    actor = 'zach.ware'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-09-06.14:42:24.327>
    closer = 'zach.ware'
    components = ['Tkinter', 'Windows']
    creation = <Date 2017-09-06.21:33:20.186>
    creator = 'ned.deily'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31371
    keywords = []
    message_count = 5.0
    messages = ['301524', '301545', '301570', '324670', '324695']
    nosy_count = 9.0
    nosy_names = ['rhettinger', 'paul.moore', 'taleinat', 'tim.golden', 'jkloth', 'ned.deily', 'zach.ware', 'serhiy.storchaka', 'steve.dower']
    pr_nums = ['3393']
    priority = 'normal'
    resolution = 'later'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31371'
    versions = []

    Linked PRs

    • gh-75552: Remove deprecated tkinter.tix module #104902

    Activity

    1. ned-deily commented on Sep 6, 2017

      @ned-deily
      ned-deily
      on Sep 6, 2017
      MemberAuthor
      More actions

      Tix is an old Tk widget extension set that has long been superseded by the ttk widgets that were added in Tk 8.5, officially released 10 years ago and since superseded by Tk 8.6. Tix was useful for users of Tk 8.4 but tkinter is no longer built, tested, or supported with 8.4. Despite that, we have continued to build and ship Tix with the python.org Windows installers. The last maintenance release of Tix was in 2008.

      As of Python 3.6.0 (https://docs.python.org/3.6/library/tkinter.tix.html), we documented tkinter.tix as:

      Deprecated since version 3.6: This Tk extension is unmaintained
      and should not be used in new code. Use tkinter.ttk instead.

      For 3.7, I believe it is time to remove both tkinter.tix and the building of Tix in the Windows builds.

    2. ned-deily
      added
      3.7 (EOL)end of lifeend of life
      topic-tkinter
      OS-windows
      on Sep 6, 2017
    3. zware
      changed the title [-]Remove deprecated tkinter.ttx module in 3.7[/-] [+]Remove deprecated tkinter.tix module in 3.7[/+] on Sep 6, 2017
    4. rhettinger commented on Sep 6, 2017

      @rhettinger
      rhettinger
      on Sep 6, 2017
      Contributor
      More actions

      +1 for removal.

    5. serhiy-storchaka commented on Sep 7, 2017

      @serhiy-storchaka
      serhiy-storchaka
      on Sep 7, 2017
      Member
      More actions

      According to PEP-4, "In order to facilitate writing code that works in both Python 2 & 3 simultaneously, any module that exists in both Python 3.5 and Python 2.7 will not be removed from the standard library until Python 2.7 is no longer supported as specified by PEP-373." Is there a reason for haste? The Tix library still is included in recent versions of Linux distributives and should be compatible with Tcl 8.6.

      Ttk is not direct replacement of Tix. They provide different sets of widgets. May be you meant Tile, the predecessor of ttk?

    6. taleinat commented on Sep 6, 2018

      @taleinat
      taleinat
      on Sep 6, 2018
      Contributor
      More actions

      We should decide on this.

      I agree with Serhiy that in accordance with PEP-4, as long as Tix still works, we should keep it.

    7. zware commented on Sep 6, 2018

      @zware
      zware
      on Sep 6, 2018
      Member
      More actions

      We missed the boat for 3.7 anyway.

      With the PEP-4 argument, I won't push any further for ripping Tix out completely before 2020, but if something happens to break building it on Windows before then my fix will be to remove it from the Windows build.

    8. zware
      removed
      3.7 (EOL)end of lifeend of life
      on Sep 6, 2018
    9. zware
      closed this as completedon Sep 6, 2018
    10. zware
      changed the title [-]Remove deprecated tkinter.tix module in 3.7[/-] [+]Remove deprecated tkinter.tix module[/+] on Sep 6, 2018
    11. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    12. zware commented on May 24, 2023

      @zware
      zware
      on May 24, 2023
      Member
      More actions

      The time is ripe. tkinter.tix has been deprecated in documentation since 3.6, has emitted DeprecationWarning on import since 3.11 in accordance with PEP-387, and with Python 2.7 long dead (for us, anyway :)) PEP-4 (since rewritten) is no longer a concern.

      Reacted by Tal Einat
    13. zware
      reopened this on May 24, 2023
    14. zware
      added 5 commits that reference this issue on May 24, 2023

      pythongh-75552: Remove deprecated tkinter.tix module

      9cdfb30

      pythongh-75552: Remove deprecated tkinter.tix module

      5a64eda

      pythongh-75552: Remove deprecated tkinter.tix module

      72026c5

      pythongh-75552: Remove deprecated tkinter.tix module

      e7abc51

      pythongh-75552: Remove deprecated tkinter.tix module

      7324d7b
    15. zware
      added
      3.13only security fixesonly security fixes
      on May 25, 2023
    16. zware
      added 3 commits that reference this issue on May 26, 2023

      pythongh-75552: Remove deprecated tkinter.tix module

      94b3087

      pythongh-75552: Remove deprecated tkinter.tix module

      450cc5e

      gh-75552: Remove deprecated tkinter.tix module (GH-104902)

      a989b73
    17. zware
      closed this as completedon May 27, 2023
    18. taleinat commented on Jun 1, 2023

      @taleinat
      taleinat
      on Jun 1, 2023
      Contributor
      More actions

      For anyone looking for more details on the reasoning behind this removal, @zware's comment on the PR explains this well:

      Tix has been unmaintained for 10 years now, has open security vulnerabilities, and every update of anything in our toolchain risks breaking it. If you still need it, it's open source and can be vendored into your project or maintained separately, but we will no longer provide it out of the box as of Python 3.13.

    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.13only security fixesonly security fixesOS-windowstopic-tkinter

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.