Bug#972017: pyfai ftbfs with python3.9 as supported python3 version

Matthias Klose doko at debian.org
Sun Oct 11 16:00:24 BST 2020


Package: src:pyfai
Version: 0.19.0+dfsg1-3
Severity: important
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

INFO:pyFAI.setup:Use setuptools
INFO:pyFAI.setup:Use setuptools.setup
WARNING:run_tests:Test pyFAI 0.19.0 from
/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI
WARNING:py.warnings:/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI/azimuthalIntegrator.py:726:
SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif (not correctSolidAngle) and param["solid_angle"] and (flat is 1):

WARNING:py.warnings:/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI/azimuthalIntegrator.py:728:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
  elif not correctSolidAngle and not param["solid_angle"] and (flat is not 1):

INFO:pyFAI.opencl:Use of OpenCL has been disables from environment variable:
PYFAI_OPENCL=0
INFO:pyFAI.method_registry:Degrading method from Method(dim=1, split='pseudo',
algo='histogram', impl='*', target=None) -> Method(dim=1, split='bbox',
algo='histogram', impl='*', target=None)
INFO:pyFAI.method_registry:Degrading method from Method(dim=2, split='full',
algo='histogram', impl='*', target=None) -> Method(dim=2, split='pseudo',
algo='histogram', impl='*', target=None)
WARNING:matplotlib:Matplotlib created a temporary config/cache directory at
/sbuild-nonexistent/.config/matplotlib because the default path
(/tmp/matplotlib-09amstkj) is not a writable directory; it is highly recommended
to set the MPLCONFIGDIR environment variable to a writable directory, in
particular to speed up the import of Matplotlib and to better support
multiprocessing.
INFO:matplotlib.font_manager:Generating new fontManager, this may take some time...
WARNING:py.warnings:/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI/third_party/transformations.py:33:
DeprecationWarning: invalid escape sequence \*
  """Homogeneous Transformation Matrices and Quaternions.

WARNING:py.warnings:/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI/third_party/transformations.py:890:
DeprecationWarning: invalid escape sequence \*
  """Return affine transform matrix to register two point sets.

WARNING:py.warnings:/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI/third_party/transformations.py:999:
DeprecationWarning: invalid escape sequence \*
  """Return matrix to transform given 3D point set into second point set.

Traceback (most recent call last):
  File "/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/./run_tests.py", line 543, in <module>
    unittest.defaultTestLoader.loadTestsFromNames(options.test_name))
  File "/usr/lib/python3.9/unittest/loader.py", line 220, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.9/unittest/loader.py", line 220, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.9/unittest/loader.py", line 205, in loadTestsFromName
    test = obj()
  File
"/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI/test/__init__.py",
line 62, in suite
    from . import test_all
  File
"/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI/test/test_all.py",
line 88, in <module>
    from . import test_goniometer
  File
"/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI/test/test_goniometer.py",
line 46, in <module>
    from ..goniometer import GeometryTranslation, Goniometer, numexpr
  File
"/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build/pyFAI/goniometer.py",
line 50, in <module>
    from silx.image import marchingsquares
  File "/usr/lib/python3/dist-packages/silx/image/marchingsquares/__init__.py",
line 44, in <module>
    from ._mergeimpl import MarchingSquaresMergeImpl
ModuleNotFoundError: No module named 'silx.image.marchingsquares._mergeimpl'
E: pybuild pybuild:352: test: plugin custom failed with: exit code=1:
PYTHONPATH=/<<BUILDDIR>>/pyfai-0.19.0+dfsg1/.pybuild/cpython3_3.9_pyfai/build
WITH_QT_TEST=False PYFAI_TESTIMAGES=testimages
PYFAI_DATA=/<<BUILDDIR>>/pyfai-0.19.0+dfsg1 xvfb-run -a --server-args="-screen 0
1024x768x24" python3.9 ./run_tests.py -v --low-mem --installed
dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.8" -s custom
"--test-args=PYTHONPATH={build_dir} WITH_QT_TEST=False
PYFAI_TESTIMAGES=testimages PYFAI_DATA=/<<BUILDDIR>>/pyfai-0.19.0+dfsg1 xvfb-run
-a --server-args=\"-screen 0 1024x768x24\" {interpreter} ./run_tests.py -v
--low-mem --installed" returned exit code 13
make[1]: *** [debian/rules:40: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<BUILDDIR>>/pyfai-0.19.0+dfsg1'
make: *** [debian/rules:17: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subproces



More information about the debian-science-maintainers mailing list