[Debian-med-packaging] Bug#1055708: python-biopython's autopkg tests fail with Python 3.12

Matthias Klose doko at debian.org
Fri Nov 10 09:26:42 GMT 2023


Package: src:python-biopython
Version: 1.81+dfsg-1
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12


[...]
BioSQL.DBUtils docstring test ... ok
BioSQL.Loader docstring test ... ok
======================================================================
ERROR: test_construct_cgi_epost2 
(test_Entrez.TestURLConstruction.test_construct_cgi_epost2)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/Tests/test_Entrez.py", 
line 212, in test_construct_cgi_epost2
     check_request_ids(self, query, variables["id"])
   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/Tests/test_Entrez.py", 
line 129, in check_request_ids
     testcase.assertEquals(len(params["id"]), 1)
     ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestURLConstruction' object has no attribute 
'assertEquals'. Did you mean: 'assertEqual'?

----------------------------------------------------------------------
Ran 552 tests in 306.489 seconds

FAILED (failures = 1)
Skipping any tests requiring internet access
Python version: 3.12.0+ (main, Nov  9 2023, 10:45:17) [GCC 13.2.0]
Operating system: posix linux



More information about the Debian-med-packaging mailing list