Skip to content

Commit 8e8880e

Browse files
authored
add metatrain@2026.2, vesin@0.5.2 and metatomic-torch@0.1.11 (spack#3598)
* mtt vesin metatomic * fix * fix
1 parent d90b605 commit 8e8880e

4 files changed

Lines changed: 11 additions & 1 deletion

File tree

repos/spack_repo/builtin/packages/libmetatomic_torch/package.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class LibmetatomicTorch(CMakePackage):
1717
maintainers("HaoZeke", "Luthaf", "RMeli")
1818
license("BSD-3-Clause", checked_by="HaoZeke")
1919

20+
version("0.1.11", sha256="cd500ab1371fb1d284b9ae514e7feaa205eca231437dd2d527fbf3852e673eef")
2021
version("0.1.10", sha256="c75b1a58fcc37ccef942d2457bfaa98d32a6b985202dec3d90e2b86d5bf66ecf")
2122
# 0.1.9 is skipped because it is partially broken
2223
version("0.1.8", sha256="358e426e762a45b3def076183bf6e1ecadbbd9089a9d6ddc5576907dbf5594fd")
@@ -26,9 +27,12 @@ class LibmetatomicTorch(CMakePackage):
2627
version("0.1.4", sha256="385ec8b8515d674b6a9f093f724792b2469e7ea2365ca596f574b64e38494f94")
2728
version("0.1.3", sha256="01a49e64e6c23d269fe935a557a60ae40092f4aad145fb6201caef26a9e0898b")
2829

30+
# metatomic-torch/CMakeLists.txt
31+
depends_on("cmake@3.22:", when="@0.1.5:", type="build")
2932
depends_on("cmake@3.16:", type="build")
3033
depends_on("cxx", type="build")
3134
depends_on("c", type="build")
3235
depends_on("libmetatensor-torch@0.8.0:0.8", when="@0.1.4:")
3336
depends_on("libmetatensor-torch@0.7.6:0.7", when="@0.1.3")
37+
depends_on("py-torch@2.3.0:", when="@0.1.9:")
3438
depends_on("py-torch@2.1.0:")

repos/spack_repo/builtin/packages/py_metatomic_torch/package.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from spack.package import *
88

99
VERSIONS = {
10+
"0.1.11": "540171dd03de84cb11b46a750bf016eb57dca756b5adf0383cefffbc9117e95f",
1011
"0.1.10": "a221154d789d7c03ba2e06da9653301fb1954f92d9c2608e8c19fd33dde84d2d",
1112
# 0.1.9 is skipped because it is partially broken
1213
"0.1.8": "8bb19a487d112ca6fe73a75fd28440e35b29f1d599a36fc41dc0f05fca783353",

repos/spack_repo/builtin/packages/py_metatrain/package.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class PyMetatrain(PythonPackage):
1717

1818
license("BSD-3-Clause", checked_by="RMeli")
1919

20+
version("2026.2", sha256="ca3078d269189113585e5296166f8d2d8a2a6d5a1fe0aa8e3bcd88afe9b8a487")
2021
version("2026.1", sha256="a86e2eb8d63e4a3c667ff783eb68f1a1dce6b2f204820d4bc7fabbbb165508df")
2122
version("2025.12", sha256="d0634934cc33d23189a9ef99f8c27e2e81cdfc248cf110d8df6c48255cb78765")
2223
version("2025.11", sha256="4c1a78feb359885f29d659f97ccf0e0676892ba1aa120cf58d0c7a0442161255")
@@ -42,13 +43,15 @@ class PyMetatrain(PythonPackage):
4243
depends_on("py-metatomic-torch@0.1.5:0.1", when="@2025.11")
4344
depends_on("py-metatomic-torch@0.1.6:0.1", when="@2025.12:")
4445
depends_on("py-metatomic-torch@0.1.7:0.1", when="@2026.1:")
46+
depends_on("py-metatomic-torch@0.1.8:0.1", when="@2026.2:")
4547
depends_on("py-jsonschema")
4648
depends_on("py-pydantic@2.12:", when="@2025.12:")
4749
depends_on("py-typing-extensions", when="@2025.12:")
4850
depends_on("py-omegaconf@2.3.0:")
4951
depends_on("py-python-hostlist")
5052
depends_on("py-tqdm")
5153
depends_on("py-vesin")
54+
depends_on("py-vesin@0.5.2:", when="@2026.2:")
5255

5356
# soap-bpnn
5457
# pyproject.toml [project.optional-dependencies] soap-bpnn

repos/spack_repo/builtin/packages/py_vesin/package.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class PyVesin(PythonPackage):
1818
maintainers("HaoZeke", "Luthaf", "RMeli")
1919
license("BSD-3-Clause", checked_by="HaoZeke")
2020

21+
version("0.5.2", sha256="d203c9e1fc749ee5375eb71f2521d2fa511a0f9587252766012695dce4be7c78")
2122
version("0.5.1", sha256="86afd7641319b21187155a8d9585bc134e79536897f28c62b69476627c1020ae")
2223
version("0.5.0", sha256="432322e51b214d6e13b056677424f54b250fb181bd726afb9b2d5b1b6fdbdb84")
2324
version("0.4.2", sha256="46bcfdc4d56490d43a6d8c5882b900b5cf49cff68b6ffb78d442ff85d0104d4f")
@@ -27,8 +28,9 @@ class PyVesin(PythonPackage):
2728
depends_on("python@3.9:", type=("build", "run"))
2829
depends_on("python@3.10:", type=("build", "run"), when="@0.4.2:")
2930

31+
# pyproject.toml
3032
depends_on("py-setuptools@77:", type="build")
31-
depends_on("py-wheel@0.41:", type="build")
33+
depends_on("py-wheel@0.41:", when="@:0.4", type="build")
3234
depends_on("cmake@3.16:", type="build")
3335

3436
# pyproject.toml

0 commit comments

Comments
 (0)