Source: aioxmlrpc
Version: 0.5-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):
> 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
> I: pybuild base:240: python3.10 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmlrpc/build/aioxmlrpc
> copying aioxmlrpc/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmlrpc/build/aioxmlrpc
> copying aioxmlrpc/client.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmlrpc/build/aioxmlrpc
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmlrpc/build/aioxmlrpc/tests
> copying aioxmlrpc/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmlrpc/build/aioxmlrpc/tests
> copying aioxmlrpc/tests/test_client.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_aioxmlrpc/build/aioxmlrpc/tests
> running egg_info
> writing aioxmlrpc.egg-info/PKG-INFO
> writing dependency_links to aioxmlrpc.egg-info/dependency_links.txt
> writing requirements to aioxmlrpc.egg-info/requires.txt
> writing top-level names to aioxmlrpc.egg-info/top_level.txt
> reading manifest file 'aioxmlrpc.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory
> '.'
> adding license file 'LICENSE'
> writing manifest file 'aioxmlrpc.egg-info/SOURCES.txt'
> I: pybuild base:240: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aioxmlrpc/build/aioxmlrpc
> copying aioxmlrpc/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aioxmlrpc/build/aioxmlrpc
> copying aioxmlrpc/client.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aioxmlrpc/build/aioxmlrpc
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aioxmlrpc/build/aioxmlrpc/tests
> copying aioxmlrpc/tests/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aioxmlrpc/build/aioxmlrpc/tests
> copying aioxmlrpc/tests/test_client.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aioxmlrpc/build/aioxmlrpc/tests
> running egg_info
> writing aioxmlrpc.egg-info/PKG-INFO
> writing dependency_links to aioxmlrpc.egg-info/dependency_links.txt
> writing requirements to aioxmlrpc.egg-info/requires.txt
> writing top-level names to aioxmlrpc.egg-info/top_level.txt
> reading manifest file 'aioxmlrpc.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory
> '.'
> adding license file 'LICENSE'
> writing manifest file 'aioxmlrpc.egg-info/SOURCES.txt'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing aioxmlrpc.egg-info/PKG-INFO
> writing dependency_links to aioxmlrpc.egg-info/dependency_links.txt
> writing requirements to aioxmlrpc.egg-info/requires.txt
> writing top-level names to aioxmlrpc.egg-info/top_level.txt
> reading manifest file 'aioxmlrpc.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory
> '.'
> adding license file 'LICENSE'
> writing manifest file 'aioxmlrpc.egg-info/SOURCES.txt'
> running build_ext
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 28, in <module>
> setup(name=NAME,
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 87, in
> setup
> return distutils.core.setup(**attrs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 185, in setup
> return run_commands(dist)
> ^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 201, in run_commands
> dist.run_commands()
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 968, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in
> run_command
> super().run_command(command)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 987, in run_command
> cmd_obj.run()
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 224,
> in run
> self.run_tests()
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 227,
> in run_tests
> test = unittest.main(
> ^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/main.py", line 101, in __init__
> self.parseArgs(argv)
> File "/usr/lib/python3.11/unittest/main.py", line 150, in parseArgs
> self.createTests()
> File "/usr/lib/python3.11/unittest/main.py", line 161, in createTests
> self.test = self.testLoader.loadTestsFromNames(self.testNames,
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/loader.py", line 220, in
> loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/loader.py", line 220, in <listcomp>
> suites = [self.loadTestsFromName(name, module) for name in names]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/loader.py", line 191, in
> loadTestsFromName
> return self.loadTestsFromModule(obj)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 57,
> in loadTestsFromModule
> tests.append(self.loadTestsFromName(submodule))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/loader.py", line 154, in
> loadTestsFromName
> module = __import__(module_name)
> ^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/aioxmlrpc/tests/test_client.py", line 8, in <module>
> from aioxmlrpc.client import ServerProxy, ProtocolError, Fault
> File "/<<PKGBUILDDIR>>/aioxmlrpc/client.py", line 27, in <module>
> class _Method:
> File "/<<PKGBUILDDIR>>/aioxmlrpc/client.py", line 37, in _Method
> @asyncio.coroutine
> ^^^^^^^^^^^^^^^^^
> AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean:
> 'coroutines'?
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1:
> python3.11 setup.py test
> I: pybuild base:240: python3.10 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing aioxmlrpc.egg-info/PKG-INFO
> writing dependency_links to aioxmlrpc.egg-info/dependency_links.txt
> writing requirements to aioxmlrpc.egg-info/requires.txt
> writing top-level names to aioxmlrpc.egg-info/top_level.txt
> reading manifest file 'aioxmlrpc.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*.pyc' found under directory
> '.'
> adding license file 'LICENSE'
> writing manifest file 'aioxmlrpc.egg-info/SOURCES.txt'
> running build_ext
> test_http_error (aioxmlrpc.tests.test_client.HTTPErrorTestCase) ...
> /<<PKGBUILDDIR>>/aioxmlrpc/tests/test_client.py:162: DeprecationWarning: The
> object should be created within an async function
> self.session = aiohttp.ClientSession(loop=self.loop)
> /usr/lib/python3/dist-packages/aiohttp/connector.py:767: DeprecationWarning:
> The object should be created within an async function
> super().__init__(
> /usr/lib/python3/dist-packages/aiohttp/connector.py:778: DeprecationWarning:
> The object should be created within an async function
> resolver = DefaultResolver(loop=self._loop)
> /usr/lib/python3/dist-packages/aiohttp/cookiejar.py:67: DeprecationWarning:
> The object should be created within an async function
> super().__init__(loop=loop)
> Unexpected error
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/aioxmlrpc/client.py", line 73, in request
> response = yield from self._session.request(
> File "/usr/lib/python3.10/asyncio/coroutines.py", line 124, in coro
> res = func(*args, **kw)
> File "/<<PKGBUILDDIR>>/aioxmlrpc/tests/test_client.py", line 156, in
> failing_request
> raise OSError
> OSError
> ok
> test_http_500 (aioxmlrpc.tests.test_client.ServerProxyWithSessionTestCase)
> ... /<<PKGBUILDDIR>>/aioxmlrpc/tests/test_client.py:81: DeprecationWarning:
> The object should be created within an async function
> self.session = aiohttp.ClientSession(loop=self.loop)
> /<<PKGBUILDDIR>>/aioxmlrpc/tests/test_client.py:62: DeprecationWarning:
> "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
> def text(self):
> ok
> test_xmlrpc_fault
> (aioxmlrpc.tests.test_client.ServerProxyWithSessionTestCase) ... ok
> test_xmlrpc_ok (aioxmlrpc.tests.test_client.ServerProxyWithSessionTestCase)
> ... ok
> test_xmlrpc_ok_global_loop
> (aioxmlrpc.tests.test_client.ServerProxyWithSessionTestCase) ... ok
> test_close_session
> (aioxmlrpc.tests.test_client.ServerProxyWithoutSessionTestCase) ...
> /<<PKGBUILDDIR>>/aioxmlrpc/client.py:128: DeprecationWarning: The object
> should be created within an async function
> self._session = aiohttp.ClientSession(loop=self._loop)
> ok
>
> ----------------------------------------------------------------------
> Ran 6 tests in 0.008s
>
> OK
> 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/aioxmlrpc_0.5-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.