Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tk broken with Python 3.7 on macOS 10.15 #5511

Closed
1 of 8 tasks
QuLogic opened this issue May 9, 2022 · 2 comments
Closed
1 of 8 tasks

Tk broken with Python 3.7 on macOS 10.15 #5511

QuLogic opened this issue May 9, 2022 · 2 comments

Comments

@QuLogic
Copy link

QuLogic commented May 9, 2022

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.

@QuLogic
Copy link
Author

QuLogic commented May 9, 2022

The documentation update suggests this was likely to be either a bug in updating Python 3.7.12 to 3.7.13 or possibly a change in Homebrew from 3.4.7 to 3.4.9.

@mikhailkoliada
Copy link
Contributor

A duplicate of actions/setup-python#402

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

No branches or pull requests

2 participants