Package: src:dnspython Version: 2.8.0-5 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:dnspython, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] =================================== FAILURES =================================== _____________________ NameTestCase.testFromUnicodeIDNA2008 _____________________ self = <tests.test_name.NameTestCase testMethod=testFromUnicodeIDNA2008> @unittest.skipUnless( dns.name.have_idna_2008, "Python idna cannot be imported; no IDNA2008" ) def testFromUnicodeIDNA2008(self): t = "KönigsgäÃchen" def bad(): codec = dns.name.IDNA_2008_Strict return dns.name.from_unicode(t, idna_codec=codec) self.assertRaises(dns.name.IDNAException, bad) e1 = dns.name.from_unicode(t, idna_codec=dns.name.IDNA_2008) self.assertEqual(str(e1), "xn--knigsgchen-b4a3dun.") c2 = dns.name.IDNA_2008_Transitional e2 = dns.name.from_unicode(t, idna_codec=c2) > self.assertEqual(str(e2), "xn--knigsgsschen-lcb0w.") E AssertionError: 'xn--knigsgchen-b4a3dun.' != 'xn--knigsgsschen-lcb0w.' E - xn--knigsgchen-b4a3dun. E ? ^^^^^^ E + xn--knigsgsschen-lcb0w. E ? ++ ++ ^^ tests/test_name.py:827: AssertionError _________________________ NameTestCase.testToUnicode5 __________________________ self = <tests.test_name.NameTestCase testMethod=testToUnicode5> @unittest.skipUnless( dns.name.have_idna_2008, "Python idna cannot be imported; no IDNA2008" ) def testToUnicode5(self): # Exercise UTS 46 remapping in decode. This doesn't normally happen # as you can see from us having to instantiate the codec as # transitional with strict decoding, not one of our usual choices. codec = dns.name.IDNA2008Codec(True, True, False, True) n = dns.name.from_text("xn--gro-7ka.com") > self.assertEqual(n.to_unicode(idna_codec=codec), "gross.com.") E AssertionError: 'groÃ.com.' != 'gross.com.' E - groÃ.com. E ? ^ E + gross.com. E ? ^^ tests/test_name.py:896: AssertionError =============================== warnings summary =============================== tests/test_name.py::NameTestCase::testFromUnicodeIDNA2008 tests/test_name.py::NameTestCase::testFromUnicodeIDNA2008Mixed /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dnspython/build/dns/name.py:286: DeprecationWarning: Transitional processing is deprecated in UTS #46 and has no effect. The transitional argument will be removed in a future version. label = idna.uts46_remap(label, False, self.transitional) tests/test_name.py::NameTestCase::testToUnicode5 tests/test_name.py::NameTestCase::testToUnicode5 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dnspython/build/dns/name.py:304: DeprecationWarning: Transitional processing is deprecated in UTS #46 and has no effect. The transitional argument will be removed in a future version. ulabel = idna.uts46_remap(ulabel, False, self.transitional) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_name.py::NameTestCase::testFromUnicodeIDNA2008 - AssertionE... FAILED tests/test_name.py::NameTestCase::testToUnicode5 - AssertionError: 'gr... =========== 2 failed, 1272 passed, 108 skipped, 4 warnings in 3.44s ============ E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_dnspython/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:15: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

