Source: python-outcome
Version: 1.2.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20230726 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/outcome
> copying src/outcome/_version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/outcome
> copying src/outcome/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/outcome
> copying src/outcome/_util.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/outcome
> copying src/outcome/_impl.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/outcome
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build;
> python3.11 -m pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> collected 0 items / 2 errors
>
> ==================================== ERRORS
> ====================================
> ______ ERROR collecting .pybuild/cpython3_3.11/build/tests/test_async.py
> _______
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tests/test_async.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_async.py:6: in <module>
> import outcome
> outcome/__init__.py:3: in <module>
> from ._impl import Error, Outcome, Value, acapture, capture
> outcome/_impl.py:3: in <module>
> import attr
> E ModuleNotFoundError: No module named 'attr'
> _______ ERROR collecting .pybuild/cpython3_3.11/build/tests/test_sync.py
> _______
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tests/test_sync.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_sync.py:6: in <module>
> import outcome
> outcome/__init__.py:3: in <module>
> from ._impl import Error, Outcome, Value, acapture, capture
> outcome/_impl.py:3: in <module>
> import attr
> E ModuleNotFoundError: No module named 'attr'
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: asyncio_mode
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> ERROR tests/test_async.py
> ERROR tests/test_sync.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection
> !!!!!!!!!!!!!!!!!!!!
> ========================= 1 warning, 2 errors in 0.14s
> =========================
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=2: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/07/26/python-outcome_1.2.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&[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.