Summary: | dev-python/tpm2-pytss-2.1.0-r1 fails tests: TypeError: type cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers is not an acceptable base type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Christopher Byrne <salah.coronya> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint, salah.coronya |
Priority: | Normal | Keywords: | PullRequest, TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/tpm2-software/tpm2-pytss/pull/562 https://github.com/gentoo/gentoo/pull/35024 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 922900 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 883536 [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 TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers' is not an acceptable base type ERROR test/test_crypto.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_encoding.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_esapi.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_exception.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_fapi.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_policy.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_tcti.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_tcti_spi_helper.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_tsskey.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_types.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... ERROR test/test_utils.py - TypeError: type 'cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNu... The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dedba7f86ed4bbce0dd5c750cecaec5d0c3a1acf commit dedba7f86ed4bbce0dd5c750cecaec5d0c3a1acf Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2024-01-26 02:27:08 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-03-04 14:53:40 +0000 dev-python/tpm2-pytss: support Python 3.12, dev-python/cryptography >= 42 Closes: https://bugs.gentoo.org/922900 Closes: https://bugs.gentoo.org/923240 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> ...ypto-fix-_MyRSAPrivateNumbers-with-crypto.patch | 73 ++++++++++++++++++++++ ...e-pcr_set_auth_value-and-pcr_set_auth_pol.patch | 40 ++++++++++++ dev-python/tpm2-pytss/tpm2-pytss-2.1.0-r2.ebuild | 48 ++++++++++++++ 3 files changed, 161 insertions(+) |