Tk broken with Python 3.7 on macOS 10.15 · Issue #5511 · actions/runner-images · GitHub
Skip to content

Tk broken with Python 3.7 on macOS 10.15 #5511

Description

@QuLogic

Description

On the mentioned system, loading tk has started failing with:

E             File "/Users/runner/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/tkinter/__init__.py", line 2025, in __init__
E               self._loadtk()
E             File "/Users/runner/hostedtoolcache/Python/3.7.13/x64/lib/python3.7/tkinter/__init__.py", line 2040, in _loadtk
E               % (_tkinter.TK_VERSION, tk_version))
E           RuntimeError: tk.h version (8.6) doesn't match libtk.a version (8.5)

This used to work on the image from ~1 week ago.

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 10.15
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Current image version: 20220501.1

https://dev.azure.com/matplotlib/matplotlib/_build/results?buildId=25698&view=logs&j=2a0d89e6-f0af-5d93-2ea5-38c6235c2d51&t=cb21fa9b-a1c3-57fa-90e9-7d9d0311b902&l=381

Is it regression?

Previously working image version: 20220424.1
https://dev.azure.com/matplotlib/matplotlib/_build/results?buildId=25635&view=logs&j=0de6cdcb-72d7-5519-795d-247cd4b3fb83

Expected behavior

No response

Actual behavior

No response

Repro steps

See matplotlib build in links above.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions