Skip to content

Commit ccc8b64

Browse files
committed
Add upper pin for python version when installing pymatgen
1 parent 34110c2 commit ccc8b64

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ http-client = [
8383

8484
ase = ["ase~=3.22"]
8585
cif = ["numpy>=1.22,<3.0"]
86-
pymatgen = ["pymatgen>=2022", "pandas~=2.2"]
86+
pymatgen = ["pymatgen>=2022; python_version < '3.13'", "pandas~=2.2"]
8787
jarvis = ["jarvis-tools>=2023.1.8,!=2024.4.20,!=2024.4.30"]
8888
client = ["optimade[cif]"]
8989

requirements-client.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ aiida-core==2.6.2
22
ase==3.23.0
33
jarvis-tools==2024.10.10
44
numpy>=1.20
5-
pymatgen==2024.10.27
5+
pymatgen==2024.10.27; python_version < '3.13'

tests/adapters/structures/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
def get_min_ver(dependency: str) -> str:
6-
"""Retrieve version of `dependency` from setup.py, raise if not found."""
6+
"""Retrieve version of `dependency` from pyproject.toml, raise if not found."""
77
pyproject_toml = Path(__file__).parent.joinpath("../../../pyproject.toml")
88
with open(pyproject_toml) as setup_file:
99
for line in setup_file.readlines():

0 commit comments

Comments
 (0)