Skip to content

Commit 2c3a862

Browse files
authored
Pin Metatensor as tests broke with Metatrain release (#204)
* fix: pin metatensor because it is more unstable. * fix: pin the dependencies for the metatensor tutorial
1 parent ef5c912 commit 2c3a862

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/tutorials/metatensor_tutorial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# <summary>Dependencies</summary>
44
# /// script
55
# dependencies = [
6-
# "metatrain[pet]>=2025.6",
7-
# "metatensor-torch>=0.7,<0.8"
6+
# "metatrain[pet]==2025.6",
7+
# "metatensor-torch==0.7.6"
88
# ]
99
# ///
1010
# </details>

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test = [
4848
io = ["ase>=3.24", "phonopy>=2.37.0", "pymatgen>=2024.11.3"]
4949
mace = ["mace-torch>=0.3.12"]
5050
mattersim = ["mattersim>=0.1.2"]
51-
metatensor = ["metatensor-torch>=0.7,<0.8", "metatrain[pet]>=2025.6"]
51+
metatensor = ["metatensor-torch==0.7.6", "metatrain[pet]==2025.6"]
5252
orb = ["orb-models>=0.5.2"]
5353
sevenn = ["sevenn>=0.11.0"]
5454
graphpes = ["graph-pes>=0.0.34", "mace-torch>=0.3.12"]

0 commit comments

Comments
 (0)