Bump monty and pymatgen #1095
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1095 +/- ##
==========================================
- Coverage 72.82% 4.13% -68.69%
==========================================
Files 187 187
Lines 13637 13627 -10
Branches 1370 1372 +2
==========================================
- Hits 9931 564 -9367
- Misses 3161 13032 +9871
+ Partials 545 31 -514 |
|
Thanks @naik-aakash . But there seems to be another issue now 😬 |
Yeah Abinit parsers need to be updated in pymatgen seems 😅 |
Correction : Just a new release of pymatgen should be enough. Parsers in pymatgen are already updated |
Yep I believe this has been fixed by materialsproject/pymatgen#4223 |
|
Hi @davidwaroquiers , @VicTrqt, @gpetretto : Can you please help me fixing the failing abinit tests on the upgrade of Monty and Pymatgen here ? |
Hello @naik-aakash, |
|
Possible fix to the failing abinit tests: Still validating. Looks like the problem is that:
I think while we can wait for bump to the upstream abipy code and just hack in a manual skip of the one check for now. The mismatch looks like this: But it sometimes shows up with the "Ha" and sometimes without (as if to mock us). |
|
OK the abinit and aims tests that were breaking should be fixed by the PR above now. |
|
Hi @orionarcher , currently on updating pymatgen , |
|
@orionarcher As said by @naik-aakash , it would we great if we could get some help here. Thanks in advance! |
|
Sorry for the delay. You can just change assert sum(counts.values()) == 100to assert sum(counts.values()) == 101
|
|
Hi @orionarcher, I had to adapt another test from open_ff_md utils to make it work with the latest pymatgen. The function in question was again |
Changes
Upgrade monty to latest version
Reason
See materialsproject/pymatgen#4243, due to accidental oversight with deprecation warning raise behaviour in monty, all downstream packages where an earlier version of monty is used, CI tests fails