From: Daniele Varrazzo Date: Wed, 21 May 2025 16:54:43 +0000 (+0200) Subject: chore: bump Cython version X-Git-Tag: 3.2.10~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=739b4d54a541a5e3d98a062709b35d1d13bf7954;p=thirdparty%2Fpsycopg.git chore: bump Cython version Skip version 3.1.0 because of https://github.com/cython/cython/issues/6850 I understand that >= 3.1.0 is required for the free threading support (#1096). --- diff --git a/psycopg_c/pyproject.toml b/psycopg_c/pyproject.toml index d0802b55e..95afd3fe9 100644 --- a/psycopg_c/pyproject.toml +++ b/psycopg_c/pyproject.toml @@ -14,9 +14,4 @@ backend-path = ["build_backend"] [cython-backend] # These packages are only installed if there are pyx files to compile. - -# Don't install Cython 3.1: https://github.com/cython/cython/issues/6850 -# TODO: When the bug is solved we will remove the upper bound of the version -# and just exclude the known broken versions, or we will establish a new -# lower bound. -cython-requires = ["Cython >= 3.0.0, < 3.1.0"] +cython-requires = ["Cython >= 3.1.1"] diff --git a/tests/constraints.txt b/tests/constraints.txt index 6d32b3976..494c06944 100644 --- a/tests/constraints.txt +++ b/tests/constraints.txt @@ -32,7 +32,7 @@ sphinx-autodoc-typehints == 1.12.0 # Build tools setuptools == 49.2.0 wheel == 0.37 -Cython == 3.0.0 +Cython == 3.1.1 tomli == 2.0.1 # Undeclared extras to "unblock" extra features