Skip to content

Commit e8d4917

Browse files
committed
pin cython < 3 to fix build and pip install
1 parent 23359fc commit e8d4917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
requires = [
3+
"Cython>=0.29.23,<3",
34
# pin NumPy version used in the build
4-
"Cython>=0.29.23",
55
"oldest-supported-numpy",
66
"setuptools>=65.0.0",
77
]
@@ -70,8 +70,8 @@ ignore = [
7070
"PLR", # pylint refactor
7171
"PLW2901", # Outer for loop variable overwritten by inner assignment target
7272
"PT013", # pytest-incorrect-pytest-import
73-
"SIM105", # Use contextlib.suppress(OSError) instead of try-except-pass
7473
"RUF012", # Disable checks for mutable class args. This is a non-problem.
74+
"SIM105", # Use contextlib.suppress(OSError) instead of try-except-pass
7575
]
7676
pydocstyle.convention = "google"
7777
isort.required-imports = ["from __future__ import annotations"]

0 commit comments

Comments
 (0)