Skip to content

Commit d7829e5

Browse files
authored
pin parmed version for py37 (#416)
The new version of parmed drops Python 3.7. However, it did not set `requires-python`, making pip on Python 3.7 still installs the latest version.
1 parent ecdf566 commit d7829e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ dpdata = "dpdata.cli:dpdata_cli"
4141

4242
[project.optional-dependencies]
4343
ase = ['ase']
44-
amber = ['parmed']
44+
amber = [
45+
'parmed; python_version >= "3.8"',
46+
'parmed<4; python_version < "3.8"',
47+
]
4548
pymatgen = ['pymatgen']
4649
docs = [
4750
'sphinx',

0 commit comments

Comments
 (0)