From dd62b05c111bdfe09e561b27dbf902f5020a010e Mon Sep 17 00:00:00 2001 From: Kevin Sheppard Date: Tue, 23 May 2023 10:27:46 +0100 Subject: [PATCH] MAINT: Rollback Cython to 0.29 branch Rollback to get conda-forge to work on release 6 branch --- README.md | 2 +- doc/requirements.txt | 2 +- pyproject.toml | 2 +- requirements-dev.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d03ad25190..5c244f38c8 100644 --- a/README.md +++ b/README.md @@ -271,7 +271,7 @@ ahead-of-time compiled extensions. The development requirements are: -- Cython (0.29+, if not using ARCH_NO_BINARY=1) +- Cython (0.29+, if not using ARCH_NO_BINARY=1, supports 3.0.0b2+) - pytest (For tests) - sphinx (to build docs) - sphinx-immaterial (to build docs) diff --git a/doc/requirements.txt b/doc/requirements.txt index 5dbf23727a..71a524b9d5 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,7 +2,7 @@ setuptools>=61 wheel setuptools_scm[toml]>=7,<8 oldest-supported-numpy -cython>=3.0.0b2 +cython>=0.29.34 # Works with 3.0.0b2 numpy >=1.22 scipy >=1.5.0 ipython >=8.0.1 diff --git a/pyproject.toml b/pyproject.toml index fc8223d5b8..2670d8f32a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = [ "setuptools_scm[toml]>=7,<8", "oldest-supported-numpy>=2022.11.19", "numpy; python_version>='3.12'", - "cython>=3.0.0b2" + "cython>=0.29.34" # Works with 3.0.0b2 ] build-backend = "setuptools.build_meta" diff --git a/requirements-dev.txt b/requirements-dev.txt index a7275f16e0..01fcfa3021 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,7 +4,7 @@ packaging oldest-supported-numpy>=2022.11.19 # Performance -cython>=3.0.0b2 +cython>=0.29.34 # Works with 3.0.0b2 numba>=0.49,!=0.50.* # Graphics