You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest release v2024.11.13 does not have deprecated functions past their deadlines removed:
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pymatgen/io/ase.py:16: in <module>
from pymatgen.core.structure import Molecule, Structure
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pymatgen/core/__init__.py:12: in <module>
from pymatgen.core.composition import Composition
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pymatgen/core/composition.py:22: in <module>
from pymatgen.core.periodic_table import DummySpecies, Element, ElementType, Species, get_el_sp
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pymatgen/core/periodic_table.py:63: in <module>
classElementBase(Enum):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pymatgen/core/periodic_table.py:7[55](https://github.com/FAIR-Chem/fairchem/actions/runs/12676568814/job/35330031581?pr=963#step:7:56): in ElementBase
@deprecated(is_rare_earth, message="is_rare_earth is corrected to include Y and Sc.", deadline=(2025, 1, 1))
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/monty/dev.py:1[57](https://github.com/FAIR-Chem/fairchem/actions/runs/12676568814/job/35330031581?pr=963#step:7:58): in deprecated
raise_deadline_warning()
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/monty/dev.py:86: in raise_deadline_warning
raiseDeprecationWarning(
E DeprecationWarning: This function should have been removed on 2025-01-01.
Expected Behavior
A new release with the deprecated functions removed.
Minimal example
No response
Relevant files to reproduce this bug
No response
The text was updated successfully, but these errors were encountered:
Looks like you might be using Python 3.9, and unfortunately both pymatgen and monty have dropped Python 3.9 support.
If you have to use Python 3.9, you might need to temporarily remove the CI environment variable to disable the deprecation check for now, #4243 (comment)
If you're happy to move to Python 3.10 and onwards, the latest monty 2025.1.3 has fixed this issue so you wouldn't get that deprecation exception anymore
Update: I have opened a PR to revert Python 3.9 support for monty, if this got accepted, no workaround might be needed:
Python version
Python 3.12
Pymatgen version
v2024.11.13
Operating system version
No response
Current behavior
The latest release v2024.11.13 does not have deprecated functions past their deadlines removed:
Expected Behavior
A new release with the deprecated functions removed.
Minimal example
No response
Relevant files to reproduce this bug
No response
The text was updated successfully, but these errors were encountered: