Skip to content

Commit 8881755

Browse files
authored
Restrict cython to <3.0 (#508)
1 parent 37fd9ee commit 8881755

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
requires = [
33
"setuptools",
4-
"cython>=0.25",
4+
"cython>=0.25,<3.0",
55
"murmurhash>=0.28.0,<1.1.0",
66
"cymem>=2.0.2,<2.1.0",
77
"preshed>=3.0.2,<3.1.0",

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dataclasses>=0.6,<1.0; python_version < "3.7"
1515
typing_extensions>=3.7.4.1,<4.0.0.0; python_version < "3.8"
1616
contextvars>=2.4,<3; python_version < "3.7"
1717
# Development dependencies
18-
cython>=0.25.0
18+
cython>=0.25.0,<3.0
1919
hypothesis>=3.27.0,<7.0.0
2020
pytest>=5.2.0
2121
pytest-cov>=2.7.0,<2.8.0

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ zip_safe = false
2828
include_package_data = true
2929
python_requires = >=3.6
3030
setup_requires =
31-
cython>=0.25
31+
cython>=0.25,<3.0
3232
numpy>=1.15.0
3333
# We also need our Cython packages here to compile against
3434
cymem>=2.0.2,<2.1.0

0 commit comments

Comments
 (0)