Skip to content

Which versions of Python should the frontend support? #1370

Open
@j2kun

Description

Since the correctness of the Python will soon (if it doesn't already) depend on the Python version. In particular, we read python bytecode as part of emitting mlir (nontrivially in #1307) and the bytecode spec changes version to version. Since Python is now on version 3.13, I think supporting as far back as 3.9/3.10 might be overkill.

Also, our dependency numba is gradually dropping support of earlier versions of Python. The version we have currently pinned (numba 0.60) is the last one to support Python3.9 and the last not to support Python3.13. So for now at least we are stuck with Python 3.9-3.12, and if we want to upgrade numba to get support for Python3.13, we would need to drop Python3.9.

Metadata

Assignees

No one assigned

    Labels

    pythonPull requests that update Python code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions