Bug#1002216: jpylyzer: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13

2022-01-11 Thread Mathieu Malaterre
Control: fixed -1 2.0.1-1



Bug#1002216: jpylyzer: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13

2022-01-11 Thread Johan van der Knijff

I just created a bugfix release that should fix this, details here:

https://github.com/openpreserve/jpylyzer/issues/176#issuecomment-1009877080



Bug#1002216: jpylyzer: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13

2021-12-21 Thread Lucas Nussbaum
Source: jpylyzer
Version: 2.0.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> dh_auto_build
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 
> 9 in use)
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/byteconv.py -> 
> /<>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/__init__.py -> 
> /<>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/__main__.py -> 
> /<>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/shared.py -> 
> /<>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/jpylyzer.py -> 
> /<>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/mix.py -> 
> /<>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/boxvalidator.py -> 
> /<>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/config.py -> 
> /<>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/etpatch.py -> 
> /<>/.pybuild/cpython3_3.9/build/jpylyzer
> creating /<>/.pybuild/cpython3_3.9/build/tests
> copying tests/__init__.py -> 
> /<>/.pybuild/cpython3_3.9/build/tests
> creating /<>/.pybuild/cpython3_3.9/build/tests/unit
> copying tests/unit/__init__.py -> 
> /<>/.pybuild/cpython3_3.9/build/tests/unit
> copying tests/unit/test_jpylyzer.py -> 
> /<>/.pybuild/cpython3_3.9/build/tests/unit
> (cd doc && pandoc -s --toc --toc-depth=2 -N --top-level-division=chapter 
> --pdf-engine=xelatex -o jpylyzerUserManual.pdf jpylyzerUserManual.md)
> [WARNING] Note with key '2' defined at line 2280 column 1 but not used.
> [WARNING] Missing character: There is no ∑ (U+2211) (U+2211) in font 
> [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≤ (U+2264) (U+2264) in font 
> [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≥ (U+2265) (U+2265) in font 
> [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≥ (U+2265) (U+2265) in font 
> [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≤ (U+2264) (U+2264) in font 
> [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≥ (U+2265) (U+2265) in font 
> [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≥ (U+2265) (U+2265) in font 
> [lmroman10-regular]:mapping=t
> (cd doc && pandoc -o jpylyzerUserManual.txt jpylyzerUserManual.md)
> [WARNING] Note with key '2' defined at line 2280 column 1 but not used.
> make[1]: Leaving directory '/<>'
>dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 
> in use)
> I: pybuild base:237: cd /<>/.pybuild/cpython3_3.9/build; 
> python3.9 -m pytest tests
> = test session starts 
> ==
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<>
> collected 0 items / 1 error
> 
>  ERRORS 
> 
> ___ ERROR collecting .pybuild/cpython3_3.9/build/tests/unit/test_jpylyzer.py 
> ___
> ImportError while importing test module 
> '/<>/.pybuild/cpython3_3.9/build/tests/unit/test_jpylyzer.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/unit/test_jpylyzer.py:5: in 
> from jpylyzer.jpylyzer import __version__, checkNullArgs, checkNoInput, \
> jpylyzer/jpylyzer.py:45: in 
> from six import u
> E   ModuleNotFoundError: No module named 'six'
> === short test summary info 
> 
> ERROR tests/unit/test_jpylyzer.py
>  Interrupted: 1 error during collection 
> 
> === 1 error in 0.06s 
> ===
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=2: cd 
> /<>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/jpylyzer_2.0.0-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.