Skip to content

Commit

Permalink
Add upper pin for python version when installing pymatgen
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Oct 28, 2024
1 parent 34110c2 commit ccc8b64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ http-client = [

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

Expand Down
2 changes: 1 addition & 1 deletion requirements-client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ aiida-core==2.6.2
ase==3.23.0
jarvis-tools==2024.10.10
numpy>=1.20
pymatgen==2024.10.27
pymatgen==2024.10.27; python_version < '3.13'
2 changes: 1 addition & 1 deletion tests/adapters/structures/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


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

0 comments on commit ccc8b64

Please sign in to comment.