From dab3a455049367fab0a72232fcfc5f85f9a213a8 Mon Sep 17 00:00:00 2001 From: Dominik Date: Thu, 20 Jun 2024 23:11:05 -0700 Subject: [PATCH] remove `numpy` as direct dependency --- CHANGELOG.md | 4 ++++ mellon/util.py | 3 ++- setup.py | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90185bd..5ecfaac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.4.4rc + + - remove `numpy` as direct dependency + # v1.4.3 - Detailed logging about invalid `nn_distances`. diff --git a/mellon/util.py b/mellon/util.py index 5a4ebff..e728eb5 100644 --- a/mellon/util.py +++ b/mellon/util.py @@ -31,8 +31,9 @@ vstack, index_exp, broadcast_to, + integer, + floating, ) -from numpy import integer, floating from jax.numpy import sum as arraysum from jax.numpy import diag as diagonal from jax.numpy.linalg import norm, lstsq, matrix_rank diff --git a/setup.py b/setup.py index 212c45c..4c1c94a 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,6 @@ def get_version(rel_path): install_requires=[ "jax", "jaxopt", - "numpy", "scikit-learn", ], extras_require={