Package: src:url-normalize Version: 2.2.1-2 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:url-normalize, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] =================================== FAILURES =================================== __________ test_normalize_host_result_is_expected[fa\xdf.de-fass.de] ___________ host = 'faÃ.de', expected = 'fass.de' @pytest.mark.parametrize( ("host", "expected"), [ # Basic cases ("site.com", "site.com"), ("SITE.COM", "site.com"), ("site.com.", "site.com"), # Cyrillic domains ("пÑимеÑ.иÑпÑÑание", "xn--e1afmkfd.xn--80akhbyknj4f"), # Mixed case with Cyrillic ("ExAmPle.РФ", "example.xn--p1ai"), # IDNA2008 with UTS46 ("faÃ.de", "fass.de"), # Normalize using transitional rules # Edge cases ("ãã¡ã¤ã³.ãã¹ã", "xn--eckwd4c7c.xn--zckzah"), # Japanese ("domain.café", "domain.xn--caf-dma"), # Latin with diacritic # Normalization tests ("über.example", "xn--ber-goa.example"), # IDNA 2008 for umlaut ("exampleãcom", "example.com"), # Normalize full-width punctuation ], ) def test_normalize_host_result_is_expected(host: str, expected: str) -> None: """Assert we got expected results from the normalize_host function.""" result = normalize_host(host) > assert result == expected, host E AssertionError: faÃ.de E assert 'xn--fa-hia.de' == 'fass.de' E E - fass.de E + xn--fa-hia.de tests/test_normalize_host.py:32: AssertionError =============================== warnings summary =============================== tests/test_normalize_host.py: 19 warnings tests/test_normalize_query_filters.py: 32 warnings tests/test_url_normalize.py: 127 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_url-normalize/build/url_normalize/normalize_host.py:35: DeprecationWarning: Transitional processing is deprecated in UTS #46 and has no effect. The transitional argument will be removed in a future version. idna.encode(p, uts46=True, transitional=True).decode(charset) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.14.7-final-0 ________________ Name Stmts Miss Cover Missing ---------------------------------------------------- url_normalize/cli.py 22 1 95% 69 ---------------------------------------------------- TOTAL 207 1 99% 14 files skipped due to complete coverage. =========================== short test summary info ============================ FAILED tests/test_normalize_host.py::test_normalize_host_result_is_expected[fa\xdf.de-fass.de] ================= 1 failed, 198 passed, 178 warnings in 1.59s ================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_url-normalize/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:5: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

