Skip to content

Add support for Python 3.12 #852

Closed
Closed

Description

@rob-hills

Is your feature request related to a problem?

Python 3.12 is the default Python version for the current Ubuntu LTS version (24.04).
Running Masonite involves installing an older version which needs to be done carefully to avoid compromising the OS

What do we currently have to do now?

Install an older version of Python on current LTS versions of Ubuntu and related Linux distros

Describe the solution you'd like

Update dependencies that are incompatible with Python 3.12

Describe alternatives you've considered

Installing an older version of Python
Tried using UV to create a Virtual Environment with an older version of Python

Would this be a breaking change ?

  • Yes

Anything else ?

No response

Activity

  1. johnwilson commented on May 27, 2026

    @johnwilson

    @rob-hills You could try using https://github.com/pyenv/pyenv for development and perhaps docker for deployment until then? I find it's sometimes best to not rely on the OS default python installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions