gpaw: FTBFS against python 3.15rc1
Maximiliano Curia <[email protected]>
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <[email protected]> |
Package: src:gpaw Version: 25.7.0-2 User: [email protected] Usertags: python3.15 Tags: patch, ftbfs, forky, sid Hi! While rebuilding the python related packages against the Python 3.15rc1 version we found that gpaw fails to build from source [1]. Both are errors in the tests that require minimal changes, upstream already tackled those [2] [4], I'm attaching the backported patches. I applied the upstream fix in the sandbox [3] to be able to build the packages that depend on TODO, please consider applying the patch to support the upcoming 3.15 version. Happy hacking, [1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1017025/ [2]: https://gitlab.com/gpaw/gpaw/-/commit/a834678b0da993f32422905e2765e82b78bf5050 [3]: https://debusine.debian.net/debian/r-python-python3.15/ [4]: https://gitlab.com/gpaw/gpaw/-/commit/b91b62f0c1cd464eb9e81cf01e849aa7b5f2ab8d -- "Can you imagine what I would do if I could do all I can?" -- Sun Tzu Saludos /\/\ /\ >< `/
import-autoneb-from-ase-mep.patch
(text/x-diff, 540 B)
From: Jens Jørgen Mortensen <[email protected]> Date: Wed, 27 Aug 2025 08:38:30 +0200 Subject: Import AutoNEB from ase.mep Origin: upstream, https://gitlab.com/gpaw/gpaw/-/commit/a834678b0da993f32422905e2765e82b78bf5050 --- a/gpaw/test/ase_features/autoneb.py +++ b/gpaw/test/ase_features/autoneb.py @@ -6,7 +6,7 @@ from ase.build import fcc211, add_adsorbate from ase.constraints import FixAtoms from ase.optimize import QuasiNewton -from ase.autoneb import AutoNEB +from ase.mep.autoneb import AutoNEB @pytest.mark.skip(reason='TODO')
remove-trailing-comma-from-parametrize.patch
(text/x-diff, 812 B)
From: Lauri Niemi <[email protected]> Date: Wed, 26 Aug 2026 10:57:23 +0300 Subject: Removed trailing comma from parametrize that caused syntax error on pytest 9.1.1 See https://github.com/pytest-dev/pytest/issues/719 and their changelog for 9.1.1. Origin: upstream, https://gitlab.com/gpaw/gpaw/-/commit/b91b62f0c1cd464eb9e81cf01e849aa7b5f2ab8d --- a/gpaw/test/test_diagonalizer_backend.py +++ b/gpaw/test/test_diagonalizer_backend.py @@ -57,7 +57,7 @@ return ElpaDiagonalizer, eigenproblem_size, scalapack_kwargs [email protected]('dtype,', [float, complex]) [email protected]('dtype', [float, complex]) def test_diagonalizer_eigenproblem_correctness(backend_problemsize_kwargs, dtype): is_master_rank = world.rank == 0