Running Mu with Python 3.9
Mu currently only runs with Python 3.5 to 3.8. Python 3.9 (and the upcoming 3.10) are not yet supported due to some dependencies.
Ubuntu 21.04 and Debian 11 both have 3.9 as the default python3 version.
This issue has been created to track the Python 3.9 compatibility port.
WIP PR: https://github.com/mu-editor/mu/pull/1272
Incompatible dependencies
As pinned in setup.py:
- PyQt5==5.13.2
- First wheel with Python 3.9 support: v5.15.1
- Qt 5.15 (vs v5.13) drops support for macOS 10.12 Sierra
- We still have users with this OS as shown by https://github.com/mu-editor/mu/issues/1683
- There is an issue in v5.15.x about a missing library on Linux
- More info in its own section below
- QScintilla==2.11.3
- First wheel with Python 3.9 support: v2.11.6
- PyQtChart==5.13.1
- First wheel with Python 3.9 support: v5.15.1
- There is an issue in v5.15.x about a missing library on Linux
The dependencies in wheel/__init__.py are either pure python or pinned to a range instead of a specific version. Their dependencies don't seem to have issues installing Python 3.9 either.
Qt missing library on Linux
WIP: https://github.com/mu-editor/mu/pull/1272#issuecomment-779130848 https://github.com/mu-editor/mu/pull/1272#issuecomment-878496376 https://github.com/mu-editor/mu/pull/1272#issuecomment-878513873
Possible workaround:
sudo apt install libxcb-xinerama0
https://packages.ubuntu.com/bionic/libxcb-xinerama0
Other Issues
pip requirements:
- Current minimum pip version to install mu-editor: 9.0
- This does not include the dev dependencies
- Current minimum pip version to install mu-editor dev dependencies: 19.0
- PyQt5 v5.15.x wheels have moved to the
manylinux2014format, no longer publishing wheels formanylinux2010 - Minimum pip version supporting
manylinux2014: 19.3 - So, the minimum pip version to install mu will increase from v9.0 to v19.3.
Windows compatibility:
- Python 3.9 has dropped support for Windows 7 https://www.python.org/downloads/windows/
Ubuntu 22.04 will have python 3.10 installed as the default.
Bumping this since 3.8 is EOL since October 7, 2024