Skip to content

Commit 58c5bc0

Browse files
authored
Merge pull request #133 from kavanase/patch-1
Refactor to only depend on `pymatgen-core`
2 parents ad6b7eb + 3aaf01d commit 58c5bc0

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
strategy:
3333
matrix:
34-
python-version: ["3.10", "3.11", "3.12", "3.13"]
34+
python-version: ["3.11", "3.12", "3.13"]
3535

3636
steps:
3737
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ requires = ["setuptools >= 60", "setuptools-scm>=8.0", "wheel"]
44

55
[project]
66
classifiers = [
7-
"Programming Language :: Python :: 3.8",
8-
"Programming Language :: Python :: 3.9",
9-
"Programming Language :: Python :: 3.10",
7+
"Programming Language :: Python",
108
"Development Status :: 4 - Beta",
119
"Intended Audience :: Science/Research",
1210
"Intended Audience :: Information Technology",
@@ -16,7 +14,7 @@ classifiers = [
1614
]
1715
authors = [{name = "Jimmy-Xuan Shen", email = "jmmshn@gmail.com"}]
1816
dependencies = [
19-
'pymatgen>=2023.9.21',
17+
'pymatgen-core>=2026.4.7',
2018
]
2119

2220
description = "Tools for re-griding periodic volumetric quantum chemistry data for machine-learning purposes."
@@ -25,7 +23,7 @@ keywords = ["machine-learning", "dft", "vasp", "volumetric", "pymatgen"]
2523
license = {text = "modified BSD"}
2624
name = "mp-pyrho"
2725
readme = "README.md"
28-
requires-python = ">=3.9"
26+
requires-python = ">=3.11"
2927

3028
[tool.setuptools_scm]
3129

src/pyrho/charge_density.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import numpy.typing as npt
1212
from monty.dev import deprecated
1313
from monty.json import MSONable
14-
from pymatgen.analysis.structure_matcher import ElementComparator, StructureMatcher
1514
from pymatgen.core.lattice import Lattice
15+
from pymatgen.core.structure_matcher import ElementComparator, StructureMatcher
1616
from pymatgen.io.vasp import Chgcar, Poscar, VolumetricData
1717

1818
from pyrho.pgrid import PGrid

0 commit comments

Comments
 (0)