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 — Tkinter tests fail with Tk 8.7, 9.0 and 9.1 · Issue #145736 · python/cpython

Tkinter tests fail with Tk 8.7, 9.0 and 9.1 #145736

New issue
Copy link
New issue
Copy link
Closed
Closed
Tkinter tests fail with Tk 8.7, 9.0 and 9.1#145736
Copy link
Labels
3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@serhiy-storchaka
serhiy-storchaka
opened on Mar 10, 2026
Issue body actions

I build Python with the latest versions of Tk 8.7, 9.0 and 9.1. Multiple Tkinter tests fail (mostly the configure tests). Last time the tests were updated for pre-release version of Tk 8.7, this can be reason. Also, some fine details can be changed in bugfix releases.

Looking at the code, the past attempts to fix tests for 8.7 and 9.0 make some cases to be just omitted for new Tk versions, or replaced by tests for already covered cases. I tried to fix this too, and simplify the tests code.

Linked PRs

  • gh-145736: Fix Tkinter tests for Tk 8.7, 9.0 and 9.1 #145738
  • [3.14] gh-145736: Fix Tkinter tests for Tk 8.7, 9.0 and 9.1 (GH-145738) #145841
  • [3.14] gh-145736: Fix test_tkinter test_configure_values test case backport miss for Tk 9. #149435

Activity

  1. serhiy-storchaka
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    topic-tkinter
    3.14bugs and security fixesbugs and security fixes
    3.15bugs and security fixesbugs and security fixes
    on Mar 10, 2026
  2. serhiy-storchaka
    added a commit that references this issue on Mar 10, 2026

    pythongh-145736: Fix Tkinter tests for Tk 8.7, 9.0 and 9.1

    77f1905
  3. ned-deily commented on Mar 10, 2026

    @ned-deily
    ned-deily
    on Mar 10, 2026
    Member
    More actions

    For the record, Tcl/Tk 8.7 was never officially released, with development abandoned after 8.7a5 (June 18, 2021). So we shouldn't worry about whether tests fail for it.

  4. serhiy-storchaka commented on Mar 10, 2026

    @serhiy-storchaka
    serhiy-storchaka
    on Mar 10, 2026
    MemberAuthor
    More actions

    Ah, that's why the tests mostly used 9.0 as the threshold. Anyway, after making the tests passing on all four versions, keeping support for 8.7 is not a large burden.

  5. StanFromIreland
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Mar 10, 2026
  6. serhiy-storchaka
    added 3 commits that reference this issue on Mar 11, 2026

    gh-145736: Fix Tkinter tests for Tk 8.7, 9.0 and 9.1 (GH-145738)

    77d6d5d

    [3.14] pythongh-145736: Fix Tkinter tests for Tk 8.7, 9.0 and 9.1 (py…

    e003800

    [3.14] gh-145736: Fix Tkinter tests for Tk 8.7, 9.0 and 9.1 (GH-145738)…

    a778fd6
  7. serhiy-storchaka
    closed this as completedon Mar 12, 2026
  8. ljfp
    added a commit that references this issue on Apr 25, 2026

    pythongh-145736: Fix Tkinter tests for Tk 8.7, 9.0 and 9.1 (pythonGH-…

    3d5cd22
  9. ned-deily
    added 2 commits that reference this issue on May 5, 2026

    pythongh-145736: Fix test_tkinter test_configure_values test case bac…

    0acbeae

    [3.14] gh-145736: Fix test_tkinter test_configure_values test case ba…

    ff0aa91
  10. serhiy-storchaka
    added a commit that references this issue on Jul 11, 2026

    [3.13] gh-128846: Make tkinter tests robust against Tcl/Tk 9.0 (GH-15…

    59e183c
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.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-tkintertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    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.