Skip to content

Update SciPy Requirement to Support Python 3.14 #145

Description

@Qazalbash

I am currently exploring the possibility of supporting GWKokab on Python 3.14, but scipy==1.15.3 does not support Python 3.14. While investigating this issue, I noticed that support appears to have been addressed upstream.

If possible, could you please remove or relax this version constraint in the next release to allow installation on Python 3.14?

Reference:

MRE

Commands:

uv venv -p 3.14
source .venv/bin/activate
uv pip install --upgrade rift

Error:

Resolved 82 packages in 1.31s
  × Failed to build `scipy==1.15.3`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `mesonpy.build_wheel` failed (exit status: 1)

      [stdout]
      + meson setup /home/gradf/.cache/uv/sdists-v9/pypi/scipy/1.15.3/Mv2vpEl9QaTqUKiO/src
      /home/gradf/.cache/uv/sdists-v9/pypi/scipy/1.15.3/Mv2vpEl9QaTqUKiO/src/.mesonpy-us62ku2i
      -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md
      --native-file=/home/gradf/.cache/uv/sdists-v9/pypi/scipy/1.15.3/Mv2vpEl9QaTqUKiO/src/.mesonpy-us62ku2i/meson-python-native-file.ini
      The Meson build system
      Version: 1.11.1
      Source dir: /home/gradf/.cache/uv/sdists-v9/pypi/scipy/1.15.3/Mv2vpEl9QaTqUKiO/src
      Build dir: /home/gradf/.cache/uv/sdists-v9/pypi/scipy/1.15.3/Mv2vpEl9QaTqUKiO/src/.mesonpy-us62ku2i
      Build type: native build
      Project name: scipy
      Project version: 1.15.3
      C compiler for the host machine: cc (gcc 15.2.0 "cc (Ubuntu 15.2.0-16ubuntu1) 15.2.0")
      C linker for the host machine: cc ld.bfd 2.46
      C++ compiler for the host machine: c++ (gcc 15.2.0 "c++ (Ubuntu 15.2.0-16ubuntu1) 15.2.0")
      C++ linker for the host machine: c++ ld.bfd 2.46
      Cython compiler for the host machine: cython (cython 3.0.12)
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Program python found: YES (/home/gradf/.cache/uv/builds-v0/.tmpgTIY1q/bin/python)
      Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
      Run-time dependency python found: YES 3.14
      Program cython found: YES (/home/gradf/.cache/uv/builds-v0/.tmpgTIY1q/bin/cython)
      Compiler for C supports arguments -Wno-unused-but-set-variable: YES
      Compiler for C supports arguments -Wno-unused-function: YES
      Compiler for C supports arguments -Wno-conversion: YES
      Compiler for C supports arguments -Wno-misleading-indentation: YES
      Library m found: YES

      ../meson.build:80:0: ERROR: Unknown compiler(s): [['gfortran'], ['flang-new'], ['flang'], ['nvfortran'], ['pgfortran'],
      ['ifort'], ['ifx'], ['g95']]
      The following exception(s) were encountered:
      Running `gfortran --help` gave "[Errno 2] No such file or directory: 'gfortran'"
      Running `gfortran --version` gave "[Errno 2] No such file or directory: 'gfortran'"
      Running `gfortran -V` gave "[Errno 2] No such file or directory: 'gfortran'"
      Running `flang-new --help` gave "[Errno 2] No such file or directory: 'flang-new'"
      Running `flang-new --version` gave "[Errno 2] No such file or directory: 'flang-new'"
      Running `flang-new -V` gave "[Errno 2] No such file or directory: 'flang-new'"
      Running `flang --help` gave "[Errno 2] No such file or directory: 'flang'"
      Running `flang --version` gave "[Errno 2] No such file or directory: 'flang'"
      Running `flang -V` gave "[Errno 2] No such file or directory: 'flang'"
      Running `nvfortran --help` gave "[Errno 2] No such file or directory: 'nvfortran'"
      Running `nvfortran --version` gave "[Errno 2] No such file or directory: 'nvfortran'"
      Running `nvfortran -V` gave "[Errno 2] No such file or directory: 'nvfortran'"
      Running `pgfortran --help` gave "[Errno 2] No such file or directory: 'pgfortran'"
      Running `pgfortran --version` gave "[Errno 2] No such file or directory: 'pgfortran'"
      Running `pgfortran -V` gave "[Errno 2] No such file or directory: 'pgfortran'"
      Running `ifort --help` gave "[Errno 2] No such file or directory: 'ifort'"
      Running `ifort --version` gave "[Errno 2] No such file or directory: 'ifort'"
      Running `ifort -V` gave "[Errno 2] No such file or directory: 'ifort'"
      Running `ifx --help` gave "[Errno 2] No such file or directory: 'ifx'"
      Running `ifx --version` gave "[Errno 2] No such file or directory: 'ifx'"
      Running `ifx -V` gave "[Errno 2] No such file or directory: 'ifx'"
      Running `g95 --help` gave "[Errno 2] No such file or directory: 'g95'"
      Running `g95 --version` gave "[Errno 2] No such file or directory: 'g95'"
      Running `g95 -V` gave "[Errno 2] No such file or directory: 'g95'"

      A full log can be found at
      /home/gradf/.cache/uv/sdists-v9/pypi/scipy/1.15.3/Mv2vpEl9QaTqUKiO/src/.mesonpy-us62ku2i/meson-logs/meson-log.txt


hint: `scipy` (v1.15.3) was included because `rift` (v0.0.17.8) depends on `scipy`
hint: Build failures usually indicate a problem with the package or the build environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions