Your message dated Fri, 06 Jan 2023 02:46:33 +0000 with message-id <[email protected]> and subject line Bug#1023039: fixed in python-xmlsec 1.3.13-1 has caused the Debian Bug report #1023039, regarding python-xmlsec: FTBFS with xmlsec1 1.2.35 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1023039: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023039 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-xmlsec Version: 1.3.12-1 Severity: important Hi, Given I was already a bit wary about the changed in xmlsec1 I uploaded it to experimental first. Which turns out to be a good idea since that one causes oath-toolkit to FTBFS/fail its tests: dh_auto_test -O--buildsystem=pybuild I: pybuild base:240: cd /home/rene/t/python-xmlsec-1.3.12/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.10.8, pytest-7.1.2, pluggy-1.0.0+repack rootdir: /home/rene/t/python-xmlsec-1.3.12 plugins: tornado-0.8.1, hypothesis-6.36.0, requests-mock-1.9.3, cov-4.0.0, asyncio-0.19.0 asyncio: mode=strict collected 166 items / 1 skipped tests/test_xmlsec.py . [ 0%] tests/test_constants.py .... [ 3%] tests/test_doc_examples.py s [ 3%] tests/test_ds.py .............................FE.......... [ 27%] tests/test_enc.py ........................ [ 42%] tests/test_keys.py ......................................... [ 66%] tests/test_main.py ............. [ 74%] tests/test_templates.py .................................. [ 95%] tests/test_tree.py ........ [100%] ==================================== ERRORS ==================================== _____________ ERROR at teardown of TestSignContext.test_sign_case5 _____________ self = <tests.test_ds.TestSignContext testMethod=test_sign_case5> def test_sign_case5(self): """Should sign a file using a dynamicaly created template, key from PEM file and an X509 certificate.""" root = self.load_xml("sign5-in.xml") sign = xmlsec.template.create(root, consts.TransformExclC14N, consts.TransformRsaSha1) self.assertIsNotNone(sign) root.append(sign) ref = xmlsec.template.add_reference(sign, consts.TransformSha1) xmlsec.template.add_transform(ref, consts.TransformEnveloped) ki = xmlsec.template.ensure_key_info(sign) x509 = xmlsec.template.add_x509_data(ki) xmlsec.template.x509_data_add_subject_name(x509) xmlsec.template.x509_data_add_certificate(x509) xmlsec.template.x509_data_add_ski(x509) x509_issuer_serial = xmlsec.template.x509_data_add_issuer_serial(x509) xmlsec.template.x509_issuer_serial_add_issuer_name(x509_issuer_serial, 'Test Issuer') xmlsec.template.x509_issuer_serial_add_serial_number(x509_issuer_serial, '1') ctx = xmlsec.SignatureContext() ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) self.assertIsNotNone(ctx.key) ctx.key.load_cert_from_file(self.path('rsacert.pem'), consts.KeyDataFormatPem) ctx.key.name = 'rsakey.pem' self.assertEqual("rsakey.pem", ctx.key.name) ctx.sign(sign) > self.assertEqual(self.load_xml("sign5-out.xml"), root) tests/test_ds.py:186: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/base.py:132: in assertXmlEqual self.assertXmlEqual(c1, c2) tests/base.py:132: in assertXmlEqual self.assertXmlEqual(c1, c2) tests/base.py:132: in assertXmlEqual self.assertXmlEqual(c1, c2) tests/base.py:132: in assertXmlEqual self.assertXmlEqual(c1, c2) tests/base.py:122: in assertXmlEqual self.fail('text: %r != %r. %s' % (first.text, second.text, msg)) E AssertionError: text: 'JIQs8tRZIGKLLlyGkKOqMLonGpw=' != None. =================================== FAILURES =================================== _______________________ TestSignContext.test_sign_case5 ________________________ self = <tests.test_ds.TestSignContext testMethod=test_sign_case5> def test_sign_case5(self): """Should sign a file using a dynamicaly created template, key from PEM file and an X509 certificate.""" root = self.load_xml("sign5-in.xml") sign = xmlsec.template.create(root, consts.TransformExclC14N, consts.TransformRsaSha1) self.assertIsNotNone(sign) root.append(sign) ref = xmlsec.template.add_reference(sign, consts.TransformSha1) xmlsec.template.add_transform(ref, consts.TransformEnveloped) ki = xmlsec.template.ensure_key_info(sign) x509 = xmlsec.template.add_x509_data(ki) xmlsec.template.x509_data_add_subject_name(x509) xmlsec.template.x509_data_add_certificate(x509) xmlsec.template.x509_data_add_ski(x509) x509_issuer_serial = xmlsec.template.x509_data_add_issuer_serial(x509) xmlsec.template.x509_issuer_serial_add_issuer_name(x509_issuer_serial, 'Test Issuer') xmlsec.template.x509_issuer_serial_add_serial_number(x509_issuer_serial, '1') ctx = xmlsec.SignatureContext() ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) self.assertIsNotNone(ctx.key) ctx.key.load_cert_from_file(self.path('rsacert.pem'), consts.KeyDataFormatPem) ctx.key.name = 'rsakey.pem' self.assertEqual("rsakey.pem", ctx.key.name) ctx.sign(sign) > self.assertEqual(self.load_xml("sign5-out.xml"), root) tests/test_ds.py:186: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/base.py:132: in assertXmlEqual self.assertXmlEqual(c1, c2) tests/base.py:132: in assertXmlEqual self.assertXmlEqual(c1, c2) tests/base.py:132: in assertXmlEqual self.assertXmlEqual(c1, c2) tests/base.py:132: in assertXmlEqual self.assertXmlEqual(c1, c2) tests/base.py:122: in assertXmlEqual self.fail('text: %r != %r. %s' % (first.text, second.text, msg)) E AssertionError: text: 'JIQs8tRZIGKLLlyGkKOqMLonGpw=' != None. =========================== short test summary info ============================ FAILED tests/test_ds.py::TestSignContext::test_sign_case5 - AssertionError: t... ERROR tests/test_ds.py::TestSignContext::test_sign_case5 - AssertionError: te... ============== 1 failed, 164 passed, 2 skipped, 1 error in 6.11s =============== E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd /home/rene/t/python-xmlsec-1.3.12/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13 make: *** [debian/rules:4: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 debuild: fatal error at line 1182: dpkg-buildpackage -us -uc -ui -b failed As said, it's already available in experimental to try yourself. Regards, Rene
--- End Message ---
--- Begin Message ---Source: python-xmlsec Source-Version: 1.3.13-1 Done: Jérémy Lal <[email protected]> We believe that the bug you reported is fixed in the latest version of python-xmlsec, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jérémy Lal <[email protected]> (supplier of updated python-xmlsec package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 06 Jan 2023 01:43:45 +0100 Source: python-xmlsec Architecture: source Version: 1.3.13-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Team <[email protected]> Changed-By: Jérémy Lal <[email protected]> Closes: 1023039 Changes: python-xmlsec (1.3.13-1) unstable; urgency=medium . * Team upload * New upstream version 1.3.13 * Build with hardening flags * Unapply fix-lxml-syntax-error-on-parser-reuse.patch, fixed upstream. * Skip failing dynamic sig test (Closes: #1023039) This is expected, because libxmlsec1 fails there too. * Standards-Version: 4.6.1.0 * watch version 4 * Remove dot in description Checksums-Sha1: a17e0d000eb908ce2a62c9fc04bb7d54ebe94537 2238 python-xmlsec_1.3.13-1.dsc bafdeb61f31013b3f86e3552dc701a4d5a134e3f 64640 python-xmlsec_1.3.13.orig.tar.gz 0b686247dad5ddc0ba3fce42ba40267444f1231c 2288 python-xmlsec_1.3.13-1.debian.tar.xz 01501593a4a404e984fc62d0146182ce909bb69a 8645 python-xmlsec_1.3.13-1_source.buildinfo Checksums-Sha256: d65ddb3a3d13a72e591ae7934c9050292edb9eb2800c6e19ec0b5db7b8a11052 2238 python-xmlsec_1.3.13-1.dsc 916f5d78e8041f6cd9391abba659da8c94a4fef7196d126d40af1ff417f2cf86 64640 python-xmlsec_1.3.13.orig.tar.gz ae0cdbcf8d1b30b556916e4d518c43c4c206c2033296c3bfb1f07d80a7a5337d 2288 python-xmlsec_1.3.13-1.debian.tar.xz 35a87565ae59bd23e0cfebd11fb7945cff03646856e29cd1b9d7a3a4692376da 8645 python-xmlsec_1.3.13-1_source.buildinfo Files: 80167824b0a13faa79c03076e43879fd 2238 python optional python-xmlsec_1.3.13-1.dsc 93f88028282552bb1c99d6f4dde12d73 64640 python optional python-xmlsec_1.3.13.orig.tar.gz 65a67878b8a52e9e539dd877bb8e8a62 2288 python optional python-xmlsec_1.3.13-1.debian.tar.xz 0e579cfeafd555b6b957886f221e1aba 8645 python optional python-xmlsec_1.3.13-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCAAwFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAmO3g4wSHGthcG91ZXJA bWVsaXgub3JnAAoJEGYRwF7dOfN0QgcQAKtAilZcc2+mLWw8ttHpl5OOHdP9HSCD jhgyjyboCJxltGRnTvP9nGIiPEyvJzaKzoZIRLbS9jfruPyNECnFBnNoMPgfD3On 778cPuJQQaZSgMsPCohteLF+uj+I7jAKyc1z+CNd+9uTCrN8xpUsup3HJmcucusp HsNbHKcLTCaDNKG0xUW2Eo9Sb5VUSGPX4vMVj9QtXMQV/oVGp/QQpaN/k2419cbI P01HESQIy7mV94uO2vIK3pcg5pLiBPJmndb+csXR2Byl+vtPz31ftb+ufgWkWKhJ ll9tlIzgn7HFolme9/Z3ql6RaCYGqIuWqVPd73Sidv+OlXLbNNQX1t+ceNPLN6Nt Lc9s2NXAquSJ0Iqdj+WlXvPYAmswNN+CqYVo+ZcXwGM+MQRfGHPb5ig9ZjH6rMSz khXs6/RF7ciUWi6WiDOeYP4GbkblGRkEcycllhTzLalJ9Mdu/jHhJZKBiiETJ+wf z0/Du+91Vu0sokVmhct1uOaGL6o3Y4eme5auLTRqKbdTfv12X2MX4uVQUhqBvmOX BJKep2JVffAUey+3ZAczVJvlZ4Mx0kIWdHQtFdt0V/WuGRWLPBRH0GXvAnSkDo4x JGgZHMXUPL0NGcu9frYTpLxFKnRudH6y4r6BPqFMivJDYoSlLVTI6OvwFdVOWgto JW00+Y6gkZnC =zkw7 -----END PGP SIGNATURE-----
--- End Message ---

