Improve version related metadata and relax numpy pin

This commit is contained in:
Matthew Honnibal 2024-12-10 18:50:13 +01:00
parent 51da88821a
commit 0c8585caf3
1 changed files with 4 additions and 3 deletions

View File

@ -21,6 +21,7 @@ classifiers =
Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Topic :: Scientific/Engineering Topic :: Scientific/Engineering
project_urls = project_urls =
Release notes = https://github.com/explosion/spaCy/releases Release notes = https://github.com/explosion/spaCy/releases
@ -29,13 +30,13 @@ project_urls =
[options] [options]
zip_safe = false zip_safe = false
include_package_data = true include_package_data = true
python_requires = >=3.9 python_requires = >=3.9,<3.13
# NOTE: This section is superseded by pyproject.toml and will be removed in # NOTE: This section is superseded by pyproject.toml and will be removed in
# spaCy v4 # spaCy v4
setup_requires = setup_requires =
cython>=0.25,<3.0 cython>=0.25,<3.0
numpy>=2.0.0,<2.1.0; python_version < "3.9" numpy>=2.0.0,<3.0.0; python_version < "3.9"
numpy>=2.0.0,<2.1.0; python_version >= "3.9" numpy>=2.0.0,<3.0.0; python_version >= "3.9"
# 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
preshed>=3.0.2,<3.1.0 preshed>=3.0.2,<3.1.0