Restrict cython to <3.0 (#8337)

This commit is contained in:
Adriane Boyd 2021-06-10 11:03:30 +02:00 committed by GitHub
parent d52ab13b5f
commit 6d2789452e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[build-system] [build-system]
requires = [ requires = [
"setuptools", "setuptools",
"cython>=0.25", "cython>=0.25,<3.0",
"cymem>=2.0.2,<2.1.0", "cymem>=2.0.2,<2.1.0",
"preshed>=3.0.2,<3.1.0", "preshed>=3.0.2,<3.1.0",
"murmurhash>=0.28.0,<1.1.0", "murmurhash>=0.28.0,<1.1.0",

View File

@ -22,7 +22,7 @@ setuptools
packaging>=20.0 packaging>=20.0
typing_extensions>=3.7.4.1,<4.0.0.0; python_version < "3.8" typing_extensions>=3.7.4.1,<4.0.0.0; python_version < "3.8"
# Development dependencies # Development dependencies
cython>=0.25 cython>=0.25,<3.0
pytest>=5.2.0 pytest>=5.2.0
pytest-timeout>=1.3.0,<2.0.0 pytest-timeout>=1.3.0,<2.0.0
mock>=2.0.0,<3.0.0 mock>=2.0.0,<3.0.0

View File

@ -31,7 +31,7 @@ zip_safe = false
include_package_data = true include_package_data = true
python_requires = >=3.6 python_requires = >=3.6
setup_requires = setup_requires =
cython>=0.25 cython>=0.25,<3.0
numpy>=1.15.0 numpy>=1.15.0
# We also need our Cython packages here to compile against # We also need our Cython packages here to compile against
cymem>=2.0.2,<2.1.0 cymem>=2.0.2,<2.1.0