Package: src:python-aio-georss-client Version: 0.12-3 Severity: serious Tags: ftbfs forky sid
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/202608/ 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:python-aio-georss-client, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] =================================== FAILURES =================================== ____________________________ test_update_ok_feed_3 _____________________________ mock_aioresponse = <aioresponses.core.aioresponses object at 0x7fbb870ee350> @pytest.mark.asyncio async def test_update_ok_feed_3(mock_aioresponse): """Test updating feed is ok.""" mock_aioresponse.get( "http://test.url/testpath", status=HTTPStatus.OK, body=load_fixture("generic_feed_3.xml"), ) async with aiohttp.ClientSession(loop=asyncio.get_running_loop()) as websession: feed = MockGeoRssFeed( websession, HOME_COORDINATES_1, "http://test.url/testpath" ) > status, entries = await feed.update() ^^^^^^^^^^^^^^^^^^^ tests/test_feed.py:110: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aio_georss_client/feed.py:79: in update status, rss_data = await self._fetch() ^^^^^^^^^^^^^^^^^^^ aio_georss_client/feed.py:116: in _fetch feed_data = parser.parse(text) ^^^^^^^^^^^^^^^^^^ aio_georss_client/xml_parser/__init__.py:106: in parse parsed_dict = xmltodict.parse( /usr/lib/python3/dist-packages/xmltodict.py:368: in parse parser.Parse(xml_input, True) ../Modules/pyexpat.c:554: in EndElement ??? /usr/lib/python3/dist-packages/xmltodict.py:138: in endElement self.item = self.push_data(self.item, name, item) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/xmltodict.py:159: in push_data result = self.postprocessor(self.path, key, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ aio_georss_client/xml_parser/__init__.py:81: in postprocessor point_coordinates = XmlParser._process_coordinates(value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ value = {'@xmlns': {'': 'http://www.georss.org/georss'}, '#text': '-34.937663524 148.597260613 -34.9377026399999 148.597169138...1 -34.937336692 148.597589818 -34.937417185 148.597501208 -34.9375217259999 148.597421427 -34.937663524 148.597260613'} @staticmethod def _process_coordinates(value: str) -> list[float]: """Turn white-space separated list of numbers into list of floats.""" > coordinate_values = value.split() ^^^^^^^^^^^ E AttributeError: 'dict' object has no attribute 'split' aio_georss_client/xml_parser/__init__.py:97: AttributeError =============================== warnings summary =============================== tests/test_feed.py: 65 warnings tests/test_feed_manager.py: 30 warnings tests/test_xml_parser.py: 18 warnings /usr/lib/python3/dist-packages/dateparser/utils/strptime.py:94: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguous and fails to parse leap day. The default behavior will change in Python 3.15 to either always raise an exception or to use a different default year (TBD). To avoid trouble, add a specific year to the input & format. See https://github.com/python/cpython/issues/70647. obj = datetime(*__strptime(date_string, format)[:-3]) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_feed.py::test_update_ok_feed_3 - AttributeError: 'dict' obj... ================== 1 failed, 51 passed, 113 warnings in 1.21s ================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --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 --------------------------------------------------------------------------------

