Package: src:python-pytest-asyncio
Version: 0.25.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-pytest-asyncio, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:55: 
SetuptoolsDeprecationWarning: 'tool.setuptools.license-files' is deprecated in 
favor of 'project.license-files' (available on setuptools>=77.0.0).
!!

        
********************************************************************************

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-files
 for details.
        
********************************************************************************

!!
  _apply_tool_table(dist, config, filename)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/pytest_asyncio
copying pytest_asyncio/_version.py -> build/lib/pytest_asyncio
copying pytest_asyncio/plugin.py -> build/lib/pytest_asyncio
copying pytest_asyncio/__init__.py -> build/lib/pytest_asyncio
running egg_info
creating pytest_asyncio.egg-info
writing pytest_asyncio.egg-info/PKG-INFO
writing dependency_links to pytest_asyncio.egg-info/dependency_links.txt
writing entry points to pytest_asyncio.egg-info/entry_points.txt
writing requirements to pytest_asyncio.egg-info/requires.txt
writing top-level names to pytest_asyncio.egg-info/top_level.txt
writing manifest file 'pytest_asyncio.egg-info/SOURCES.txt'
reading manifest file 'pytest_asyncio.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 
'.github'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.pre-commit-config.yaml'
adding license file 'LICENSE'
writing manifest file 'pytest_asyncio.egg-info/SOURCES.txt'
copying pytest_asyncio/py.typed -> build/lib/pytest_asyncio
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/pytest_asyncio
copying build/lib/pytest_asyncio/py.typed -> 
build/bdist.linux-x86_64/wheel/./pytest_asyncio
copying build/lib/pytest_asyncio/_version.py -> 
build/bdist.linux-x86_64/wheel/./pytest_asyncio
copying build/lib/pytest_asyncio/plugin.py -> 
build/bdist.linux-x86_64/wheel/./pytest_asyncio
copying build/lib/pytest_asyncio/__init__.py -> 
build/bdist.linux-x86_64/wheel/./pytest_asyncio
running install_egg_info
Copying pytest_asyncio.egg-info to 
build/bdist.linux-x86_64/wheel/./pytest_asyncio-0.25.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/pytest_asyncio-0.25.1.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-vzl69mx4/pytest_asyncio-0.25.1-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'pytest_asyncio/__init__.py'
adding 'pytest_asyncio/_version.py'
adding 'pytest_asyncio/plugin.py'
adding 'pytest_asyncio/py.typed'
adding 'pytest_asyncio-0.25.1.dist-info/licenses/LICENSE'
adding 'pytest_asyncio-0.25.1.dist-info/METADATA'
adding 'pytest_asyncio-0.25.1.dist-info/WHEEL'
adding 'pytest_asyncio-0.25.1.dist-info/entry_points.txt'
adding 'pytest_asyncio-0.25.1.dist-info/top_level.txt'
adding 'pytest_asyncio-0.25.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pytest_asyncio-0.25.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest --asyncio-mode=auto -k "not 
test_can_use_explicit_event_loop_fixture and not 
test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed
 and not 
test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed 
and not test_returns_false_for_unmarked_coroutine_item_in_strict_mode"
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
testpaths: docs, tests
plugins: asyncio-0.25.1, flaky-3.8.1, hypothesis-6.138.0, typeguard-4.4.4, 
trio-0.8.0
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=function
collected 177 items / 4 deselected / 173 selected

tests/async_fixtures/test_async_fixtures.py ..                           [  1%]
tests/async_fixtures/test_async_fixtures_contextvars.py .......          [  5%]
tests/async_fixtures/test_async_fixtures_scope.py .                      [  5%]
tests/async_fixtures/test_async_fixtures_with_finalizer.py ..            [  6%]
tests/async_fixtures/test_async_gen_fixtures.py ...                      [  8%]
tests/async_fixtures/test_nested.py .                                    [  9%]
tests/async_fixtures/test_parametrized_loop.py .                         [  9%]
tests/async_fixtures/test_shared_module_fixture.py .                     [ 10%]
tests/hypothesis/test_base.py ......                                     [ 13%]
tests/loop_fixture_scope/test_loop_fixture_scope.py ..                   [ 15%]
tests/markers/test_class_scope.py ...........                            [ 21%]
tests/markers/test_function_scope.py ...........                         [ 27%]
tests/markers/test_invalid_arguments.py ....                             [ 30%]
tests/markers/test_mixed_scope.py .                                      [ 30%]
tests/markers/test_module_scope.py ...........                           [ 36%]
tests/markers/test_package_scope.py ..........                           [ 42%]
tests/markers/test_session_scope.py ............                         [ 49%]
tests/modes/test_auto_mode.py ......                                     [ 53%]
tests/modes/test_strict_mode.py ...FFFF                                  [ 57%]
tests/test_asyncio_fixture.py ......                                     [ 60%]
tests/test_asyncio_mark.py .......                                       [ 64%]
tests/test_dependent_fixtures.py ..                                      [ 65%]
tests/test_doctest.py ..                                                 [ 67%]
tests/test_event_loop_fixture.py .                                       [ 67%]
tests/test_event_loop_fixture_finalizer.py ....                          [ 69%]
tests/test_event_loop_fixture_override_deprecation.py ....               [ 72%]
tests/test_explicit_event_loop_fixture_request.py .......                [ 76%]
tests/test_fixture_loop_scopes.py ..........                             [ 82%]
tests/test_import.py ...                                                 [ 83%]
tests/test_is_async_test.py ...                                          [ 85%]
tests/test_multiloop.py .                                                [ 86%]
tests/test_port_factories.py ......                                      [ 89%]
tests/test_simple.py ..........                                          [ 95%]
tests/test_skips.py .......                                              [ 99%]
tests/test_subprocess.py .                                               [100%]

