From 4ef07ceee08fe53e83bcf6470c7c151808004fbd Mon Sep 17 00:00:00 2001 From: Guillaume Fraux Date: Mon, 11 May 2026 14:55:12 +0200 Subject: [PATCH 1/2] Fix featomic-torch build --- python/featomic_torch/build-backend/backend.py | 6 +++--- python/featomic_torch/setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/featomic_torch/build-backend/backend.py b/python/featomic_torch/build-backend/backend.py index d2c76561c..3a43ca794 100644 --- a/python/featomic_torch/build-backend/backend.py +++ b/python/featomic_torch/build-backend/backend.py @@ -22,7 +22,7 @@ FEATOMIC_DEP = f"featomic @ file://{FEATOMIC_SRC}" else: # we are building from a sdist - FEATOMIC_DEP = "featomic >=0.6.0,<0.7" + FEATOMIC_DEP = "featomic >=0.6.6rc1,<0.7" FORCED_TORCH_VERSION = os.environ.get("FEATOMIC_TORCH_BUILD_WITH_TORCH_VERSION") if FORCED_TORCH_VERSION is not None: @@ -42,7 +42,7 @@ def get_requires_for_build_wheel(config_settings=None): return defaults + [ "cmake", TORCH_DEP, - "metatensor-torch >=0.9.0-rc6,<0.10", - "metatomic-torch >=0.1.12-rc2,<0.2", + "metatensor-torch >=0.9.0rc6,<0.10", + "metatomic-torch >=0.1.12rc2,<0.2", FEATOMIC_DEP, ] diff --git a/python/featomic_torch/setup.py b/python/featomic_torch/setup.py index 2f4499aa3..5c4c754c9 100644 --- a/python/featomic_torch/setup.py +++ b/python/featomic_torch/setup.py @@ -356,7 +356,7 @@ def create_version_number(version): install_requires.append(f"featomic @ file://{FEATOMIC_PYTHON_SRC}") else: # we are building from a sdist/installing from a wheel - install_requires.append("featomic >=0.6.3,<0.7") + install_requires.append("featomic >=0.6.6rc1,<0.7") setup( version=version, From 5d5091b342b0c84bdb8b122600616cc53fb14278 Mon Sep 17 00:00:00 2001 From: Guillaume Fraux Date: Mon, 11 May 2026 14:56:02 +0200 Subject: [PATCH 2/2] Release featomic-torch v0.7.4-rc2 --- featomic-torch/VERSION | 2 +- featomic-torch/tests/cmake-project/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/featomic-torch/VERSION b/featomic-torch/VERSION index 193b6d207..3d492e073 100644 --- a/featomic-torch/VERSION +++ b/featomic-torch/VERSION @@ -1 +1 @@ -0.7.4-rc1 +0.7.4-rc2 diff --git a/featomic-torch/tests/cmake-project/CMakeLists.txt b/featomic-torch/tests/cmake-project/CMakeLists.txt index 3c7a5348d..c46edbfb0 100644 --- a/featomic-torch/tests/cmake-project/CMakeLists.txt +++ b/featomic-torch/tests/cmake-project/CMakeLists.txt @@ -6,7 +6,7 @@ project(featomic-torch-test-cmake-project CXX) # We need to update the REQUIRED_FEATOMIC_VERSION in the same way we update the # featomic version for dev builds include(../../cmake/dev-versions.cmake) -set(REQUIRED_FEATOMIC_TORCH_VERSION "0.7.4-rc1") +set(REQUIRED_FEATOMIC_TORCH_VERSION "0.7.4-rc2") create_development_version("${REQUIRED_FEATOMIC_TORCH_VERSION}" FEATOMIC_TORCH_FULL_VERSION "featomic-torch-v") string(REGEX REPLACE "([0-9]*)\\.([0-9]*).*" "\\1.\\2" REQUIRED_FEATOMIC_TORCH_VERSION ${FEATOMIC_TORCH_FULL_VERSION}) find_package(featomic_torch ${REQUIRED_FEATOMIC_TORCH_VERSION} REQUIRED)