Source: python-aiomeasures
Version: 0.5.14-6
Severity: serious
Justification: FTBFS
Tags: forky sid ftbfs
User: [email protected]
Usertags: ftbfs-20250919 ftbfs-forky

Hi,

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

The full build log is available from:
http://qa-logs.debian.net/2025/09/19/python-aiomeasures_0.5.14-6_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250919;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250919&[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.

-- 
Relevant part of the build log (hopefully):
>  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
> I: pybuild base:311: python3.13 setup.py config 
> /build/reproducible-path/python-aiomeasures-0.5.14/versioneer.py:587: 
> SyntaxWarning: invalid escape sequence '\s'
>   mo = re.search(r'=\s*"(.*)"', line)
> /usr/lib/python3/dist-packages/setuptools/dist.py:599: 
> SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' 
> in 'metadata' (setup.cfg), please use the underscore name 'description_file' 
> instead.
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' instead.
> 
>         By 2026-Mar-03, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self._enforce_underscore(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:599: 
> SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' 
> in 'metadata' (setup.cfg), please use the underscore name 'description_file' 
> instead.
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' instead.
>         (Affected: aiomeasures).
> 
>         By 2026-Mar-03, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self._enforce_underscore(opt, section)
> /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 :: MIT License
> 
>         See 
> https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
> for details.
>         
> ********************************************************************************
> 
> !!
>   self._finalize_license_expression()
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/dist.py:599: 
> SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' 
> in 'metadata' (setup.cfg), please use the underscore name 'description_file' 
> instead.
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' instead.
> 
>         By 2026-Mar-03, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self._enforce_underscore(opt, section)
> /usr/lib/python3/dist-packages/setuptools/dist.py:599: 
> SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' 
> in 'metadata' (setup.cfg), please use the underscore name 'description_file' 
> instead.
> !!
> 
>         
> ********************************************************************************
>         Usage of dash-separated 'description-file' will not be supported in 
> future
>         versions. Please use the underscore name 'description_file' instead.
>         (Affected: aiomeasures).
> 
>         By 2026-Mar-03, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   opt = self._enforce_underscore(opt, section)
> /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 :: MIT License
> 
>         See 
> https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
> for details.
>         
> ********************************************************************************
> 
> !!
>   self._finalize_license_expression()
> running build
> running build_py
> creating 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures
> copying aiomeasures/__init__.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures
> copying aiomeasures/events.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures
> copying aiomeasures/_version.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures
> copying aiomeasures/util.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures
> copying aiomeasures/checks.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures
> copying aiomeasures/metrics.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures
> copying aiomeasures/collectors.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures
> creating 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/reporters
> copying aiomeasures/reporters/__init__.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/reporters
> copying aiomeasures/reporters/statsd_reporter.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/reporters
> creating 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients
> copying aiomeasures/clients/__init__.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients
> copying aiomeasures/clients/bases.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients
> creating 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients/datadog
> copying aiomeasures/clients/datadog/__init__.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients/datadog
> copying aiomeasures/clients/datadog/client.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients/datadog
> copying aiomeasures/clients/datadog/formatting.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients/datadog
> creating 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients/statsd
> copying aiomeasures/clients/statsd/__init__.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients/statsd
> copying aiomeasures/clients/statsd/client.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients/statsd
> copying aiomeasures/clients/statsd/formatting.py -> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients/statsd
> UPDATING 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/_version.py
> set 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/_version.py
>  to '0.5.14'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build;
>  python3.13 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0
> rootdir: /build/reproducible-path/python-aiomeasures-0.5.14
> plugins: asyncio-1.1.0, typeguard-4.4.4
> asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None, 
> asyncio_default_test_loop_scope=function
> collected 84 items
> 
> tests/test_datadog.py .......................................EEE         [ 
> 50%]
> tests/test_statsd.py .......................................EEE          
> [100%]
> 
> ==================================== ERRORS 
> ====================================
> _____________________ ERROR at setup of test_client_event 
> ______________________
> file 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_datadog.py,
>  line 115
>   @pytest.mark.asyncio
>   async def test_client_event(event_loop):
>       transport, protocol, port = await fake_server(event_loop)
>       client = aiomeasures.Datadog('udp://127.0.0.1:%s' % port)
>       await asyncio.sleep(.4)
>       client.event('title', 'text')
>       await asyncio.sleep(.1)
>       assert '_e{5,4}title|text' in protocol.msg
>       transport.close()
>       client.close()
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > doctest_namespace, event_loop_policy, monkeypatch, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, 
> > unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_datadog.py:115
> ________________________ ERROR at setup of test_client 
> _________________________
> file 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_datadog.py,
>  line 127
>   @pytest.mark.asyncio
>   async def test_client(event_loop):
>       transport, protocol, port = await fake_server(event_loop)
>       client = aiomeasures.Datadog('udp://127.0.0.1:%s' % port)
>       await asyncio.sleep(.4)
>       client.incr('example.a')
>       client.timing('example.b', 500)
>       client.gauge('example.c', 1)
>       client.set('example.d', 'bar')
>       client.decr('example.e')
>       client.counter('example.f', 42)
>       client.histogram('example.g', 13)
>       await asyncio.sleep(.1)
>       assert 'example.a:1|c' in protocol.msg
>       assert 'example.b:500|ms' in protocol.msg
>       assert 'example.c:1|g' in protocol.msg
>       assert 'example.d:bar|s' in protocol.msg
>       assert 'example.e:-1|c' in protocol.msg
>       assert 'example.f:42|c' in protocol.msg
>       assert 'example.g:13|h' in protocol.msg
>       transport.close()
>       client.close()
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > doctest_namespace, event_loop_policy, monkeypatch, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, 
> > unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_datadog.py:127
> _____________________ ERROR at setup of test_reliablility 
> ______________________
> file 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_datadog.py,
>  line 151
>   @pytest.mark.asyncio
>   async def test_reliablility(event_loop):
>       transport, protocol, port = await fake_server(event_loop)
>       client = aiomeasures.Datadog('udp://127.0.0.1:%s' % port)
>       await asyncio.sleep(.4)
>       client.incr('example.a')
>       await asyncio.sleep(.1)
>       assert 'example.a:1|c' in protocol.msg
>       transport.close()
> 
>       client.incr('example.b')
>       await asyncio.sleep(.1)
>       assert 'example.b:1|c' not in protocol.msg
> 
>       transport, protocol, port = await fake_server(event_loop, port)
>       client.incr('example.c')
>       await asyncio.sleep(.1)
>       assert 'example.c:1|c' in protocol.msg
>       transport.close()
> 
>       client.close()
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > doctest_namespace, event_loop_policy, monkeypatch, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, 
> > unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_datadog.py:151
> _____________________ ERROR at setup of test_client_event 
> ______________________
> file 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_statsd.py,
>  line 115
>   @pytest.mark.asyncio
>   async def test_client_event(event_loop):
>       transport, protocol, port = await fake_server(event_loop)
>       client = aiomeasures.StatsD('udp://127.0.0.1:%s' % port)
>       await asyncio.sleep(.4)
>       client.event('title', 'text')
>       await asyncio.sleep(.1)
>       assert '_e{5,4}title|text' in protocol.msg
>       transport.close()
>       client.close()
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > doctest_namespace, event_loop_policy, monkeypatch, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, 
> > unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_statsd.py:115
> ________________________ ERROR at setup of test_client 
> _________________________
> file 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_statsd.py,
>  line 127
>   @pytest.mark.asyncio
>   async def test_client(event_loop):
>       transport, protocol, port = await fake_server(event_loop)
>       client = aiomeasures.StatsD('udp://127.0.0.1:%s' % port)
>       await asyncio.sleep(.4)
>       client.incr('example.a')
>       client.timing('example.b', 500)
>       client.gauge('example.c', 1)
>       client.set('example.d', 'bar')
>       client.decr('example.e')
>       client.counter('example.f', 42)
>       client.histogram('example.g', 13)
>       await asyncio.sleep(.1)
>       assert 'example.a:1|c' in protocol.msg
>       assert 'example.b:500|ms' in protocol.msg
>       assert 'example.c:1|g' in protocol.msg
>       assert 'example.d:bar|s' in protocol.msg
>       assert 'example.e:-1|c' in protocol.msg
>       assert 'example.f:42|c' in protocol.msg
>       assert 'example.g:13|h' in protocol.msg
>       transport.close()
>       client.close()
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > doctest_namespace, event_loop_policy, monkeypatch, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, 
> > unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_statsd.py:127
> _____________________ ERROR at setup of test_reliablility 
> ______________________
> file 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_statsd.py,
>  line 151
>   @pytest.mark.asyncio
>   async def test_reliablility(event_loop):
>       transport, protocol, port = await fake_server(event_loop)
>       client = aiomeasures.StatsD('udp://127.0.0.1:%s' % port)
>       await asyncio.sleep(.4)
>       client.incr('example.a')
>       await asyncio.sleep(.1)
>       assert 'example.a:1|c' in protocol.msg
>       transport.close()
> 
>       client.incr('example.b')
>       await asyncio.sleep(.1)
>       assert 'example.b:1|c' not in protocol.msg
> 
>       transport, protocol, port = await fake_server(event_loop, port)
>       client.incr('example.c')
>       await asyncio.sleep(.1)
>       assert 'example.c:1|c' in protocol.msg
>       transport.close()
> 
>       client.close()
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > doctest_namespace, event_loop_policy, monkeypatch, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, 
> > unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/tests/test_statsd.py:151
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.13_aiomeasures/build/tests/test_datadog.py::test_formatting[metric0-foo:1|c]
>   
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build/aiomeasures/clients/datadog/client.py:21:
>  DeprecationWarning: There is no current event loop
>     self.loop = loop or asyncio.get_event_loop()
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> ERROR tests/test_datadog.py::test_client_event
> ERROR tests/test_datadog.py::test_client
> ERROR tests/test_datadog.py::test_reliablility
> ERROR tests/test_statsd.py::test_client_event
> ERROR tests/test_statsd.py::test_client
> ERROR tests/test_statsd.py::test_reliablility
> =================== 78 passed, 1 warning, 6 errors in 0.14s 
> ====================
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> /build/reproducible-path/python-aiomeasures-0.5.14/.pybuild/cpython3_3.13_aiomeasures/build;
>  python3.13 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
> returned exit code 13

Reply via email to