Summary: | dev-python/tpm2-pytss-1.1.0: tons of test failures: AttributeError: 'TPM2B_PUBLIC' object has no attribute '_cdata' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Christopher Byrne <salah.coronya> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dev-python:tpm2-pytss-1.1.0:20220615-083053.log.xz
dev-python tpm2-pytss-1.1.0-20220617-1.log.xz |
Created attachment 785213 [details]
dev-python:tpm2-pytss-1.1.0:20220615-083053.log.xz
Created attachment 786086 [details]
dev-python tpm2-pytss-1.1.0-20220617-1.log.xz
I can't replicate this - it seems to work for me. This is on an amd64 (stable) system. What version of app-crypt/tpm2-tss was this against?
I'm guessing this was related to the "dance" in src_test. That was fixed by upstream in https://github.com/tpm2-software/tpm2-pytss/commit/a03b66dd73a2ff58ebf847864102585aa3d11af7 and is included the current version on dev-python/tpm2-pytss. |
266 tests fail, with errors like the following: self = <tpm2_pytss.types.TPMT_SENSITIVE object at 0x7ff50a373310>, key = 'sensitiveType', value = 35 def __setattr__(self, key, value): > _cdata = object.__getattribute__(self, "_cdata") E AttributeError: 'TPMT_SENSITIVE' object has no attribute '_cdata' key = 'sensitiveType' self = <tpm2_pytss.types.TPMT_SENSITIVE object at 0x7ff50a373310> value = 35 ../tpm2-pytss-1.1.0-python3_9/install/usr/lib/python3.9/site-packages/tpm2_pytss/types.py:140: AttributeError