Package: src:python-smhi
Version: 1.0.18-2
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:

--------------------------------------------------------------------------------
[...]
        except OSError as exc:
            if exc.errno is None and isinstance(exc, asyncio.TimeoutError):
                raise
            # in case of proxy it is not ClientProxyConnectionError
            # it is problem of resolving proxy ip itself
>           raise ClientConnectorDNSError(req.connection_key, exc) from exc
E           aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect 
to host opendata-download-metfcst.smhi.se:443 ssl:default [Temporary failure in 
name resolution]

/usr/lib/python3/dist-packages/aiohttp/connector.py:1323: 
ClientConnectorDNSError
=========================== short test summary info ============================
FAILED smhi/test_smhi_lib.py::test_smhi_async_integration_test - aiohttp.clie...
FAILED smhi/test_smhi_lib.py::test_smhi_async_integration_test_use_session - ...
FAILED smhi/test_smhi_lib.py::test_smhi_async_get_forecast_integration2 - aio...
FAILED smhi/test_smhi_lib.py::test_async_error_from_api - aiohttp.client_exce...
================== 4 failed, 26 passed, 1 deselected in 0.70s ==================
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7ff196e258e0>
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7ff19658b560>
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smhi/build; python3.12 -m pytest -k 
"not test_smhi_integration_test"
dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned 
exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary 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.

Reply via email to