diff --git a/MANIFEST.in b/MANIFEST.in index 9819c7b70..b7cb786d6 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -7,3 +7,4 @@ include pyproject.toml recursive-exclude spacy/lang *.json recursive-include spacy/lang *.json.gz recursive-include licenses * +recursive-exclude spacy *.cpp diff --git a/build-constraints.txt b/build-constraints.txt index 23e660096..c1e82f1b0 100644 --- a/build-constraints.txt +++ b/build-constraints.txt @@ -1,5 +1,9 @@ # build version constraints for use with wheelwright + multibuild -numpy==1.15.0; python_version<='3.7' -numpy==1.17.3; python_version=='3.8' +numpy==1.15.0; python_version<='3.7' and platform_machine!='aarch64' +numpy==1.19.2; python_version<='3.7' and platform_machine=='aarch64' +numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64' +numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64' numpy==1.19.3; python_version=='3.9' -numpy; python_version>='3.10' +numpy==1.21.3; python_version=='3.10' +numpy==1.23.2; python_version=='3.11' +numpy; python_version>='3.12' diff --git a/requirements.txt b/requirements.txt index 0ab9a7854..ea672cdfc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ tqdm>=4.38.0,<5.0.0 pyrsistent<0.17.0 jsonschema>=2.6.0,<3.1.0 # Development dependencies -cython>=0.25 +cython>=0.25,<3.0 pytest>=4.6.5 pytest-timeout>=1.3.0,<2.0.0 mock>=2.0.0,<3.0.0 diff --git a/setup.cfg b/setup.cfg index 3b38f0b3c..3c4d2a9d8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,6 +24,8 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Scientific/Engineering [options] @@ -33,7 +35,7 @@ scripts = bin/spacy python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.* setup_requires = - cython>=0.25 + 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