From fb1fa2336b4cdeaa65aa2e90b2b3eb3d2735fc6e Mon Sep 17 00:00:00 2001 From: Max Bachmann Date: Thu, 19 Sep 2024 22:18:34 +0200 Subject: [PATCH] upgrade cython --- .github/workflows/pythonbuild.yml | 2 +- HISTORY.md | 1 + pyproject.toml | 2 +- tools/sdist.patch | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonbuild.yml b/.github/workflows/pythonbuild.yml index df303df..e426c1a 100644 --- a/.github/workflows/pythonbuild.yml +++ b/.github/workflows/pythonbuild.yml @@ -21,7 +21,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest hypothesis mypy Cython==3.0.3 + pip install pytest hypothesis mypy Cython==3.0.11 # The cythonized files allow installation from the sdist without cython - name: Generate cython diff --git a/HISTORY.md b/HISTORY.md index 6bb47fb..a5e2668 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -5,6 +5,7 @@ - add support for Python 3.13 - drop support for Python 3.8 - switch build system to `scikit-build-core` +- upgrade to `Cython==3.0.11` ### v0.25.1 #### Fixed diff --git a/pyproject.toml b/pyproject.toml index e1bae91..269f2a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "scikit-build-core>=0.10.6", - "Cython>=3.0.2,<3.1.0" + "Cython>=3.0.11,<3.1.0" ] build-backend = "scikit_build_core.build" diff --git a/tools/sdist.patch b/tools/sdist.patch index 8cbba9a..8ecdee1 100644 --- a/tools/sdist.patch +++ b/tools/sdist.patch @@ -6,7 +6,7 @@ index 0a8c033..cf967b9 100644 [build-system] requires = [ - "scikit-build-core>=0.10.6", -- "Cython>=3.0.2,<3.1.0" +- "Cython>=3.0.11,<3.1.0" + "scikit-build-core>=0.10.6" ] build-backend = "scikit_build_core.build"