From 4bbcc3e18b53f45a112e8ce7fef511cc7d7d4c30 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Mar 2025 17:42:56 +0000 Subject: [PATCH 1/3] Bump numpy from 1.26.4 to 2.2.4 Bumps [numpy](https://github.com/numpy/numpy) from 1.26.4 to 2.2.4. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v1.26.4...v2.2.4) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 99848fe29..a2857635c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ ] dependencies = [ "ase==3.24.0", - "numpy==1.26.4", + "numpy==2.2.4", "scipy==1.15.2", ] dynamic = ["version"] From 2781fb0c23316cb87e7b78098ef535d8c2152fda Mon Sep 17 00:00:00 2001 From: pyironrunner Date: Mon, 17 Mar 2025 17:43:09 +0000 Subject: [PATCH 2/3] [dependabot skip] Update environment --- .ci_support/environment.yml | 2 +- .ci_support/environment_mini.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci_support/environment.yml b/.ci_support/environment.yml index 9b5df5e56..93f893625 100644 --- a/.ci_support/environment.yml +++ b/.ci_support/environment.yml @@ -9,7 +9,7 @@ dependencies: - matplotlib-base =3.10.1 - nglview =3.1.4 - notebook -- numpy =1.26.4 +- numpy =2.2.4 - phonopy =2.38.0 - plotly =6.0.0 - pymatgen =2025.3.10 diff --git a/.ci_support/environment_mini.yml b/.ci_support/environment_mini.yml index adcc8b754..46ce0f080 100644 --- a/.ci_support/environment_mini.yml +++ b/.ci_support/environment_mini.yml @@ -3,6 +3,6 @@ channels: dependencies: - ase =3.24.0 - coverage -- numpy =1.26.4 +- numpy =2.2.4 - scipy =1.15.2 - setuptools From 5fd21e96251f99d88fa7d8dd93bb258aaa29265a Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 18 Mar 2025 12:55:16 +0100 Subject: [PATCH 3/3] Update test_visualize.py --- tests/test_visualize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_visualize.py b/tests/test_visualize.py index 5b8f31d7a..3360818b6 100644 --- a/tests/test_visualize.py +++ b/tests/test_visualize.py @@ -31,7 +31,7 @@ def test_get_frame(self): dx, counts = np.unique( np.diff(frame, axis=-2).squeeze().astype(int), axis=0, return_counts=True ) - self.assertEqual(dx.ptp(), 1, msg="Frames not drawn along the nearest edges") + self.assertEqual(np.ptp(dx), 1, msg="Frames not drawn along the nearest edges") msg = ( "There must be four lines along each direction" + " (4 x [1, 0, 0], 4 x [0, 1, 0] and 4 x [0, 0, 1])"