diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cfbb9635..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 - 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 - huggingface-cli login --token "$HF_TOKEN" + hf auth login --token "$HF_TOKEN" fi uv run --with . ${{ matrix.example }} diff --git a/pyproject.toml b/pyproject.toml index 3aae6ed2..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>=0.3.7", + "vesin-torch>=0.3.7, <0.4.0", + "vesin>=0.3.7, <0.4.0", ] [project.optional-dependencies]