mu-editor / mu

A small, simple editor for beginner Python programmers. Written in Python and Qt5.
http://codewith.mu
GNU General Public License v3.0
1.41k stars 435 forks source link

Running Mu with Python 3.9 #1754

Open carlosperate opened 3 years ago

carlosperate commented 3 years ago

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:

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:

Windows compatibility:

dhalbert commented 2 years ago

Ubuntu 22.04 will have python 3.10 installed as the default.

kmpm commented 1 week ago

Bumping this since 3.8 is EOL since October 7, 2024