From 2413bb3f425db254d0e3a4ece99df3d57fcf6388 Mon Sep 17 00:00:00 2001 From: Stefano Fiorucci Date: Mon, 17 Jun 2024 10:54:02 +0200 Subject: [PATCH] chore: pin numpy<2; tenacity!=8.4.0 (#7876) * pin numpy<2 * reno * pin tenacity too --- pyproject.toml | 4 ++-- releasenotes/notes/pin-numpy-2304f88504d5041a.yaml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/pin-numpy-2304f88504d5041a.yaml diff --git a/pyproject.toml b/pyproject.toml index f59282954..c91da0742 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ classifiers = [ dependencies = [ "pandas", "tqdm", - "tenacity", + "tenacity!=8.4.0", "lazy-imports", "openai>=1.1.0", "Jinja2", @@ -58,7 +58,7 @@ dependencies = [ "networkx", # Pipeline graphs "typing_extensions>=4.7", # typing support for Python 3.8 "requests", - "numpy", + "numpy<2", "python-dateutil", ] diff --git a/releasenotes/notes/pin-numpy-2304f88504d5041a.yaml b/releasenotes/notes/pin-numpy-2304f88504d5041a.yaml new file mode 100644 index 000000000..00a876e09 --- /dev/null +++ b/releasenotes/notes/pin-numpy-2304f88504d5041a.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Pin numpy<2 to avoid breaking changes that cause several core integrations to fail. + Pin tenacity too (8.4.0 is broken).