From 73d8ee9a3a0476784563e1149f87e1b3445a7af3 Mon Sep 17 00:00:00 2001 From: Sermet Pekin <96650846+SermetPekin@users.noreply.github.com> Date: Tue, 21 Oct 2025 09:54:01 +0300 Subject: [PATCH] Modify numpy dependency for Python version compatibility Updated numpy dependency to support Python 3.13 and above. --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 26625fc..9084a3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,9 @@ dependencies = [ "datasets>=4.0.0", "fastapi>=0.117.1", "files-to-prompt>=0.6", - "numpy==1.26.4", + #"numpy==1.26.4", # this restriction was causing a failure for numpy on py3.13 + "numpy>=2.3.0; python_version>='3.13'", + "numpy>=1.26.4; python_version<'3.13'", "psutil>=7.1.0", "regex>=2025.9.1", "setuptools>=80.9.0", @@ -59,4 +61,4 @@ explicit = true [[tool.uv.index]] name = "pytorch-cu128" url = "https://download.pytorch.org/whl/cu128" -explicit = true \ No newline at end of file +explicit = true