--- Begin Message ---
Source: python-tblib
Version: 1.7.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20221220 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 '/<<PKGBUILDDIR>>'
> PYTHONPATH=src dh_auto_test
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build;
> python3.11 -m pytest -vv tests /<<PKGBUILDDIR>>/README.rst
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack --
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collecting ... collected 24 items
>
> tests/test_issue30.py::test_30 PASSED [
> 4%]
> tests/test_pickle_exception.py::test_install[global-None] PASSED [
> 8%]
> tests/test_pickle_exception.py::test_install[global-1] PASSED [
> 12%]
> tests/test_pickle_exception.py::test_install[global-2] PASSED [
> 16%]
> tests/test_pickle_exception.py::test_install[global-3] PASSED [
> 20%]
> tests/test_pickle_exception.py::test_install[global-4] PASSED [
> 25%]
> tests/test_pickle_exception.py::test_install[global-5] PASSED [
> 29%]
> tests/test_pickle_exception.py::test_install[instance-None] PASSED [
> 33%]
> tests/test_pickle_exception.py::test_install[instance-1] PASSED [
> 37%]
> tests/test_pickle_exception.py::test_install[instance-2] PASSED [
> 41%]
> tests/test_pickle_exception.py::test_install[instance-3] PASSED [
> 45%]
> tests/test_pickle_exception.py::test_install[instance-4] PASSED [
> 50%]
> tests/test_pickle_exception.py::test_install[instance-5] PASSED [
> 54%]
> tests/test_pickle_exception.py::test_install[class-None] PASSED [
> 58%]
> tests/test_pickle_exception.py::test_install[class-1] PASSED [
> 62%]
> tests/test_pickle_exception.py::test_install[class-2] PASSED [
> 66%]
> tests/test_pickle_exception.py::test_install[class-3] PASSED [
> 70%]
> tests/test_pickle_exception.py::test_install[class-4] PASSED [
> 75%]
> tests/test_pickle_exception.py::test_install[class-5] PASSED [
> 79%]
> tests/test_pickle_exception.py::test_install_decorator PASSED [
> 83%]
> tests/test_pickle_exception.py::test_install_typeerror PASSED [
> 87%]
> tests/test_tblib.py::test_parse_traceback PASSED [
> 91%]
> tests/test_tblib.py::test_pytest_integration PASSED [
> 95%]
> ../../../README.rst::README.rst FAILED
> [100%]
>
> =================================== FAILURES
> ===================================
> _____________________________ [doctest] README.rst
> _____________________________
> 596 Exception: Guessing time !
> 597 <BLANKLINE>
> 598 >>> pool.terminate() # doctest: +SKIP
> 599
> 600 Not very useful is it? Let's sort this out::
> 601
> 602 >>> from tblib.decorators import apply_with_return_error, Error
> 603 >>> from itertools import repeat
> 604 >>> pool = Pool()
> 605 >>> try:
> Differences (unified diff with -expected +actual):
> @@ -1,19 +1,27 @@
> Traceback (most recent call last):
> - File "<doctest README.rst[...]>", line 4, in <module>
> + File "<doctest README.rst[74]>", line 4, in <module>
> i.reraise()
> - File "...tblib...decorators.py", line ..., in reraise
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tblib/decorators.py",
> line 20, in reraise
> reraise(self.exc_type, self.exc_value, self.traceback)
> - File "...tblib...decorators.py", line ..., in return_exceptions_wrapper
> + File "/usr/lib/python3/dist-packages/six.py", line 718, in reraise
> + raise value.with_traceback(tb)
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tblib/decorators.py",
> line 27, in return_exceptions_wrapper
> return func(*args, **kwargs)
> - File "...tblib...decorators.py", line ..., in apply_with_return_error
> + ^^^^^^^^^^^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tblib/decorators.py",
> line 47, in apply_with_return_error
> return args[0](*args[1:])
> - File "...examples.py", line 2, in func_a
> + ^^^^^^^^^^^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tests/examples.py", line
> 2, in func_a
> func_b()
> - File "...examples.py", line 6, in func_b
> + ^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tests/examples.py", line
> 6, in func_b
> func_c()
> - File "...examples.py", line 10, in func_c
> + ^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tests/examples.py", line
> 10, in func_c
> func_d()
> - File "...examples.py", line 14, in func_d
> + ^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tests/examples.py", line
> 14, in func_d
> raise Exception("Guessing time !")
> + ^^^^^^^^^^^^^^^^^
> Exception: Guessing time !
> <BLANKLINE>
>
> /<<PKGBUILDDIR>>/README.rst:605: DocTestFailure
> 650 ... finally:
> 651 ... pool.close()
> 652 ...
> 653 >>> def local_1():
> 654 ... local_0()
> 655 ...
> 656 >>> def local_2():
> 657 ... local_1()
> 658 ...
> 659 >>> try:
> Differences (unified diff with -expected +actual):
> @@ -1,25 +1,33 @@
> Traceback (most recent call last):
> - File "<doctest README.rst[...]>", line 2, in <module>
> + File "<doctest README.rst[79]>", line 2, in <module>
> local_2()
> - File "<doctest README.rst[...]>", line 2, in local_2
> + File "<doctest README.rst[78]>", line 2, in local_2
> local_1()
> - File "<doctest README.rst[...]>", line 2, in local_1
> + File "<doctest README.rst[77]>", line 2, in local_1
> local_0()
> - File "<doctest README.rst[...]>", line 6, in local_0
> + File "<doctest README.rst[76]>", line 6, in local_0
> i.reraise()
> - File "...tblib...decorators.py", line 20, in reraise
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tblib/decorators.py",
> line 20, in reraise
> reraise(self.exc_type, self.exc_value, self.traceback)
> - File "...tblib...decorators.py", line 27, in return_exceptions_wrapper
> + File "/usr/lib/python3/dist-packages/six.py", line 718, in reraise
> + raise value.with_traceback(tb)
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tblib/decorators.py",
> line 27, in return_exceptions_wrapper
> return func(*args, **kwargs)
> - File "...tblib...decorators.py", line 47, in apply_with_return_error
> + ^^^^^^^^^^^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tblib/decorators.py",
> line 47, in apply_with_return_error
> return args[0](*args[1:])
> - File "...tests...examples.py", line 2, in func_a
> + ^^^^^^^^^^^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tests/examples.py", line
> 2, in func_a
> func_b()
> - File "...tests...examples.py", line 6, in func_b
> + ^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tests/examples.py", line
> 6, in func_b
> func_c()
> - File "...tests...examples.py", line 10, in func_c
> + ^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tests/examples.py", line
> 10, in func_c
> func_d()
> - File "...tests...examples.py", line 14, in func_d
> + ^^^^^^^
> + File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build/tests/examples.py", line
> 14, in func_d
> raise Exception("Guessing time !")
> + ^^^^^^^^^^^^^^^^^
> Exception: Guessing time !
> <BLANKLINE>
>
> /<<PKGBUILDDIR>>/README.rst:659: DocTestFailure
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1240
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1240:
> PytestRemovedIn8Warning: The --strict option is deprecated, use
> --strict-markers instead.
> self.issue_config_time_warning(
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED ../../../README.rst::README.rst
> =================== 1 failed, 23 passed, 1 warning in 1.78s
> ====================
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tblib/build; python3.11 -m pytest -vv
> tests {dir}/README.rst
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_tblib/build;
> python3.10 -m pytest -vv tests /<<PKGBUILDDIR>>/README.rst
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack --
> /usr/bin/python3.10
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collecting ... collected 24 items
>
> tests/test_issue30.py::test_30 PASSED [
> 4%]
> tests/test_pickle_exception.py::test_install[global-None] PASSED [
> 8%]
> tests/test_pickle_exception.py::test_install[global-1] PASSED [
> 12%]
> tests/test_pickle_exception.py::test_install[global-2] PASSED [
> 16%]
> tests/test_pickle_exception.py::test_install[global-3] PASSED [
> 20%]
> tests/test_pickle_exception.py::test_install[global-4] PASSED [
> 25%]
> tests/test_pickle_exception.py::test_install[global-5] PASSED [
> 29%]
> tests/test_pickle_exception.py::test_install[instance-None] PASSED [
> 33%]
> tests/test_pickle_exception.py::test_install[instance-1] PASSED [
> 37%]
> tests/test_pickle_exception.py::test_install[instance-2] PASSED [
> 41%]
> tests/test_pickle_exception.py::test_install[instance-3] PASSED [
> 45%]
> tests/test_pickle_exception.py::test_install[instance-4] PASSED [
> 50%]
> tests/test_pickle_exception.py::test_install[instance-5] PASSED [
> 54%]
> tests/test_pickle_exception.py::test_install[class-None] PASSED [
> 58%]
> tests/test_pickle_exception.py::test_install[class-1] PASSED [
> 62%]
> tests/test_pickle_exception.py::test_install[class-2] PASSED [
> 66%]
> tests/test_pickle_exception.py::test_install[class-3] PASSED [
> 70%]
> tests/test_pickle_exception.py::test_install[class-4] PASSED [
> 75%]
> tests/test_pickle_exception.py::test_install[class-5] PASSED [
> 79%]
> tests/test_pickle_exception.py::test_install_decorator PASSED [
> 83%]
> tests/test_pickle_exception.py::test_install_typeerror PASSED [
> 87%]
> tests/test_tblib.py::test_parse_traceback PASSED [
> 91%]
> tests/test_tblib.py::test_pytest_integration PASSED [
> 95%]
> ../../../README.rst::README.rst PASSED
> [100%]
>
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1240
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1240:
> PytestRemovedIn8Warning: The --strict option is deprecated, use
> --strict-markers instead.
> self.issue_config_time_warning(
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ======================== 24 passed, 1 warning in 1.55s
> =========================
> dh_auto_test: error: pybuild --test -i python{version} -p "3.11 3.10"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/12/20/python-tblib_1.7.0-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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.
--- End Message ---