From 7026bfc56c12cd143854ec116cc3d491ee6bfcd0 Mon Sep 17 00:00:00 2001 From: Will Engler Date: Tue, 28 Oct 2025 15:46:40 -0500 Subject: [PATCH 1/4] try to fix failing fairchem tests --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cfbb9635..3946deda 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -125,7 +125,7 @@ jobs: run: | if [[ "${{ matrix.model.name }}" == *"fairchem"* ]]; then uv pip install "huggingface_hub[cli]" --system - huggingface-cli login --token "$HF_TOKEN" + python -m huggingface_hub.commands.huggingface_cli login --token "$HF_TOKEN" fi pytest -vv -ra -rs --cov=torch_sim --cov-report=xml ${{ matrix.model.test_path }} @@ -176,6 +176,6 @@ jobs: run: | if [[ "${{ matrix.example }}" == *"fairchem"* ]]; then uv pip install "huggingface_hub[cli]" --system - huggingface-cli login --token "$HF_TOKEN" + python -m huggingface_hub.commands.huggingface_cli login --token "$HF_TOKEN" fi uv run --with . ${{ matrix.example }} From 9300d677645d398d6f7520b40554b27fcc5ddc51 Mon Sep 17 00:00:00 2001 From: Will Engler Date: Tue, 28 Oct 2025 16:04:05 -0500 Subject: [PATCH 2/4] use new hf command name instead of rummaging around in the package modules --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3946deda..a1b57c44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -125,7 +125,7 @@ jobs: run: | if [[ "${{ matrix.model.name }}" == *"fairchem"* ]]; then uv pip install "huggingface_hub[cli]" --system - python -m huggingface_hub.commands.huggingface_cli login --token "$HF_TOKEN" + hf auth login --token "$HF_TOKEN" fi pytest -vv -ra -rs --cov=torch_sim --cov-report=xml ${{ matrix.model.test_path }} @@ -176,6 +176,6 @@ jobs: run: | if [[ "${{ matrix.example }}" == *"fairchem"* ]]; then uv pip install "huggingface_hub[cli]" --system - python -m huggingface_hub.commands.huggingface_cli login --token "$HF_TOKEN" + hf auth login --token "$HF_TOKEN" fi uv run --with . ${{ matrix.example }} From c9639c1adeff3ec149f2a5be561522d5117b8c1a Mon Sep 17 00:00:00 2001 From: Will Engler Date: Tue, 28 Oct 2025 16:31:07 -0500 Subject: [PATCH 3/4] for now, do not install vesin 0.4.0 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3aae6ed2..beb86a21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,8 +32,8 @@ dependencies = [ "tables>=3.10.2", "torch>=2", "tqdm>=4.67", - "vesin-torch>=0.3.7", - "vesin>=0.3.7", + "vesin-torch~=0.3.7", + "vesin-torch~=0.3.7", ] [project.optional-dependencies] From 306caf640cbce64d58cb4cf8bc3a376e3521bcec Mon Sep 17 00:00:00 2001 From: Will Engler Date: Tue, 28 Oct 2025 16:37:26 -0500 Subject: [PATCH 4/4] fix typo in pyproject.toml --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index beb86a21..dcf548b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,8 +32,8 @@ dependencies = [ "tables>=3.10.2", "torch>=2", "tqdm>=4.67", - "vesin-torch~=0.3.7", - "vesin-torch~=0.3.7", + "vesin-torch>=0.3.7, <0.4.0", + "vesin>=0.3.7, <0.4.0", ] [project.optional-dependencies]