Skip to content

Commit 2b30b4f

Browse files
committed
fix: cython 3.2 compatibility
1 parent 9812323 commit 2b30b4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pip uninstall -y cython
1818
pip install --pre cython # unpinned to pick up new releases in CI
1919
# pip install cython==3.1.0a1 # known working version for Python < 3.13
2020

21-
meson setup build -Dcoverage=true
21+
meson setup build -Dcoverage=true -Dflint_version_check=false
2222
spin run -- coverage run $RC -m flint.test $@
2323
coverage report $RC -m --sort=cover
2424
coverage html $RC

src/flint/types/_gr.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ cdef class gr_ctx(flint_ctx):
602602
###
603603
# Square Roots
604604

605-
def is_square(self, x) -> bool | None:
605+
def is_square(self, x):
606606
"""
607607
Returns whether x is a perfect square in the context.
608608
"""

0 commit comments

Comments
 (0)