From: Daniele Varrazzo Date: Wed, 21 May 2025 16:54:43 +0000 (+0200) Subject: chore: bump Cython version X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=517c4c0792eb21862d08a25e6754d75da507929b;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 39999783e..0c29f8fe9 100644 --- a/psycopg_c/pyproject.toml +++ b/psycopg_c/pyproject.toml @@ -19,12 +19,7 @@ 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"] [project] name = "psycopg-c" diff --git a/tests/constraints.txt b/tests/constraints.txt index 478c0adb2..2119387c4 100644 --- a/tests/constraints.txt +++ b/tests/constraints.txt @@ -31,7 +31,7 @@ sphinx-autodoc-typehints == 1.12.0 # Build tools wheel == 0.37 -Cython == 3.0.0 +Cython == 3.1.1 tomli == 2.0.1 # Undeclared extras to "unblock" extra features