diff --git a/pyproject.toml b/pyproject.toml index ee926aaeb..8c1dac023 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,10 @@ dpdata = "dpdata.cli:dpdata_cli" [project.optional-dependencies] ase = ['ase'] -amber = ['parmed'] +amber = [ + 'parmed; python_version >= "3.8"', + 'parmed<4; python_version < "3.8"', +] pymatgen = ['pymatgen'] docs = [ 'sphinx',