diff --git a/.ci_support/environment-docs.yml b/.ci_support/environment-docs.yml index f894a09b8..aa83d8908 100644 --- a/.ci_support/environment-docs.yml +++ b/.ci_support/environment-docs.yml @@ -2,10 +2,11 @@ channels: - conda-forge dependencies: - ase =3.29.0 -- numpy =2.4.6 +- numpy =2.5.1 - scipy =1.18.0 - hatchling =1.31.0 - hatch-vcs =0.5.0 +- sparse =0.19.0 - myst-parser - nbsphinx - sphinx diff --git a/.ci_support/environment-mini.yml b/.ci_support/environment-mini.yml index 08cd70272..22eef5794 100644 --- a/.ci_support/environment-mini.yml +++ b/.ci_support/environment-mini.yml @@ -3,7 +3,8 @@ channels: dependencies: - ase =3.29.0 - coverage -- numpy =2.4.6 +- numpy =2.5.1 - scipy =1.18.0 +- sparse =0.19.0 - hatchling =1.31.0 - hatch-vcs =0.5.0 diff --git a/.ci_support/environment.yml b/.ci_support/environment.yml index ef35c6664..d0addf845 100644 --- a/.ci_support/environment.yml +++ b/.ci_support/environment.yml @@ -9,9 +9,10 @@ dependencies: - matplotlib-base =3.11.0 - nglview =4.0.1 - notebook -- numpy =2.4.6 +- numpy =2.5.1 - phonopy =4.3.1 - plotly =6.9.0 +- sparse =0.19.0 - pymatgen =2026.3.23 - pyscal3 =3.3.2 - scikit-learn =1.8.0 diff --git a/binder/environment.yml b/binder/environment.yml index a9c6aa035..ab3b90880 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -7,13 +7,14 @@ dependencies: - dscribe =2.1.2 - matplotlib-base =3.11.0 - notebook -- numpy =2.4.6 +- numpy =2.5.1 - phonopy =4.3.1 - plotly =6.9.0 - pymatgen =2026.3.23 - pyscal3 =3.3.2 - scikit-learn =1.8.0 - scipy =1.18.0 +- sparse =0.19.0 - spglib =2.7.0 - sqsgenerator =0.5.5 - setuptools <80 diff --git a/pyproject.toml b/pyproject.toml index ecd58a571..bbc4408a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,10 +21,11 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dependencies = [ "ase==3.29.0", - "numpy==2.4.6", + "numpy==2.5.1", "scipy==1.18.0", ] dynamic = ["version"] diff --git a/tests/test_neighbors.py b/tests/test_neighbors.py index 72713c965..5716f1878 100644 --- a/tests/test_neighbors.py +++ b/tests/test_neighbors.py @@ -500,9 +500,9 @@ def test_get_distances_arbitrary_array(self): with warnings.catch_warnings(record=True) as w: warnings.simplefilter("always") _ = neigh.get_neighborhood(np.random.random(3), num_neighbors=51) - self.assertEqual(len(w), 1) - _ = neigh.get_neighborhood(np.random.random(3), num_neighbors=51).distances self.assertEqual(len(w), 2) + _ = neigh.get_neighborhood(np.random.random(3), num_neighbors=51).distances + self.assertEqual(len(w), 4) def test_repr(self): basis = bulk("Al", a=4.2, cubic=True).repeat(3)