]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore: bump Cython version
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 21 May 2025 16:54:43 +0000 (18:54 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 21 May 2025 16:54:43 +0000 (18:54 +0200)
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).

psycopg_c/pyproject.toml
tests/constraints.txt

index 39999783e6565d1f9bbccbfcdd4b100ee6d6f8e6..0c29f8fe94a4df969bace0e88fbb042323544108 100644 (file)
@@ -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"
index 478c0adb2c0ffec2c6f19ff804f7ee6d434e39e9..2119387c49254c660fe2ce814c9bc8a050ae8fa5 100644 (file)
@@ -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