diff --git a/pyproject.toml b/pyproject.toml index 1267342fd..a5b818f49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ authors = [{ name = "RC219805" }] dependencies = [ # Pin numpy <2.3.0 for opencv-python compatibility # See: https://github.com/opencv/opencv-python/issues/954 - "numpy>=1.24,<2.3.0", + "numpy>=1.24,<2.5.0", "Pillow>=10.0.0,<12", "scipy>=1.15,<2", "scikit-learn>=1.0,<2", diff --git a/requirements-lint.txt b/requirements-lint.txt index 62560fee0..716c57b23 100644 --- a/requirements-lint.txt +++ b/requirements-lint.txt @@ -3,7 +3,7 @@ # Does NOT include heavy ML dependencies (torch, transformers, diffusers, realesrgan, etc.) # Core dependencies that are actually imported in linted files -numpy>=1.24,<2.3.0 +numpy>=1.24,<2.5.0 Pillow>=10,<12 PyYAML>=6.0,<7 tqdm>=4.66,<5 diff --git a/requirements/base.in b/requirements/base.in index 12699988c..231d1acba 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -3,7 +3,7 @@ # Run `make compile` in this directory to generate pinned base.txt # Core array and image processing -numpy>=1.24,<2.3.0 # pinned <2.3.0 for opencv compatibility +numpy>=1.24,<2.5.0 # pinned <2.3.0 for opencv compatibility Pillow>=10.0.0,<13 scipy>=1.15,<2 scikit-learn>=1.8.0,<2 # classical ML (used in core features)