From f5e077c8d18795051b30575cad58640454e8573a Mon Sep 17 00:00:00 2001 From: Chenxin Zhong Date: Wed, 3 Dec 2025 19:48:05 +0800 Subject: [PATCH 1/6] restrict cython's version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3c098ee1494..4c7b602e576 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ requires = [ # Exclude 1.12.0 because of https://github.com/sagemath/cysignals/issues/212 'cysignals >=1.11.2, != 1.12.0', # Exclude 3.0.3 because of https://github.com/cython/cython/issues/5748 - 'cython >=3.0, != 3.0.3', + 'cython >=3.1.0, 'gmpy2 >=2.1.5', 'jinja2', 'memory_allocator', From 7fc848847b2827694322bd4b9559cbd371680f7e Mon Sep 17 00:00:00 2001 From: Chenxin Zhong Date: Wed, 3 Dec 2025 19:49:22 +0800 Subject: [PATCH 2/6] Fix formatting in pyproject.toml dependencies --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4c7b602e576..32c1c3bf118 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ requires = [ # Exclude 1.12.0 because of https://github.com/sagemath/cysignals/issues/212 'cysignals >=1.11.2, != 1.12.0', # Exclude 3.0.3 because of https://github.com/cython/cython/issues/5748 - 'cython >=3.1.0, + 'cython >=3.1.0', 'gmpy2 >=2.1.5', 'jinja2', 'memory_allocator', From db6b02f21b602a7c240f4bca3b1f3b7caf0e0cc0 Mon Sep 17 00:00:00 2001 From: Chenxin Zhong Date: Wed, 3 Dec 2025 19:54:41 +0800 Subject: [PATCH 3/6] delete outdated comment --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 32c1c3bf118..1d95aa722fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,6 @@ requires = [ 'meson-python', # Exclude 1.12.0 because of https://github.com/sagemath/cysignals/issues/212 'cysignals >=1.11.2, != 1.12.0', - # Exclude 3.0.3 because of https://github.com/cython/cython/issues/5748 'cython >=3.1.0', 'gmpy2 >=2.1.5', 'jinja2', From 9aa35a5825cdf5dbf0533bd1bd6a8e3f004536d6 Mon Sep 17 00:00:00 2001 From: Chenxin Zhong Date: Thu, 4 Dec 2025 16:13:13 +0800 Subject: [PATCH 4/6] Update CI workflow to use newer action versions --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daee66f990f..5e38d492bb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,10 +54,10 @@ jobs: - name: Checkout code # cannot use v4 yet because of https://github.com/actions/checkout/issues/1487 - uses: actions/checkout@v3 + uses: actions/checkout@v6.0.1 - name: Install uv - uses: astral-sh/setup-uv@v6.7.0 + uses: astral-sh/setup-uv@v7.1.4 # We cannot use the setup python action because it doesn't support all containers # https://github.com/actions/setup-python/issues/527 @@ -95,8 +95,8 @@ jobs: uv pip install \ meson-python \ "cypari2 >=2.2.1" \ - "cysignals >=1.11.2, != 1.12.0" \ - "cython >=3.0, != 3.0.3, < 3.1.0" \ + "cysignals >=1.12.1" \ + "cython >=3.1.0" \ "gmpy2 >=2.1.5" \ memory_allocator \ "numpy >=1.25" \ From 97e14e39b1c286de5b2aba77a0bd7fa77216184e Mon Sep 17 00:00:00 2001 From: Chenxin Zhong Date: Fri, 5 Dec 2025 16:50:42 +0800 Subject: [PATCH 5/6] Update cysignals and cython version requirements --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1d95aa722fd..0c6ae3aa351 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = [ 'cypari2 >=2.2.1; sys_platform != "win32"', 'meson-python', # Exclude 1.12.0 because of https://github.com/sagemath/cysignals/issues/212 - 'cysignals >=1.11.2, != 1.12.0', + 'cysignals >=1.12.1', 'cython >=3.1.0', 'gmpy2 >=2.1.5', 'jinja2', @@ -45,8 +45,8 @@ dependencies = [ 'cypari2 >=2.2.1; sys_platform != "win32"', 'six >=1.15.0', # Exclude 1.12.0 because of https://github.com/sagemath/cysignals/issues/212 - 'cysignals >=1.11.2, != 1.12.0', - 'cython >=3.0, != 3.0.3', + 'cysignals >=1.12.1', + 'cython >=3.1.0', 'fpylll >=0.5.9; sys_platform != "win32"', 'gmpy2 >=2.1.5', 'ipykernel >=5.2.1', From 5be38966fd13d4f258c146611ec4ce25ecd111f0 Mon Sep 17 00:00:00 2001 From: Chenxin Zhong Date: Sat, 6 Dec 2025 16:46:04 +0800 Subject: [PATCH 6/6] delete the outdated comment --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e38d492bb6..f7316333d73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,6 @@ jobs: fi - name: Checkout code - # cannot use v4 yet because of https://github.com/actions/checkout/issues/1487 uses: actions/checkout@v6.0.1 - name: Install uv