From e18d3322a05efe10c969877ac09bf039d0c46f48 Mon Sep 17 00:00:00 2001 From: Dennis Bader Date: Mon, 17 Jun 2024 14:25:34 +0200 Subject: [PATCH] upper cap numpy<2.0.0 (#2413) * upper cap numpy<2.0.0 * update changelog * upper cap tenacity<=8.3.0 --- CHANGELOG.md | 1 + requirements/core.txt | 2 +- requirements/release.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38e0490bea..8f4f2feaa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,7 @@ but cannot always guarantee backwards compatibility. Changes that may **break co - Improvements to unified linting by switch `isort` to Ruff's rule I. [#2339](https://github.com/unit8co/darts/pull/2339) by [Jirka Borovec](https://github.com/borda) - Improvements to unified linting by switch `pyupgrade` to Ruff's rule UP. [#2340](https://github.com/unit8co/darts/pull/2340) by [Jirka Borovec](https://github.com/borda) - Improvements to CI, running lint locally via pre-commit instead of particular tools. [#2327](https://github.com/unit8co/darts/pull/2327) by [Jirka Borovec](https://github.com/borda) +- We set an upper version cap on `numpy<2.0.0` until all dependencies have migrated. [#2413](https://github.com/unit8co/darts/pull/2413) by [Dennis Bader](https://github.com/dennisbader). ### For developers of the library: diff --git a/requirements/core.txt b/requirements/core.txt index c88794026a..42ba2ae1d6 100644 --- a/requirements/core.txt +++ b/requirements/core.txt @@ -2,7 +2,7 @@ holidays>=0.11.1 joblib>=0.16.0 matplotlib>=3.3.0 nfoursid>=1.0.0 -numpy>=1.19.0 +numpy>=1.19.0,<2.0.0 pandas>=1.0.5,<2.0.0; python_version < "3.9" pandas>=1.0.5; python_version >= "3.9" pmdarima>=1.8.0 diff --git a/requirements/release.txt b/requirements/release.txt index b8a99e667f..1745d7a333 100644 --- a/requirements/release.txt +++ b/requirements/release.txt @@ -17,3 +17,4 @@ sphinx==5.0.0 sphinx-automodapi==0.14.0 sphinx_autodoc_typehints==1.12.0 twine==3.3.0 +tenacity<=8.3.0