pymatgen ftbfs with Python 3.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pymatgen (Debian) |
Fix Released
|
Unknown
|
|||
pymatgen (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Imported from Debian bug http://
Package: src:pymatgen
Version: 2024.1.27+dfsg1-7
Severity: important
Tags: sid trixie ftbfs
User: <email address hidden>
Usertags: python3.12
[...]
=======
=======
_______
_______
self = <tests.
testMethod=
def test_snl(self):
with pytest.
snl = self.trans.
> assert len(warns) == 1, "Warning not raised on type conversion
with other_parameters"
E AssertionError: Warning not raised on type conversion with
other_parameters
E assert 2 == 1
E + where 2 = len(WarningsChe
/<<PKGBUILDDIR>
AssertionError
_______
_______
self = <tests.
testMethod=
def test_dict_
> assert self.Lobsterinf
E AssertionError: assert None == -15.0
E + where None = <bound method UserDict.get of
{'cohpstartenergy': -15.0, 'cohpendenergy': 5.0, 'basisset':
'pbeVaspFit2015', 'gaussian...s'], 'skipdos': True, 'skipcohp': True,
'skipcoop': True, 'skippopulation
True}>(
E + where <bound method UserDict.get of {'cohpstartenergy':
-15.0, 'cohpendenergy': 5.0, 'basisset': 'pbeVaspFit2015',
'gaussian...s'], 'skipdos': True, 'skipcohp': True, 'skipcoop': True,
'skippopulation
{'cohpstartenergy': -15.0, 'cohpendenergy': 5.0, 'basisset':
'pbeVaspFit2015', 'gaussiansmeari
'skipdos': True, 'skipcohp': True, 'skipcoop': True,
'skippopulation
E + where {'cohpstartenergy': -15.0, 'cohpendenergy': 5.0,
'basisset': 'pbeVaspFit2015', 'gaussiansmeari
'basisfun...4s'], 'skipdos': True, 'skipcohp': True, 'skipcoop': True,
'skippopulation
<tests.
testMethod=
.pybuild/
AssertionError
_______
_______
self = <tests.
testMethod=
def test_potcar_
filepath = f"{TEST_
# Ensure no potcar is found and nothing is updated
with pytest.
matching TITEL fields was found in") as warns:
> assert len(warns) == 2
E assert 3 == 2
E + where 3 = len(WarningsChe
/<<PKGBUILDDIR>
AssertionError
_______
_______
self = <tests.
def test_unconverge
filepath = f"{TEST_
with pytest.
match="
parse_potcar_
> assert len(warns) == 1
E assert 2 == 1
E + where 2 = len(WarningsChe
/<<PKGBUILDDIR>
AssertionError
Changed in pymatgen (Debian): | |
importance: | Undecided → Unknown |
tags: | added: patch |
Changed in pymatgen (Debian): | |
status: | New → Fix Released |
Updating to pymatgen 2024.5.1 should fix that failure. That release contains commit c1a610c25962050 9d47ca60db11a4a d32d085994 that adds official support for Python 3.12.