Source: python-biopython
Version: 1.81+dfsg-3
Severity: serious
Tags: ftbfs
Justification: ftbfs
While trying to pinpoint the root cause of test failures in the
packaging attempt of Biopython 1.83, I eventually realized that
the version 1.81 of Biopython is also affected by the same
issues. The relevant part of the test log looks like:
======================================================================
ERROR: test_embl7 (test_SeqIO.TestSeqIO.test_embl7)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Tests/test_SeqIO.py", line 3388, in test_embl7
self.perform_test(
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Tests/test_SeqIO.py", line 626, in perform_test
self.check_simple_write_read(
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Tests/test_SeqIO.py", line 363, in check_simple_write_read
records2 = list(SeqIO.parse(handle=handle, format=fmt))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Bio/SeqIO/Interfaces.py", line 72, in __next__
return next(self.records)
^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Bio/SeqIO/SeqXmlIO.py", line 447, in iterate
parser.close()
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 240, in close
self.feed(b"", isFinal=True)
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
File "../Modules/pyexpat.c", line 416, in StartElement
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 369, in start_element_ns
self._cont_handler.startElementNS(pair, None,
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Bio/SeqIO/SeqXmlIO.py", line 163, in startEntryFieldElement
return self.startPropertyElement(attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Bio/SeqIO/SeqXmlIO.py", line 339, in startPropertyElement
record = self.records[-1]
~~~~~~~~~~~~^^^^
IndexError: list index out of range
======================================================================
ERROR: test_genbank8 (test_SeqIO.TestSeqIO.test_genbank8)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Tests/test_SeqIO.py", line 2785, in test_genbank8
self.perform_test(
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Tests/test_SeqIO.py", line 626, in perform_test
self.check_simple_write_read(
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Tests/test_SeqIO.py", line 363, in check_simple_write_read
records2 = list(SeqIO.parse(handle=handle, format=fmt))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Bio/SeqIO/Interfaces.py", line 72, in __next__
return next(self.records)
^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Bio/SeqIO/SeqXmlIO.py", line 447, in iterate
parser.close()
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 240, in close
self.feed(b"", isFinal=True)
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
File "../Modules/pyexpat.c", line 416, in StartElement
File "/usr/lib/python3.11/xml/sax/expatreader.py", line 369, in start_element_ns
self._cont_handler.startElementNS(pair, None,
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Bio/SeqIO/SeqXmlIO.py", line 163, in startEntryFieldElement
return self.startPropertyElement(attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/Bio/SeqIO/SeqXmlIO.py", line 339, in startPropertyElement
record = self.records[-1]
~~~~~~~~~~~~^^^^
IndexError: list index out of range
I haven't checked but I heavily suspect that this is causing
also autopkgtest failures.
For information,
--
.''`. Étienne Mollier <
emollier@debian.org>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/0, please excuse my verbosity
`-
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmXQ+LkACgkQeTz2fo8N EdqTLw/+Pu/ruJIJuvO3wQSbqjqsdPiP9Jh2fzQOQ/AqgV4ZU86sxoKr3HamEVxY 2PXr03kFSbs9cucWj99yjuxYqaf5omEfCOWZyyccyLVnHLZidaYS5iD+g1dXNUh9 UKcOMlUuN1n4RQbmybS5pF8aELfd/OGBOugJ2t1S696iRbpfJDnePWPcSm4Rk1om nHJ5zx3TDaJAT49hSvat1yM+ID+1svmrcXdoXiLJDUQDpk55L3ZhB/6eR1iS8wD1 0N56KwXsbbAvBOWcV7u93E2GwoHByOPLlBtZ8U7oZt1GK8VHdpVGA2WrJOB6YOrV xti+9VN1G8U3KEWQHb1rrjxP+wgOkqMvyJLUrNPZYwMmQK0buK7mwxhFcsZWwBB5 dJitD4/6ubWD5tTgYAOBlMMYGJlK7b4OkDCtt67dbySGlmQnRDIlo4ARZEyZR8ix ReGnu+c+0y3RyR1WHj2qNRkYecfCb2imgEzcqao//ujUpayFl20He6bFczyFXU9I N482pqNrgc82md4ujLRAhQn+AfFAaLeVyIpoOtLIVwckZr2axNvHyJidBM+p52nQ ae+iRetWRikFrxMvNgm1VE/gN6D345j1uTaqujVMXZDQOamBIJF6I5nh0bmjJszv k7yogGa3p2GONh5c4QJ+a8/ATgCu+d13MZb+xdqlOlCr59uAn40=
=SddM
-----END PGP SIG