diff --git a/python/metatomic_ase/pyproject.toml b/python/metatomic_ase/pyproject.toml index 6bb19c5e..a27cc385 100644 --- a/python/metatomic_ase/pyproject.toml +++ b/python/metatomic_ase/pyproject.toml @@ -44,9 +44,13 @@ python_files = ["*.py"] testpaths = ["tests"] filterwarnings = [ "error", + # TorchScript deprecation warnings "ignore:`torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`:DeprecationWarning", "ignore:`torch.jit.script_method` 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", + # There is a circular dependency between metatomic-torch and vesin.metatomic "ignore:.*vesin.metatomic was only tested with metatomic.torch >=0.1.3,<0.2.*:UserWarning", + # deprecation warning from vesin + "ignore:`compute_requested_neighbors_from_options` is deprecated and will be removed in a future version:UserWarning", ] diff --git a/python/metatomic_torchsim/pyproject.toml b/python/metatomic_torchsim/pyproject.toml index 5b42884b..9c3b119e 100644 --- a/python/metatomic_torchsim/pyproject.toml +++ b/python/metatomic_torchsim/pyproject.toml @@ -56,6 +56,8 @@ filterwarnings = [ "ignore:`torch.jit.load` is not supported in Python 3.14+:DeprecationWarning", # There is a circular dependency between metatomic-torch and vesin.metatomic "ignore:.*vesin.metatomic was only tested with metatomic.torch >=0.1.3,<0.2.*:UserWarning", + # deprecation warning from vesin + "ignore:`compute_requested_neighbors_from_options` is deprecated and will be removed in a future version:UserWarning", # This comes from inside TorchSim "ignore:The 'nvalchemiops.neighborlist' module has been renamed to 'nvalchemiops.neighbors':DeprecationWarning", ]