From a23766d97317f21097cd6c1a51494ae48dccaf27 Mon Sep 17 00:00:00 2001 From: Guillaume Fraux Date: Tue, 23 Jun 2026 16:36:38 +0200 Subject: [PATCH 1/2] Silence new numpy warning --- python/vesin/pyproject.toml | 2 ++ tox.ini | 2 ++ 2 files changed, 4 insertions(+) diff --git a/python/vesin/pyproject.toml b/python/vesin/pyproject.toml index 7f9f5882..6d5540da 100644 --- a/python/vesin/pyproject.toml +++ b/python/vesin/pyproject.toml @@ -63,4 +63,6 @@ filterwarnings = [ "ignore:`torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`:DeprecationWarning", "ignore:`torch.jit.save` is deprecated. Please switch to `torch.export`:DeprecationWarning", "ignore:`torch.jit.load` is deprecated. Please switch to `torch.export`:DeprecationWarning", + # from ASE + "ignore:Setting the shape on a NumPy array has been deprecated in NumPy 2.5:DeprecationWarning", ] diff --git a/tox.ini b/tox.ini index fe8bdd5c..d83a9401 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,8 @@ lint-folders = python setup.py package = external package_env = build-vesin +# this warning fires when collecting tests and seemingly can not be +# supressed by the code in pyproject.toml, so we add it as a CLI flag test_args = -W "ignore:`torch.jit.script` is not supported in Python 3.14+ and may break:DeprecationWarning" packaging_deps = cmake From 1f7485b7252672e28d9340cec7ff0612223071af Mon Sep 17 00:00:00 2001 From: Guillaume Fraux Date: Tue, 23 Jun 2026 17:04:13 +0200 Subject: [PATCH 2/2] Update ASE documentation link --- docs/src/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/conf.py b/docs/src/conf.py index 50574dac..c31c455e 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -73,7 +73,7 @@ def setup(app): "metatomic": ("https://docs.metatensor.org/metatomic/latest/", None), "numpy": ("https://numpy.org/doc/stable/", None), "torch": ("https://pytorch.org/docs/stable/", None), - "ase": ("https://wiki.fysik.dtu.dk/ase/", None), + "ase": ("https://docs.ase-lib.org/", None), } html_theme = "furo"