Remove setup_requires from setup.cfg (#11384)

* Remove setup_requires from setup.cfg

* Update requirements test to ignore cython in setup.cfg
This commit is contained in:
Adriane Boyd 2022-08-29 13:23:24 +02:00 committed by GitHub
parent 2a558a7cdc
commit 4bce8fa755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 9 deletions

View File

@ -31,14 +31,6 @@ project_urls =
zip_safe = false
include_package_data = true
python_requires = >=3.6
setup_requires =
cython>=0.25,<3.0
numpy>=1.15.0
# We also need our Cython packages here to compile against
cymem>=2.0.2,<2.1.0
preshed>=3.0.2,<3.1.0
murmurhash>=0.28.0,<1.1.0
thinc>=8.1.0,<8.2.0
install_requires =
# Our libraries
spacy-legacy>=3.0.9,<3.1.0

View File

@ -4,8 +4,8 @@ from pathlib import Path
def test_build_dependencies():
# Check that library requirements are pinned exactly the same across different setup files.
# TODO: correct checks for numpy rather than ignoring
libs_ignore_requirements = [
"cython",
"pytest",
"pytest-timeout",
"mock",