From 72230bfb32bc6a6b5b3e59826e141ff9a8c105a4 Mon Sep 17 00:00:00 2001 From: Ianna Osborne Date: Wed, 11 Sep 2024 15:31:09 +0200 Subject: [PATCH] fix: an unexpected 'equal_nan' keyword argument (#66) * fix: TypeError: _unique_dispatcher() got an unexpected keyword argument 'equal_nan' 'equal_nan' was introduced from Numpy 1.24 https://numpy.org/doc/1.24/reference/generated/numpy.unique.html * minimum installed version has to be the minimum tested version --------- Co-authored-by: Jim Pivarski --- .github/workflows/ci.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e3fbf6..57d631c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: numpy-version: "latest" runs-on: ubuntu-latest - python-version: "3.9" - numpy-version: "1.22.0" + numpy-version: "1.24.0" runs-on: ubuntu-latest steps: diff --git a/pyproject.toml b/pyproject.toml index b566795..0cf7895 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,7 @@ classifiers = [ dynamic = ["version"] dependencies = [ "awkward>=2.6.7", + "numpy>=1.24.0", ] [project.optional-dependencies]