From 878b52b0e76cdd42c4c40c469f9cd3ed968ac321 Mon Sep 17 00:00:00 2001 From: frostedoyster Date: Wed, 24 Jul 2024 16:09:32 +0200 Subject: [PATCH] FIX IT. --- pyproject.toml | 2 +- tox.ini | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6292ae02f..dfdb38595 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ dependencies = [ "jsonschema", "omegaconf", "python-hostlist", - "torch==2.3.1", + "torch", "vesin", ] diff --git a/tox.ini b/tox.ini index 5651bd57a..c4487e05d 100644 --- a/tox.ini +++ b/tox.ini @@ -100,25 +100,25 @@ commands = [testenv:alchemical-model-tests] description = Run Alchemical Model tests with pytest passenv = * -setenv = - PIP_OPTIONS="--no-build-isolation" deps = pytest extras = alchemical-model changedir = src/metatrain/experimental/alchemical_model/tests/ commands = + python -m pip uninstall sphericart sphericart-torch + python -m pip install sphericart[torch] --no-build-isolation pytest {posargs} [testenv:pet-tests] description = Run PET tests with pytest passenv = * -setenv = - PIP_OPTIONS="--no-build-isolation" deps = pytest extras = pet changedir = src/metatrain/experimental/pet/tests/ commands = + python -m pip uninstall pet + python -m pip install pet --no-build-isolation pytest {posargs} [testenv:gap-tests]