Package: src:python-aiobotocore
Version: 2.13.1-1.1
Severity: serious
Tags: ftbfs trixie sid
User: [email protected]
Usertags: unshare
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
if isinstance(e.reason, _SSLError):
# This branch is for urllib3 v1.22 and later.
raise SSLError(e, request=request)
> raise ConnectionError(e, request=request)
E requests.exceptions.ConnectionError:
HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries
exceeded with url: /aws/aws-cli/1.32.70/setup.py (Caused by
NameResolutionError("<urllib3.connection.HTTPSConnection object at
0x7f35e18e2f90>: Failed to resolve 'raw.githubusercontent.com' ([Errno -3]
Temporary failure in name resolution)"))
/usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError
=============================== warnings summary ===============================
tests/boto_tests/test_signers.py::test_signers_generate_db_auth_token
/usr/lib/python3/dist-packages/_pytest/threadexception.py:82:
PytestUnhandledThreadExceptionWarning: Exception in thread Thread-1
(_server_entry)
Traceback (most recent call last):
File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/usr/lib/python3.13/threading.py", line 992, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/tests/moto_server.py", line 97, in _server_entry
self._main_app = moto.server.DomainDispatcherApplication(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
moto.server.create_backend_app, service=self._service_name
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
TypeError: DomainDispatcherApplication.__init__() got an unexpected keyword
argument 'service'
warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
tests/python3.8/boto_tests/test_credentials.py::test_containerprovider_assume_role_no_cache
/usr/lib/python3.13/unittest/mock.py:463: RuntimeWarning: coroutine
'fake_aiohttp_session.<locals>.FakeAioHttpSession.FakeResponse._content' was
never awaited
def __init__(
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.
tests/python3.8/boto_tests/test_credentials.py::test_containerprovider_assume_role_no_cache
/usr/lib/python3.13/unittest/mock.py:463: RuntimeWarning: coroutine
'fake_aiohttp_session.<locals>.FakeAioHttpSession.FakeResponse._text' was never
awaited
def __init__(
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.
tests/python3.8/boto_tests/test_signers.py::test_testsigner_generate_presigned_post
/<<PKGBUILDDIR>>/aiobotocore/signers.py:282: DeprecationWarning:
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future
version. Use timezone-aware objects to represent datetimes in UTC:
datetime.datetime.now(datetime.UTC).
datetime_now = datetime.datetime.utcnow()
tests/test_adaptive.py::TestAsyncClientRateLimiter::test_token_bucket_enabled_on_throttling_error
/usr/lib/python3.13/unittest/mock.py:2245: RuntimeWarning: coroutine
'fake_aiohttp_session.<locals>.FakeAioHttpSession.FakeResponse._text' was never
awaited
def __init__(self, name, parent):
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.
tests/test_version.py::test_release_versions
/<<PKGBUILDDIR>>/tests/test_version.py:35: DeprecationWarning: The
frontend.OptionParser class will be replaced by a subclass of
argparse.ArgumentParser in Docutils 0.21 or later.
settings = docutils.frontend.OptionParser(
tests/test_version.py: 70 warnings
/usr/lib/python3.13/optparse.py:1000: DeprecationWarning: The frontend.Option
class will be removed in Docutils 0.21 or later.
option = self.option_class(*args, **kwargs)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_version.py::test_release_versions - requests.exceptions.Con...
========== 1 failed, 129 passed, 12 deselected, 76 warnings in 0.69s ===========
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202412/
Note: You can reproduce this easily by trying to build the package using
sbuild unshare backend.
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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.