[Debian-med-packaging] Bug#999381: python-pairix ftbfs with Python 3.10 (test failures)

Matthias Klose doko at debian.org
Wed Nov 10 15:31:16 GMT 2021


Source: python-pairix
Version: 0.3.7-4	
Severity: important
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.10

python-pairix ftbfs with python3-defaults from experimental:

I: pybuild pybuild:285: cp -a /<<PKGBUILDDIR>>/samples
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pairix/build; cp -a
/<<PKGBUILDDIR>>/VERSION.txt /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pairix/build;
I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pairix/build;
python3.10 -m pytest test
============================= test session starts ==============================
platform linux -- Python 3.10.0+, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: /<<PKGBUILDDIR>>
collected 0 items / 2 errors

==================================== ERRORS ====================================
__ ERROR collecting .pybuild/cpython3_3.10_pairix/build/test/test_oldindex.py __
test/test_oldindex.py:180: in <module>
    class PairixTest(unittest.TestCase):
test/test_oldindex.py:181: in PairixTest
    regions = read_vcf(TEST_FILE_1D)
test/test_oldindex.py:68: in read_vcf
    for line in gzip.open(filename):
E   ValueError: readline of closed file
_ ERROR collecting .pybuild/cpython3_3.10_pairix/build/test/test_oldindex2.py __
test/test_oldindex2.py:179: in <module>
    class PairixTest(unittest.TestCase):
test/test_oldindex2.py:180: in PairixTest
    regions = read_vcf(TEST_FILE_1D)
test/test_oldindex2.py:67: in read_vcf
    for line in gzip.open(filename):
E   ValueError: readline of closed file
=============================== warnings summary ===============================
test/test_oldindex.py:58
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pairix/build/test/test_oldindex.py:58:
DeprecationWarning: invalid escape sequence '\s'
    fields = line.rstrip().split('\s+')

test/test_oldindex2.py:57

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pairix/build/test/test_oldindex2.py:57:
DeprecationWarning: invalid escape sequence '\s'
    fields = line.rstrip().split('\s+')

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
ERROR test/test_oldindex.py - ValueError: readline of closed file
ERROR test/test_oldindex2.py - ValueError: readline of closed file
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
======================== 2 warnings, 2 errors in 0.55s =========================
E: pybuild pybuild:354: test: plugin distutils failed with: exit code=2: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pairix/build; python3.10 -m pytest test



More information about the Debian-med-packaging mailing list