Skip to content

Commit

Permalink
Deps: constrain phonopy and spglib versions
Browse files Browse the repository at this point in the history
Tests fail with recent versions of phonopy and spglib.
From spglib v2.5, some API and functionality have changed,
and phonopy seems to not be functioning as expected
since v2.26 onwards.
  • Loading branch information
bastonero committed Sep 11, 2024
1 parent 3ee9e7c commit 0daaa4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

strategy:
matrix:
python-version: ['3.10']
python-version: ['3.10','3.12']

services:
rabbitmq:
Expand Down Expand Up @@ -75,6 +75,6 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: pytests-vibroscopy3.9
name: pytests-vibroscopy3.10
flags: pytests
fail_ci_if_error: true
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ dependencies = [
"aiida-core>=2.2.2,<3.0.0",
"aiida-quantumespresso>=4.3.0",
"aiida-phonopy>=1.1.3",
"phonopy>=2.19.0,<3.0.0",
"spglib<2.5",
"phonopy>=2.19.0,<=2.25.0",
]

[project.urls]
Expand Down

0 comments on commit 0daaa4c

Please sign in to comment.