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" 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