Skip to content

Commit

Permalink
Adjust CI pipeline for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Oct 14, 2023
1 parent 7532e1e commit 10f0883
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci_linux/python_deps.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
#!/usr/bin/env bash
python -m pip install --upgrade pip
pip install "numpy!=1.16,!=1.17" "scipy!=1.5" h5py pytest pytest-cov pytest-timer
pip install pyberny geometric
pip install pyberny
pip install spglib

#cppe
version=$(python -c 'import sys; version=sys.version_info[:2]; print("{0}.{1}".format(*version))')
if [ $version != '2.7' ] && [ $version != '3.5' ]; then
if [ $version != '3.12' ]; then
pip install geometric
fi

#cppe
if [ $version == '3.12' ]; then
pip install cppe
fi

0 comments on commit 10f0883

Please sign in to comment.