Build (test) failure with Ubuntu Jammy - version 3.0.1
Attempting to build (and run tests) on Ubuntu 22.04 Jammy, which uses Python 3.10, results in tests failing:
dh_auto_test -O--buildsystem=pybuild
dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
I: pybuild base:239: cd /build/lscsoft-glue-3.0.1/.pybuild/cpython3_3.10/build; python3.10 -m unittest discover -v
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
I: pybuild pybuild:326: env PYTHONPATH=/build/lscsoft-glue-3.0.1/.pybuild/cpython3_3.10/build PYTHONDONTWRITEBYTECODE=1 make -C /build/lscsoft-glue-3.0.1/test PYTHON=python3.10 -o test_ldbd ;
make[1]: Entering directory '/build/lscsoft-glue-3.0.1/test'
=== start glue_ligolw_ilwd_verify ===>
python3.10 glue_ligolw_ilwd_verify.py && { echo "Pass" ; true ; } || { echo "Fail" ; false ; }
**********************************************************************
File "/build/lscsoft-glue-3.0.1/.pybuild/cpython3_3.10/build/glue/ligolw/_ilwd.cpython-310-x86_64-linux-gnu.so", line ?, in glue.ligolw._ilwd.ilwdchar
Failed example:
print(x - y)
Expected:
table_a:column_b:0
Got:
0
**********************************************************************
1 items had failures:
1 of 9 in glue.ligolw._ilwd.ilwdchar
***Test Failed*** 1 failures.
Fail
make[1]: *** [Makefile:27: glue_ligolw_ilwd_verify] Error 1
make[1]: Leaving directory '/build/lscsoft-glue-3.0.1/test'
E: pybuild pybuild:369: test: plugin distutils failed with: exit code=2: env PYTHONPATH=/build/lscsoft-glue-3.0.1/.pybuild/cpython3_3.10/build PYTHONDONTWRITEBYTECODE=1 make -C /build/lscsoft-glue-3.0.1/test PYTHON=python3.10 -o test_ldbd ;
dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit code 13
make: *** [debian/rules:29: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Is this serious enough, or can it be ignored? (Perhaps there's a patch to make it work with Python 3.10?)
Edited by Steffen Grunewald