From 0c8585caf3e542f56be1ed2f7279b882f17de8aa Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 10 Dec 2024 18:50:13 +0100 Subject: [PATCH] Improve version related metadata and relax numpy pin --- setup.cfg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 5030729b7..dc2493ed7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,6 +21,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Topic :: Scientific/Engineering project_urls = Release notes = https://github.com/explosion/spaCy/releases @@ -29,13 +30,13 @@ project_urls = [options] zip_safe = false 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 # spaCy v4 setup_requires = cython>=0.25,<3.0 - numpy>=2.0.0,<2.1.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" + numpy>=2.0.0,<3.0.0; python_version >= "3.9" # We also need our Cython packages here to compile against cymem>=2.0.2,<2.1.0 preshed>=3.0.2,<3.1.0