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:aiopegelonline, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf aiopegelonline.egg-info/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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
[... snipped ...]
raw_headers = self._build_raw_headers(_headers)
/usr/lib/python3/dist-packages/aioresponses/core.py:171: TypeError
tests/test_aiopegelonline.py:97:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
aiopegelonline/__init__.py:101: in async_get_station_details
station = await self._async_do_request(
aiopegelonline/__init__.py:36: in _async_do_request
async with self.session.get(url, params=params, headers=headers) as resp:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aiohttp/client.py:1683: in __aenter__
self._resp: _RetType_co = await self._coro
^^^^^^^^^^^^^^^^
<string>:3: in _request
???
/usr/lib/python3.13/unittest/mock.py:2332: in _execute_mock_call
result = await effect(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aioresponses/core.py:512: in _request_mock
response = await self.match(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aioresponses/core.py:456: in match
response_or_exc = await matcher.build_response(
/usr/lib/python3/dist-packages/aioresponses/core.py:202: in build_response
resp = self._build_response(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <aioresponses.core.RequestMatch object at 0x7fc5d544c710>
url = URL('https://www.pegelonline.wsv.de/webservices/rest-api/v2/stations/INVALID_UUID.json?prettyprint=false')
method = 'get', request_headers = {}, status = 404
body = b'{"status": 404, "message": "station not found"}'
content_type = 'application/json', payload = None, headers = None
response_class = <class 'aiohttp.client_reqrep.ClientResponse'>
reason = 'Not Found'
def _build_response(self, url: 'Union[URL, str]',
method: str = hdrs.METH_GET,
request_headers: Optional[Dict] = None,
status: int = 200,
body: Union[str, bytes] = '',
content_type: str = 'application/json',
payload: Optional[Dict] = None,
headers: Optional[Dict] = None,
response_class: Optional[Type[ClientResponse]] = None,
reason: Optional[str] = None) -> ClientResponse:
if response_class is None:
response_class = ClientResponse
if payload is not None:
body = json.dumps(payload)
if not isinstance(body, bytes):
body = str.encode(body)
if request_headers is None:
request_headers = {}
loop = Mock()
loop.get_debug = Mock()
loop.get_debug.return_value = True
kwargs = {} # type: Dict[str, Any]
kwargs['request_info'] = RequestInfo(
url=url,
method=method,
headers=CIMultiDictProxy(CIMultiDict(**request_headers)),
)
kwargs['writer'] = None
kwargs['continue100'] = None
kwargs['timer'] = TimerNoop()
kwargs['traces'] = []
kwargs['loop'] = loop
kwargs['session'] = None
# We need to initialize headers manually
_headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type})
if headers:
_headers.update(headers)
raw_headers = self._build_raw_headers(_headers)
/usr/lib/python3/dist-packages/aioresponses/core.py:171: TypeError
"915d76e1-xxxx-xxxx-xxxx-4d144cd771cc"
)
tests/test_aiopegelonline.py:110:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
aiopegelonline/__init__.py:113: in async_get_station_measurements
station = await self._async_do_request(
aiopegelonline/__init__.py:36: in _async_do_request
async with self.session.get(url, params=params, headers=headers) as resp:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aiohttp/client.py:1683: in __aenter__
self._resp: _RetType_co = await self._coro
^^^^^^^^^^^^^^^^
<string>:3: in _request
???
/usr/lib/python3.13/unittest/mock.py:2332: in _execute_mock_call
result = await effect(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aioresponses/core.py:512: in _request_mock
response = await self.match(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aioresponses/core.py:456: in match
response_or_exc = await matcher.build_response(
/usr/lib/python3/dist-packages/aioresponses/core.py:202: in build_response
resp = self._build_response(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <aioresponses.core.RequestMatch object at 0x7fc5d544d9d0>
url = URL('https://www.pegelonline.wsv.de/webservices/rest-api/v2/stations/915d76e1-xxxx-xxxx-xxxx-4d144cd771cc.json?includeCurrentMeasurement=true&includeTimeseries=true&prettyprint=false')
method = 'get', request_headers = {}, status = 200
body = b'{"uuid": "915d76e1-xxxx-xxxx-xxxx-4d144cd771cc", "number": "24300600", "shortname": "W\\u00dcRZBURG", "longname": "W...": "m\\u00b3/s", "equidistance": 15, "currentMeasurement": {"timestamp": "2023-07-26T19:00:00+02:00", "value": 102}}]}'
content_type = 'application/json', payload = None, headers = None
response_class = <class 'aiohttp.client_reqrep.ClientResponse'>, reason = 'OK'
def _build_response(self, url: 'Union[URL, str]',
method: str = hdrs.METH_GET,
request_headers: Optional[Dict] = None,
status: int = 200,
body: Union[str, bytes] = '',
content_type: str = 'application/json',
payload: Optional[Dict] = None,
headers: Optional[Dict] = None,
response_class: Optional[Type[ClientResponse]] = None,
reason: Optional[str] = None) -> ClientResponse:
if response_class is None:
response_class = ClientResponse
if payload is not None:
body = json.dumps(payload)
if not isinstance(body, bytes):
body = str.encode(body)
if request_headers is None:
request_headers = {}
loop = Mock()
loop.get_debug = Mock()
loop.get_debug.return_value = True
kwargs = {} # type: Dict[str, Any]
kwargs['request_info'] = RequestInfo(
url=url,
method=method,
headers=CIMultiDictProxy(CIMultiDict(**request_headers)),
)
kwargs['writer'] = None
kwargs['continue100'] = None
kwargs['timer'] = TimerNoop()
kwargs['traces'] = []
kwargs['loop'] = loop
kwargs['session'] = None
# We need to initialize headers manually
_headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type})
if headers:
_headers.update(headers)
raw_headers = self._build_raw_headers(_headers)
/usr/lib/python3/dist-packages/aioresponses/core.py:171: TypeError
"70272185-xxxx-xxxx-xxxx-43bea330dcae"
)
tests/test_aiopegelonline.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
aiopegelonline/__init__.py:101: in async_get_station_details
station = await self._async_do_request(
aiopegelonline/__init__.py:36: in _async_do_request
async with self.session.get(url, params=params, headers=headers) as resp:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aiohttp/client.py:1683: in __aenter__
self._resp: _RetType_co = await self._coro
^^^^^^^^^^^^^^^^
<string>:3: in _request
???
/usr/lib/python3.13/unittest/mock.py:2332: in _execute_mock_call
result = await effect(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aioresponses/core.py:512: in _request_mock
response = await self.match(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aioresponses/core.py:456: in match
response_or_exc = await matcher.build_response(
/usr/lib/python3/dist-packages/aioresponses/core.py:202: in build_response
resp = self._build_response(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <aioresponses.core.RequestMatch object at 0x7fc5d56e2990>
url = URL('https://www.pegelonline.wsv.de/webservices/rest-api/v2/stations/70272185-xxxx-xxxx-xxxx-43bea330dcae.json?prettyprint=false')
method = 'GET', request_headers = {}, status = 200
body = b'{"uuid": "70272185-xxxx-xxxx-xxxx-43bea330dcae", "number": "501060", "shortname": "DRESDEN", "longname": "DRESDEN", ..., "longitude": 13.738831783620384, "latitude": 51.054459765598125, "water": {"shortname": "ELBE", "longname": "ELBE"}}'
content_type = 'application/json', payload = None
headers = {'Etag': 'etag_station_dresden'}
response_class = <class 'aiohttp.client_reqrep.ClientResponse'>, reason = None
def _build_response(self, url: 'Union[URL, str]',
method: str = hdrs.METH_GET,
request_headers: Optional[Dict] = None,
status: int = 200,
body: Union[str, bytes] = '',
content_type: str = 'application/json',
payload: Optional[Dict] = None,
headers: Optional[Dict] = None,
response_class: Optional[Type[ClientResponse]] = None,
reason: Optional[str] = None) -> ClientResponse:
if response_class is None:
response_class = ClientResponse
if payload is not None:
body = json.dumps(payload)
if not isinstance(body, bytes):
body = str.encode(body)
if request_headers is None:
request_headers = {}
loop = Mock()
loop.get_debug = Mock()
loop.get_debug.return_value = True
kwargs = {} # type: Dict[str, Any]
kwargs['request_info'] = RequestInfo(
url=url,
method=method,
headers=CIMultiDictProxy(CIMultiDict(**request_headers)),
)
kwargs['writer'] = None
kwargs['continue100'] = None
kwargs['timer'] = TimerNoop()
kwargs['traces'] = []
kwargs['loop'] = loop
kwargs['session'] = None
# We need to initialize headers manually
_headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type})
if headers:
_headers.update(headers)
raw_headers = self._build_raw_headers(_headers)
/usr/lib/python3/dist-packages/aioresponses/core.py:171: TypeError
=========================== short test summary info ============================
FAILED tests/test_aiopegelonline.py::test_get_all_stations - TypeError: Clien...
FAILED tests/test_aiopegelonline.py::test_get_nearby_stations - TypeError: Cl...
FAILED tests/test_aiopegelonline.py::test_get_nearby_stations_no_stations - T...
FAILED tests/test_aiopegelonline.py::test_get_station_details - TypeError: Cl...
FAILED tests/test_aiopegelonline.py::test_get_station_details_invalid - TypeE...
FAILED tests/test_aiopegelonline.py::test_get_station_measurements - TypeErro...
FAILED tests/test_aiopegelonline.py::test_get_station_details_cached - TypeEr...
========================= 7 failed, 1 passed in 0.36s ==========================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_aiopegelonline/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------