Skip to content

Commit 36c0adc

Browse files
frostedoysterPicoCentauri
authored andcommitted
Bump to metatensor-torch 0.7.0
1 parent f73a307 commit 36c0adc

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ myst-parser # markdown => rst translation, used in extensions/featomic_json_
1111
# dependencies for the tutorials
1212
--extra-index-url https://download.pytorch.org/whl/cpu
1313
metatensor-operations >=0.3.0,<0.4.0
14-
metatensor-torch >= 0.6.0,<0.7.0
14+
metatensor-torch >= 0.7.0,<0.8.0
1515
torch
1616
chemfiles
1717
matplotlib

featomic-torch/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ find_package(Torch 1.12 REQUIRED)
120120
#
121121
# When updating METATENSOR_FETCH_VERSION, you will also have to update the
122122
# SHA256 sum of the file in `FetchContent_Declare`.
123-
set(METATENSOR_FETCH_VERSION "0.6.1")
124-
set(REQUIRED_METATENSOR_TORCH_VERSION "0.6")
123+
set(METATENSOR_FETCH_VERSION "0.7.0")
124+
set(REQUIRED_METATENSOR_TORCH_VERSION "0.7")
125125
if (FEATOMIC_TORCH_FETCH_METATENSOR_TORCH)
126126
message(STATUS "Fetching metatensor-torch from github")
127127

@@ -130,7 +130,7 @@ if (FEATOMIC_TORCH_FETCH_METATENSOR_TORCH)
130130
FetchContent_Declare(
131131
metatensor_torch
132132
URL ${URL_ROOT}/metatensor-torch-v${METATENSOR_FETCH_VERSION}/metatensor-torch-cxx-${METATENSOR_FETCH_VERSION}.tar.gz
133-
URL_HASH SHA256=0941da4bc6d25ee73b597774d3c8c6edf6a44f134139bd93b33834eae52ac4dd
133+
URL_HASH SHA256=8979cad91aef6ae97ec8f940a9943e73df5a40755d4b1357347bd86cf3201426
134134
)
135135

136136
if (CMAKE_VERSION VERSION_GREATER 3.18)

python/featomic_torch/build-backend/backend.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ def get_requires_for_build_wheel(config_settings=None):
4242
return defaults + [
4343
"cmake",
4444
TORCH_DEP,
45-
"metatensor-torch >=0.6.0,<0.7.0",
45+
"metatensor-torch >=0.7.0,<0.8.0",
4646
FEATOMIC_DEP,
4747
]

python/featomic_torch/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def create_version_number(version):
344344

345345
install_requires = [
346346
f"torch {torch_version}",
347-
"metatensor-torch >=0.6.0,<0.7.0",
347+
"metatensor-torch >=0.7.0,<0.8.0",
348348
]
349349

350350
# when packaging a sdist for release, we should never use local dependencies

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ metatensor-core-requirement =
2424
metatensor-core >=0.1.0,<0.2.0
2525

2626
metatensor-torch-requirement =
27-
metatensor-torch >=0.6.0,<0.7.0
27+
metatensor-torch >=0.7.0,<0.8.0
2828

2929
build-single-wheel = --no-deps --no-build-isolation --check-build-dependencies
3030
warning_options =

0 commit comments

Comments
 (0)