=================================== FAILURES ===================================
_________________ test_strict_mode_ignores_unmarked_coroutine __________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/modes/test_strict_mode.py:98:
 in test_strict_mode_ignores_unmarked_coroutine
    result.assert_outcomes(skipped=1, warnings=1)
E   AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 
0,...pped': 1, ...}
E     
E     Omitting 4 identical items, use -vv to show
E     Differing items:
E     {'warnings': 0} != {'warnings': 1}
E     {'failed': 1} != {'failed': 0}
E     {'skipped': 0} != {'skipped': 1}
E     Use -v to get more diff
----------------------------- Captured stdout call -----------------------------
running: /usr/bin/python3.13 -mpytest 
--basetemp=/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_ignores_unmarked_coroutine0/runpytest-0
 --asyncio-mode=strict -W default
     in: 
/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_ignores_unmarked_coroutine0
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: 
/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_ignores_unmarked_coroutine0
configfile: tox.ini
plugins: asyncio-0.25.1, flaky-3.8.1, hypothesis-6.138.0, typeguard-4.4.4, 
trio-0.8.0
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function
collected 1 item

test_strict_mode_ignores_unmarked_coroutine.py F                         [100%]

=================================== FAILURES ===================================
________________________________ test_anything _________________________________
async def functions are not natively supported.
You need to install a suitable plugin for your async framework, for example:
  - anyio
  - pytest-asyncio
  - pytest-tornasync
  - pytest-trio
  - pytest-twisted
=========================== short test summary info ============================
FAILED test_strict_mode_ignores_unmarked_coroutine.py::test_anything - Failed...
============================== 1 failed in 0.01s ===============================
__________________ test_strict_mode_ignores_unmarked_fixture ___________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/modes/test_strict_mode.py:120:
 in test_strict_mode_ignores_unmarked_fixture
    result.assert_outcomes(skipped=1, warnings=2)
E   AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 
0,...pped': 1, ...}
E     
E     Omitting 5 identical items, use -vv to show
E     Differing items:
E     {'failed': 1} != {'failed': 0}
E     {'skipped': 0} != {'skipped': 1}
E     Use -v to get more diff
----------------------------- Captured stdout call -----------------------------
running: /usr/bin/python3.13 -mpytest 
--basetemp=/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_ignores_unmarked_fixture0/runpytest-0
 --asyncio-mode=strict -W default
     in: 
/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_ignores_unmarked_fixture0
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: 
/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_ignores_unmarked_fixture0
configfile: tox.ini
plugins: asyncio-0.25.1, flaky-3.8.1, hypothesis-6.138.0, typeguard-4.4.4, 
trio-0.8.0
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function
collected 1 item

test_strict_mode_ignores_unmarked_fixture.py F                           [100%]

=================================== FAILURES ===================================
________________________________ test_anything _________________________________
async def functions are not natively supported.
You need to install a suitable plugin for your async framework, for example:
  - anyio
  - pytest-asyncio
  - pytest-tornasync
  - pytest-trio
  - pytest-twisted
=============================== warnings summary ===============================
test_strict_mode_ignores_unmarked_fixture.py::test_anything
  /usr/lib/python3/dist-packages/_pytest/fixtures.py:1181: 
PytestRemovedIn9Warning: 'test_anything' requested an async fixture 
'any_fixture', with no plugin or hook that handled it. This is usually an 
error, as pytest does not natively support it. This will turn into an error in 
pytest 9.
  See: 
