https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/tpm2-pytss-2.1.0 fails tests (PYTHON-3.12-SYSTEM). Discovered on: amd64 (internal ref: python-3.12_tinderbox) NOTE: (PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Created attachment 867271 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: E AssertionError: 'unsupported key type: DSAPrivateKey' != 'unsupported key type: _DSAPrivateKey' FAILED test/test_crypto.py::CryptoTest::test_unsupported_key - AssertionError...
Its not related to Python 12. I can replicate this with the current stable. Something changed in dev-python/cryptography, because it works with dev-python/cryptography-40.0.2-r2, but not in dev-python/cryptography-41.0.1 or later.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed8546f3c2fde853395080fc346968f6d6019d63 commit ed8546f3c2fde853395080fc346968f6d6019d63 Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2023-08-10 00:40:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-01 07:15:10 +0000 dev-python/tpm2-pytss: Fix failing test, add DISTUTILS_EXT Closes: https://bugs.gentoo.org/911838 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> ...-add-check-for-renamed-cryptography-types.patch | 45 ++++++++++++++++++++++ dev-python/tpm2-pytss/tpm2-pytss-2.1.0-r1.ebuild | 44 +++++++++++++++++++++ 2 files changed, 89 insertions(+)