Skip to content

Commit

Permalink
fix: an unexpected 'equal_nan' keyword argument (#66)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
ianna and jpivarski authored Sep 11, 2024
1 parent 5232229 commit 72230bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers = [
dynamic = ["version"]
dependencies = [
"awkward>=2.6.7",
"numpy>=1.24.0",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 72230bf

Please sign in to comment.