]> 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>
Sun, 31 Aug 2025 22:55:03 +0000 (00:55 +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 d0802b55e398527d953d45fb52fc1f8163b8e1de..95afd3fe9cbf0a9a00a39af1d80459157118593a 100644 (file)
@@ -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"]
index 6d32b397640787fd8ceb6f05c3fc86ac39e6c056..494c06944072b15a6af6e206a42ccc9103956904 100644 (file)
@@ -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