diff --git a/burnman/classes/solutionmodel.py b/burnman/classes/solutionmodel.py index d7736696..abedeec9 100644 --- a/burnman/classes/solutionmodel.py +++ b/burnman/classes/solutionmodel.py @@ -10,9 +10,6 @@ from ..utils.chemistry import process_solution_chemistry from .. import constants import warnings -import sparse -import string -from copy import deepcopy from .material import material_property, cached_property from dataclasses import make_dataclass diff --git a/docs/pip_requirements.txt b/docs/pip_requirements.txt index 5487ca9c..eff5cb94 100644 --- a/docs/pip_requirements.txt +++ b/docs/pip_requirements.txt @@ -9,7 +9,6 @@ nbsphinx cvxpy jupyter autograd -sparse # ReadTheDocs cannot build pycddlib successfully # because it requires gmp.h, installable only via sudo apt-get install. diff --git a/pyproject.toml b/pyproject.toml index 473623ac..c2147e00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,6 @@ python = "^3.8" numpy = "^1.24" scipy = "^1.10" sympy = "^1.12" -sparse = "^0.14" cvxpy = "^1.3" matplotlib = "^3.7" diff --git a/test.sh b/test.sh index 4d4968b6..e2b93841 100755 --- a/test.sh +++ b/test.sh @@ -18,17 +18,16 @@ then fi $PYTHON --version -echo "" -echo "Dependency tree:" -$PYTHON -m pip install -q pipdeptree -$PYTHON -m pipdeptree -p burnman -d 1 2> /dev/null -echo "" - # Quietly install burnman in development mode echo "Installing BurnMan in development mode ..." $PYTHON -m pip install -q -e . echo "" +echo "Dependency tree:" +$PYTHON -m pip install -q pipdeptree . +$PYTHON -m pipdeptree -p burnman -d 1 2> /dev/null +echo "" + # Quietly install optional modules after burnman echo "Installing optional cvxpy, pycddlib, autograd and jupyter modules ..." $PYTHON -m pip install -q cvxpy pycddlib autograd jupyter