Skip to content

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

Description

@serhiy-storchaka

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

Activity

  1. added a commit that references this issue on Mar 10, 2026
  2. ned-deily commented on Mar 10, 2026

    @ned-deily
    Member

    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.

  3. serhiy-storchaka commented on Mar 10, 2026

    @serhiy-storchaka
    MemberAuthor

    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.

  4. added 3 commits that reference this issue on Mar 11, 2026
  5. added a commit that references this issue on Apr 25, 2026
  6. added 2 commits that reference this issue on May 5, 2026
  7. added a commit that references this issue on Jul 11, 2026
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 fixes3.15bugs and security fixestestsTests in the Lib/test dirtopic-tkintertype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions