Package: src:python-webargs Version: 8.7.1-1 Severity: serious Tags: ftbfs forky sid User: [email protected] Usertags: aiohttp-3.14
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202606/ 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 cannot 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-webargs, 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:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_webargs * Building wheel... Successfully built webargs-8.7.1-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build" module I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_webargs * Building wheel... Successfully built webargs-8.7.1-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_webargs/build; python3.14 -m pytest -k 'not test_get_path_param and not test_get_with_no_json_body and not test_post and not test_missing_required_field_throws_422 and not test_required_field_provided and not test_use_kwargs_with_error and not test_user_validator_returns_422_by_default' ============================= test session starts ============================== platform linux -- Python 3.14.5, pytest-9.0.3, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_webargs/build configfile: pyproject.toml plugins: asyncio-1.4.0, typeguard-4.4.4 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 457 items tests/test_bottleparser.py ........................................s [ 8%] tests/test_core.py ..................................................... [ 20%] ........................................................................ [ 36%] .............. [ 39%] tests/test_djangoparser.py ........................................s.... [ 49%] . [ 49%] tests/test_falconparser.py .....................................s....... [ 59%] ...... [ 60%] tests/test_flaskparser.py .............................................. [ 70%] .......................................................... [ 83%] tests/test_pyramidparser.py ........................................... [ 92%] tests/test_tornadoparser.py ............F.................... [100%] =================================== FAILURES =================================== __________ TestJSONArgs.test_it_should_handle_type_error_on_load_json __________ self = <tests.test_tornadoparser.TestJSONArgs object at 0x7ff7fb4d0160> def test_it_should_handle_type_error_on_load_json(self): # but this is different from the test above where the payload was valid # and empty -- missing vs {} # NOTE: `event_loop` is the pytest-aiohttp event loop fixture, but it's # important to get an event loop here so that we can construct a future request = make_request( > body=tornado.concurrent.Future(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^ headers={"Content-Type": "application/json"}, ) tests/test_tornadoparser.py:158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7ff7fcb6c440> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError =========================== short test summary info ============================ FAILED tests/test_tornadoparser.py::TestJSONArgs::test_it_should_handle_type_error_on_load_json =================== 1 failed, 453 passed, 3 skipped in 0.98s =================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_webargs/build; python3.14 -m pytest -k 'not test_get_path_param and not test_get_with_no_json_body and not test_post and not test_missing_required_field_throws_422 and not test_required_field_provided and not test_use_kwargs_with_error and not test_user_validator_returns_422_by_default' I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_webargs/build; python3.13 -m pytest -k 'not test_get_path_param and not test_get_with_no_json_body and not test_post and not test_missing_required_field_throws_422 and not test_required_field_provided and not test_use_kwargs_with_error and not test_user_validator_returns_422_by_default' ============================= test session starts ============================== platform linux -- Python 3.13.12, pytest-9.0.3, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_webargs/build configfile: pyproject.toml plugins: asyncio-1.4.0, typeguard-4.4.4 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collected 457 items tests/test_bottleparser.py ........................................s [ 8%] tests/test_core.py ..................................................... [ 20%] ........................................................................ [ 36%] .............. [ 39%] tests/test_djangoparser.py ........................................s.... [ 49%] . [ 49%] tests/test_falconparser.py .....................................s....... [ 59%] ...... [ 60%] tests/test_flaskparser.py .............................................. [ 70%] .......................................................... [ 83%] tests/test_pyramidparser.py ........................................... [ 92%] tests/test_tornadoparser.py ............F.................... [100%] =================================== FAILURES =================================== __________ TestJSONArgs.test_it_should_handle_type_error_on_load_json __________ self = <tests.test_tornadoparser.TestJSONArgs object at 0x7f1f4ce52cf0> def test_it_should_handle_type_error_on_load_json(self): # but this is different from the test above where the payload was valid # and empty -- missing vs {} # NOTE: `event_loop` is the pytest-aiohttp event loop fixture, but it's # important to get an event loop here so that we can construct a future request = make_request( > body=tornado.concurrent.Future(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^ headers={"Content-Type": "application/json"}, ) tests/test_tornadoparser.py:158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f1f4cef5160> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if (self._local._loop is None and not self._local._set_called and threading.current_thread() is threading.main_thread()): stacklevel = 2 try: f = sys._getframe(1) except AttributeError: pass else: # Move up the call stack so that the warning is attached # to the line outside asyncio itself. while f: module = f.f_globals.get('__name__') if not (module == 'asyncio' or module.startswith('asyncio.')): break f = f.f_back stacklevel += 1 import warnings warnings.warn('There is no current event loop', DeprecationWarning, stacklevel=stacklevel) self.set_event_loop(self.new_event_loop()) if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.13/asyncio/events.py:716: RuntimeError =========================== short test summary info ============================ FAILED tests/test_tornadoparser.py::TestJSONArgs::test_it_should_handle_type_error_on_load_json =================== 1 failed, 453 passed, 3 skipped in 1.01s =================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_webargs/build; python3.13 -m pytest -k 'not test_get_path_param and not test_get_with_no_json_body and not test_post and not test_missing_required_field_throws_422 and not test_required_field_provided and not test_use_kwargs_with_error and not test_user_validator_returns_422_by_default' dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:12: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