https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
    warnings.warn(

test_strict_mode_ignores_unmarked_fixture.py::test_anything
  /usr/lib/python3/dist-packages/_pytest/runner.py:146: RuntimeWarning: 
coroutine 'any_fixture' was never awaited
    item.funcargs = None  # type: ignore[attr-defined]
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test_strict_mode_ignores_unmarked_fixture.py::test_anything - Failed: ...
======================== 1 failed, 2 warnings in 0.01s =========================
____________ test_strict_mode_marked_test_unmarked_fixture_warning _____________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/modes/test_strict_mode.py:152:
 in test_strict_mode_marked_test_unmarked_fixture_warning
    result.assert_outcomes(passed=1, failed=0, skipped=0, warnings=1)
E   AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 
0,...pped': 0, ...}
E     
E     Omitting 6 identical items, use -vv to show
E     Differing items:
E     {'warnings': 2} != {'warnings': 1}
E     Use -v to get more diff
----------------------------- Captured stdout call -----------------------------
running: /usr/bin/python3.13 -mpytest 
--basetemp=/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_marked_test_unmarked_fixture_warning0/runpytest-0
 --asyncio-mode=strict -W default
     in: 
/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_marked_test_unmarked_fixture_warning0
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: 
/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_marked_test_unmarked_fixture_warning0
configfile: tox.ini
plugins: asyncio-0.25.1, flaky-3.8.1, hypothesis-6.138.0, typeguard-4.4.4, 
trio-0.8.0
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function
collected 1 item

test_strict_mode_marked_test_unmarked_fixture_warning.py .               [100%]

=============================== warnings summary ===============================
test_strict_mode_marked_test_unmarked_fixture_warning.py::test_anything
  /usr/lib/python3/dist-packages/_pytest/fixtures.py:1181: 
PytestRemovedIn9Warning: 'test_anything' requested an async fixture 
'any_fixture', with no plugin or hook that handled it. This is usually an 
error, as pytest does not natively support it. This will turn into an error in 
pytest 9.
  See: 
https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
    warnings.warn(

test_strict_mode_marked_test_unmarked_fixture_warning.py::test_anything
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pytest_asyncio/plugin.py:1001: 
PytestDeprecationWarning: asyncio test 'test_anything' requested async 
@pytest.fixture 'any_fixture' in strict mode. You might want to use 
@pytest_asyncio.fixture or switch to auto mode. This will become an error in 
future versions of flake8-asyncio.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 1 passed, 2 warnings in 0.01s =========================
________ test_strict_mode_marked_test_unmarked_autouse_fixture_warning _________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/modes/test_strict_mode.py:196:
 in test_strict_mode_marked_test_unmarked_autouse_fixture_warning
    result.assert_outcomes(passed=1, warnings=1)
E   AssertionError: assert {'errors': 0,...pped': 0, ...} == {'errors': 
0,...pped': 0, ...}
E     
E     Omitting 6 identical items, use -vv to show
E     Differing items:
E     {'warnings': 2} != {'warnings': 1}
E     Use -v to get more diff
----------------------------- Captured stdout call -----------------------------
running: /usr/bin/python3.13 -mpytest 
--basetemp=/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_marked_test_unmarked_autouse_fixture_warning0/runpytest-0
 --asyncio-mode=strict -W default
     in: 
/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_marked_test_unmarked_autouse_fixture_warning0
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: 
/tmp/pytest-of-sbuild/pytest-0/test_strict_mode_marked_test_unmarked_autouse_fixture_warning0
configfile: tox.ini
plugins: asyncio-0.25.1, flaky-3.8.1, hypothesis-6.138.0, typeguard-4.4.4, 
trio-0.8.0
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function
collected 1 item

test_strict_mode_marked_test_unmarked_autouse_fixture_warning.py .       [100%]

=============================== warnings summary ===============================
test_strict_mode_marked_test_unmarked_autouse_fixture_warning.py::test_anything
  /usr/lib/python3/dist-packages/_pytest/fixtures.py:1181: 
PytestRemovedIn9Warning: 'test_anything' requested an async fixture 
'any_fixture' with autouse=True, with no plugin or hook that handled it. This 
is usually an error, as pytest does not natively support it. This will turn 
into an error in pytest 9.
  See: 
https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
    warnings.warn(

test_strict_mode_marked_test_unmarked_autouse_fixture_warning.py::test_anything
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pytest_asyncio/plugin.py:1001: 
PytestDeprecationWarning: asyncio test 'test_anything' requested async 
@pytest.fixture 'any_fixture' in strict mode. You might want to use 
@pytest_asyncio.fixture or switch to auto mode. This will become an error in 
future versions of flake8-asyncio.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 1 passed, 2 warnings in 0.01s =========================
================= 4 failed, 169 passed, 4 deselected in 23.84s =================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest 
--asyncio-mode=auto -k "not test_can_use_explicit_event_loop_fixture and not 
test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed
 and not 
test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed 
and not test_returns_false_for_unmarked_coroutine_item_in_strict_mode"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to