setup-python
setup-python copied to clipboard
Python 3.10.11 macOS: tk.h version (8.5) doesn't match libtk.a version (8.6)
Description:
Azure appears to be slowly rolling out image version 20230408.1
. This seems to have hit our Python 3.10 jobs with the error:
RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.6)
This didn't affect the 3.9 job, which is also using the 20230408.1
image.
Action version: 0.214.0
Platform:
- [ ] Ubuntu
- [x] macOS
- [ ] Windows
Runner type:
- [x] Hosted
- [ ] Self-hosted
Tools version: 3.10.11
Repro steps:
https://dev.azure.com/matplotlib/matplotlib/_build/results?buildId=32988&view=logs&j=de24e77b-0042-5832-9c98-cc3b6fa75eaf&t=6ee7601c-9c40-4d21-ae8c-c759c54cae95
Expected behavior: Tk works correctly.
Actual behavior: A runtime error is raised when attempting to import Tk:
RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.6)