Skip to content

Commit daa83ce

Browse files
authored
v2023.9.10 (#3309)
* add .github/release.yml * remove @dependabot PRs from changelogs * fix doc str indent * add release note categories Performance, Refactoring, Tests * add release categories Breaking Changes 💥, Security Fixes 🔒, Package Health 🏥 * update CHANGES.md and docs/CHANGES.md move PR category title icons to line start * bump setup.py version to 2023.9.10
1 parent fc69a71 commit daa83ce

File tree

6 files changed

+70
-29
lines changed

6 files changed

+70
-29
lines changed

.github/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
changelog:
2+
exclude:
3+
authors: [dependabot, github-actions, pre-commit-ci]
4+
categories:
5+
- title: 🎉 New Features
6+
labels: [feature]
7+
- title: 🐛 Bug Fixes
8+
labels: [fix]
9+
- title: 🛠 Enhancements
10+
labels: [enhancement, DX, UX]
11+
- title: 📖 Documentation
12+
labels: [docs]
13+
- title: 🧹 House-Keeping
14+
labels: [housekeeping]
15+
- title: 🚀 Performance
16+
labels: [performance]
17+
- title: 💡 Refactoring
18+
labels: [refactor]
19+
- title: 🧪 Tests
20+
labels: [tests]
21+
- title: 💥 Breaking Changes
22+
labels: [breaking]
23+
- title: 🔒 Security Fixes
24+
labels: [security]
25+
- title: 🏥 Package Health
26+
labels: [pkg]
27+
- title: 🤷‍♂️ Other Changes
28+
labels: ["*"]

CHANGES.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,25 @@ nav_order: 4
66

77
# Changelog
88

9+
## v2023.9.10
10+
11+
### 🐛 Bug Fixes
12+
13+
- Fix code comment in ASE adapter by @Andrew-S-Rosen in <https://github.com/materialsproject/pymatgen/pull/3298>
14+
- Fix IndexError when parsing Hessian from Gaussian frequency job by @janosh in <https://github.com/materialsproject/pymatgen/pull/3308>
15+
16+
### 🛠 Enhancements
17+
18+
- Add an input arg check for `Kpoints.automatic_density_by_lengths` by @Andrew-S-Rosen in <https://github.com/materialsproject/pymatgen/pull/3299>
19+
20+
### 🏥 Package Health
21+
22+
- Remove pydantic < 2 from `setup.py` and bump monty in `requirements.txt` by @Andrew-S-Rosen in <https://github.com/materialsproject/pymatgen/pull/3303>
23+
- Move `py.typed` to package root by @Andrew-S-Rosen in <https://github.com/materialsproject/pymatgen/pull/3307>
24+
- Consistent casing `setup->setUp` across test classes by @janosh in <https://github.com/materialsproject/pymatgen/pull/3305>
25+
26+
**Full Changelog**: <https://github.com/materialsproject/pymatgen/compare/v2023.9.2...v2023.9.10>
27+
928
## v2023.9.2
1029

1130
- VaspInputSets now allow structure to be None for stateless initialization.
@@ -33,10 +52,6 @@ nav_order: 4
3352
- Propagate labels through various Structure operations by @stefsmeets in <https://github.com/materialsproject/pymatgen/pull/3183>
3453
- Delete variable self assignments by @janosh in <https://github.com/materialsproject/pymatgen/pull/3196>
3554
- Improve `Structure` tests by @janosh in <https://github.com/materialsproject/pymatgen/pull/3197>
36-
- Bump pypa/cibuildwheel from 2.12.3 to 2.14.1 by @dependabot in <https://github.com/materialsproject/pymatgen/pull/3202>
37-
- Bump numpy from 1.24.3 to 1.25.2 by @dependabot in <https://github.com/materialsproject/pymatgen/pull/3201>
38-
- Bump matplotlib from 3.5.2 to 3.7.2 by @dependabot in <https://github.com/materialsproject/pymatgen/pull/3200>
39-
- Bump scipy from 1.9.0 to 1.11.1 by @dependabot in <https://github.com/materialsproject/pymatgen/pull/3199>
4055
- Test `class XYZ` edge cases by @janosh in <https://github.com/materialsproject/pymatgen/pull/3206>
4156
- Fix `EnergyAdjustment.__repr__` by @janosh in <https://github.com/materialsproject/pymatgen/pull/3207>
4257
- Markdownlint by @janosh in <https://github.com/materialsproject/pymatgen/pull/3209>
@@ -196,12 +211,6 @@ What's Changed
196211
- self.assertArrayEqual->assert by @janosh in [#2955](https://github.com/materialsproject/pymatgen/pull/2955)
197212
- fix GaussianOutput bug with multiple route lines by @xjf729 in [#2937](https://github.com/materialsproject/pymatgen/pull/2937)
198213
- Fix ValueError when passing selective_dynamics to Poscar by @chiang-yuan in [#2951](https://github.com/materialsproject/pymatgen/pull/2951)
199-
- Bump beautifulsoup4 from 4.11.1 to 4.12.2 by @dependabot in [#2962](https://github.com/materialsproject/pymatgen/pull/2962)
200-
- Bump pypa/cibuildwheel from 2.11.4 to 2.12.3 by @dependabot in [#2959](https://github.com/materialsproject/pymatgen/pull/2959)
201-
- Bump uncertainties from 3.1.6 to 3.1.7 by @dependabot in [#2960](https://github.com/materialsproject/pymatgen/pull/2960)
202-
- Bump numpy from 1.23.2 to 1.24.3 by @dependabot in [#2963](https://github.com/materialsproject/pymatgen/pull/2963)
203-
- Bump tabulate from 0.8.10 to 0.9.0 by @dependabot in [#2961](https://github.com/materialsproject/pymatgen/pull/2961)
204-
- Bump pandas from 1.4.4 to 2.0.1 by @dependabot in [#2964](https://github.com/materialsproject/pymatgen/pull/2964)
205214
- Link /addons from new subsection on /contributing page by @janosh in [#2967](https://github.com/materialsproject/pymatgen/pull/2967)
206215
- Breaking: change Yb pseudo-potential on all VASP input sets from Yb_2 to Yb_3 by @janosh in [#2969](https://github.com/materialsproject/pymatgen/pull/2969)
207216
- fix recursion error by adding copy and deepcopy dunder methods by @orionarcher in [#2973](https://github.com/materialsproject/pymatgen/pull/2973)

docs/CHANGES.md

Lines changed: 19 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pymatgen/analysis/magnetism/heisenberg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def get_exchange(self):
370370
return ex_params
371371

372372
# Solve eigenvalue problem for more than 1 NN interaction
373-
H = np.array(ex_mat.loc[:, ex_mat.columns != "E"].values).astype("float64")
373+
H = np.array(ex_mat.loc[:, ex_mat.columns != "E"].values).astype(float)
374374
H_inv = np.linalg.inv(H)
375375
j_ij = np.dot(H_inv, E)
376376

pymatgen/vis/structure_chemview.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def quick_view(
3333
Args:
3434
structure: pymatgen Structure
3535
bonds: (bool) visualize bonds. Bonds are found by comparing distances
36-
to added covalent radii of pairs. Defaults to True.
36+
to added covalent radii of pairs. Defaults to True.
3737
conventional: (bool) use conventional cell. Defaults to False.
3838
transform: (list) can be used to make supercells with pymatgen.Structure.make_supercell method
3939
show_box: (bool) unit cell is shown. Defaults to True.
@@ -72,12 +72,7 @@ def quick_view(
7272
rad = CovalentRadius.radius[el]
7373
mv.add_representation(
7474
"spheres",
75-
{
76-
"coordinates": coord.astype("float32"),
77-
"colors": [get_atom_color(el)],
78-
"radii": [rad * 0.5],
79-
"opacity": 1.0,
80-
},
75+
{"coordinates": coord.astype(float), "colors": [get_atom_color(el)], "radii": [rad * 0.5], "opacity": 1},
8176
)
8277
if show_box:
8378
o = np.array([0, 0, 0])

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
include=["pymatgen.*", "pymatgen.analysis.*", "pymatgen.io.*", "pymatgen.ext.*", "cmd_line"],
2929
exclude=["pymatgen.*.tests", "pymatgen.*.*.tests", "pymatgen.*.*.*.tests"],
3030
),
31-
version="2023.9.2",
31+
version="2023.9.10",
3232
python_requires=">=3.9",
3333
install_requires=[
3434
"matplotlib>=1.5",

0 commit comments

Comments
 (0)