From d3080c84fe0bc882f193b23e9fd0180fb71b830f Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 9 May 2025 20:39:50 +0200 Subject: [PATCH] require Cython < 3.1 for now This is a workaround for: https://github.com/cython/cython/issues/6858 --- pyproject.toml | 2 +- requirements.d/development.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b89352061..906af32e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,7 +67,7 @@ where = ["src"] "*" = ["*.c", "*.h", "*.pyx"] [build-system] -requires = ["setuptools>=77.0.0", "wheel", "pkgconfig", "Cython>=3.0.3", "setuptools_scm[toml]>=6.2"] +requires = ["setuptools>=77.0.0", "wheel", "pkgconfig", "Cython>=3.0.3,<3.1.0", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" [tool.setuptools_scm] diff --git a/requirements.d/development.txt b/requirements.d/development.txt index bd25383a0..7c1c9c908 100644 --- a/requirements.d/development.txt +++ b/requirements.d/development.txt @@ -10,5 +10,5 @@ pytest pytest-xdist pytest-cov pytest-benchmark -Cython +Cython < 3.1 pre-commit