Bug#945411: pyfai fails tests with Python 3.8
Matthias Klose
doko at debian.org
Sun Nov 24 14:55:37 GMT 2019
Package: src:pyfai
Version: 0.18.0+dfsg1-3
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.8
[...]
mkdir -p /<<PKGBUILDDIR>>/.cache/ # create POCL cachedir in order to avoid an
FTBFS in sbuild
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} http_proxy='127.0.0.1:9'
WITH_QT_TEST=False PYFAI_TESTIMAGES=testimages PYFAI_DATA=/<<PKGBUILDDIR>>
xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} ./run_tests.py
--low-mem --installed" dh_auto_test
pybuild --test -i python{version} -p "3.8 3.7"
I: pybuild base:217:
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build
http_proxy='127.0.0.1:9' WITH_QT_TEST=False PYFAI_TESTIMAGES=testimages
PYFAI_DATA=/<<PKGBUILDDIR>> xvfb-run -a --server-args="-screen 0 1024x768x24"
python3.8 ./run_tests.py --low-mem --installed
INFO:root:Generating grammar tables from /usr/lib/python3.8/lib2to3/Grammar.txt
INFO:root:Generating grammar tables from
/usr/lib/python3.8/lib2to3/PatternGrammar.txt
INFO:pyFAI.setup:Use setuptools
INFO:pyFAI.setup:Use setuptools.setup
WARNING:run_tests:Test pyFAI 0.18.0 from
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/azimuthalIntegrator.py:705:
SyntaxWarning: "is" with a literal. Did you mean "=="?
elif (not correctSolidAngle) and param["solid_angle"] and (flat is 1):
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/azimuthalIntegrator.py:707:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
elif not correctSolidAngle and not param["solid_angle"] and (flat is not 1):
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/geometry.py:626:
DeprecationWarning: invalid escape sequence \*
"""
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/geometry.py:729:
DeprecationWarning: invalid escape sequence \*
"""Generate a 4D array of the given shape with (i,j) (radial
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/geometry.py:742:
DeprecationWarning: invalid escape sequence \*
"""
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/geometry.py:754:
DeprecationWarning: invalid escape sequence \*
"""
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/geometry.py:766:
DeprecationWarning: invalid escape sequence \*
"""
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/geometry.py:777:
DeprecationWarning: invalid escape sequence \*
"""
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/geometry.py:819:
DeprecationWarning: invalid escape sequence \*
"""
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/engines/preproc.py:61:
DeprecationWarning: invalid escape sequence \*
"""Common preprocessing step for all integration engines
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/third_party/transformations.py:33:
DeprecationWarning: invalid escape sequence \*
"""Homogeneous Transformation Matrices and Quaternions.
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/third_party/transformations.py:890:
DeprecationWarning: invalid escape sequence \*
"""Return affine transform matrix to register two point sets.
WARNING:py.warnings:/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build/pyFAI/third_party/transformations.py:999:
DeprecationWarning: invalid escape sequence \*
"""Return matrix to transform given 3D point set into second point set.
s...................s..s....ssssssssspocl error: lt_dlopen("(null)") or
lt_dlsym() failed with 'can't close resident module'.
note: missing symbols in the kernel binary might be reported as 'file not found'
errors.
Aborted
E: pybuild pybuild:341: test: plugin custom failed with: exit code=134:
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_pyfai/build
http_proxy='127.0.0.1:9' WITH_QT_TEST=False PYFAI_TESTIMAGES=testimages
PYFAI_DATA=/<<PKGBUILDDIR>> xvfb-run -a --server-args="-screen 0 1024x768x24"
python3.8 ./run_tests.py --low-mem --installed
dh_auto_test: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 13
make[1]: *** [debian/rules:34: override_dh_auto_test] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: build-arch] Error 2
More information about the debian-science-maintainers
mailing list