[Debichem-devel] Bug#1056457: Bug#1056457: python-ase's autopkg tests fail with Python 3.12

Andrius Merkys merkys at debian.org
Thu Dec 21 06:39:54 GMT 2023


Control: tags -1 + patch

Hi,

On 2023-12-20 20:23, s3v wrote:
> After applying [1][2][3] from upstream and adding "-p no:warnings":
> 
>    addopts = -p no:cacheprovider -p no:warnings
>   
> in ase/test/pytest.ini (DeprecationWarnings from various packages make
> tests fail), I was able to build your package in a sid chroot environment.
> 
> Kind Regards
> 
> [1] https://gitlab.com/ase/ase/-/commit/9c019c1782115343014691596514eb6d351e8e17
> [2] https://gitlab.com/ase/ase/-/commit/f0932b3385fea739bc737e5aec1fc92960b0550c
> [3] https://gitlab.com/ase/ase/-/merge_requests/3022

This is great news, thanks for caring for python-ase. It would be nice 
to have an upstream release with all Python 3.12 compatibility fixes, 
but in the meantime patches are OK.

Is there a way to ignore DeprecationWarnings, but leave them in to the 
output? They are quite helpful to see, but not worth failing the build 
at the time being.

Best,
Andrius



More information about the Debichem-devel mailing list