Skip to content

port to python 3.14 #40890

@dimpase

Description

@dimpase

This is to collect info on the porting to Python 3.14, which is the system Python on Fedora 43,
at the Sage 10.8.beta4 moment

First of all, you need #40882
to unbreak the build,

--- a/build/pkgs/python3/spkg-configure.m4
+++ b/build/pkgs/python3/spkg-configure.m4
@@ -1,8 +1,8 @@
 SAGE_SPKG_CONFIGURE([python3], [
    m4_pushdef([MIN_VERSION],               [3.11.0])
    m4_pushdef([MIN_NONDEPRECATED_VERSION], [3.11.0])
-   m4_pushdef([LT_STABLE_VERSION],         [3.14.0])
-   m4_pushdef([LT_VERSION],                [3.14.0])
+   m4_pushdef([LT_STABLE_VERSION],         [3.15.0])
+   m4_pushdef([LT_VERSION],                [3.15.0])
    AC_ARG_WITH([python],
                [AS_HELP_STRING([--with-python=PYTHON3],
                                [Python 3 executable to use for the Sage venv; default: python3])])

to allow the use of Python 3.14 as the Python for the venv, and #40888 to allow building with Python 3.14

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