Skip to content

Support python >= 3.13 #38

Closed
Closed

Description

@mrkickling

@Esantos93 bug report:

  • 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:

  1. Pull mal-gui repository
  2. Create a venv for 3.13 (or greater like 3.14)
  3. Install mal-gui with pip install -e . while being in the repository directory and make sure it fails
  4. change numpy to 2.. in the pyproject.toml file
  5. Install mal-gui with pip install -e . again
  6. Make sure it doesn't fail
  7. Run mal-gui and make sure new numpy version didn't break anything
    a. If it broke something, we will try to fix it

EDIT:

Activity

  1. changed the title [-]Update to numpy 2.0 to support newer python versions[/-] [+]Support python >3.13[/+] on Feb 17, 2026
  2. self-assigned this
    on Mar 13, 2026
  3. added theissue type on Mar 13, 2026
  4. changed the issue type fromtoon Mar 13, 2026
  5. changed the issue type fromtoon Mar 13, 2026
  6. changed the title [-]Support python >3.13[/-] [+]Support python >= 3.13[/+] on Mar 13, 2026
  7. Esantos93 commented on Mar 19, 2026

    @Esantos93
    Contributor

    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

  8. mrkickling commented on Mar 20, 2026

    @mrkickling
    ContributorAuthor

    Awesome, I'll take a look!

  9. mrkickling commented on Mar 20, 2026

    @mrkickling
    ContributorAuthor

    I think mypy and ruff was never sorted out in mal-gui, so that is expected!

  10. linked a pull request that will close this issue38 support python 313 or greater #43on Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions