You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error occurs when installing mal-gui. --> 2026-02-06: This is because Mal-gui uses version 1.x of NumPy, and from Python 3.13 onwards there are only binaries (wheels) for NumPy 2.x. It is true that in this case the host compiler can try to compile the NumPy binary locally, but this may fail and in any case it is a very time-consuming task. Based on this, there are two down-to-Earth options. One is temporary a workaround and the other fixes the problem on the long-term:
1 - Create venv on Python 3.12 or lower: py -3.12 -m venv "name of venv"
2 - Update mal-gui to work with NumPy 2.x
So the task should be:
Pull mal-gui repository
Create a venv for 3.13 (or greater like 3.14)
Install mal-gui with pip install -e . while being in the repository directory and make sure it fails
change numpy to 2.. in the pyproject.toml file
Install mal-gui with pip install -e . again
Make sure it doesn't fail
Run mal-gui and make sure new numpy version didn't break anything
a. If it broke something, we will try to fix it
I have conducted the above-mentioned steps with Python 3.14.3 (latest at the moment of writing this comment). Besides the modification related to numpy, I had to modify other dependencies (their versions) in the pyproject.toml file. @mrkickling please take a look at the pyproject.toml file in the branch associated with this issue here. In the .toml file, should we also change the version number for mal-gui or a change in the dependencies does not justify using a newer version?
For the test I used exampleLang. I opened the tool and tested some of the functionalities of mal-gui. Everything seemed to work fine. I also run pytest and no problem arise. However, many errors were detected when I ran mypy and ruff. We should take a look together into it
Activity
[-]Update to numpy 2.0 to support newer python versions[/-][+]Support python >3.13[/+][-]Support python >3.13[/-][+]Support python >= 3.13[/+]Esantos93 commentedon Mar 19, 2026
I have conducted the above-mentioned steps with Python 3.14.3 (latest at the moment of writing this comment). Besides the modification related to numpy, I had to modify other dependencies (their versions) in the pyproject.toml file. @mrkickling please take a look at the pyproject.toml file in the branch associated with this issue here. In the .toml file, should we also change the version number for mal-gui or a change in the dependencies does not justify using a newer version?
For the test I used exampleLang. I opened the tool and tested some of the functionalities of mal-gui. Everything seemed to work fine. I also run pytest and no problem arise. However, many errors were detected when I ran mypy and ruff. We should take a look together into it
mrkickling commentedon Mar 20, 2026
Awesome, I'll take a look!
mrkickling commentedon Mar 20, 2026
I think mypy and ruff was never sorted out in mal-gui, so that is expected!