Bug 2485972

Summary: F45FailsToInstall: python3-tpm2-pytss: TypeError: Can't instantiate abstract class tpm_ecc_private_key without an implementation for abstract method '__deepcopy__'
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: python-tpm2-pytssAssignee: Jakub Jelen <jjelen>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jjelen, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-10 15:18:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2412434, 2433833, 2433836, 2486002    

Description Fedora Fails To Install 2026-06-06 17:54:55 UTC
Hello,

Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py
If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues

Your package (python-tpm2-pytss) Fails To Install in Fedora 45:

can't install python3-tpm2-pytss:
  - nothing provides python3.14dist(packaging) needed by python3-tpm2-pytss-2.3.0-10.fc44.x86_64
  - nothing provides python3.14dist(pyyaml) needed by python3-tpm2-pytss-2.3.0-10.fc44.x86_64
  - nothing provides python3.14dist(asn1crypto) needed by python3-tpm2-pytss-2.3.0-10.fc44.x86_64
  - nothing provides python(abi) = 3.14 needed by python3-tpm2-pytss-2.3.0-10.fc44.x86_64
  - nothing provides python3.14dist(cryptography) >= 3 needed by python3-tpm2-pytss-2.3.0-10.fc44.x86_64
  - nothing provides python3.14dist(cffi) >= 1 needed by python3-tpm2-pytss-2.3.0-10.fc44.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-45-x86_64 --config-opts mirrored=False install python3-tpm2-pytss


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro HronĨok 2026-06-08 18:48:14 UTC
33 tests fail with:

____________________ TestCryptography.test_cert_builder_ecc ____________________
[gw0] linux -- Python 3.15.0 /usr/bin/python3
self = <test.test_cryptography.TestCryptography testMethod=test_cert_builder_ecc>
    def test_cert_builder_ecc(self):
        handle, _, _, _, _ = self.ectx.create_primary(
            in_sensitive=None, in_public=ecc_template
        )
>       privkey = tpm_ecc_private_key(self.ectx, handle)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       TypeError: Can't instantiate abstract class tpm_ecc_private_key without an implementation for abstract method '__deepcopy__'
test/test_cryptography.py:473: TypeError

...

FAILED test/test_cryptography.py::TestCryptography::test_cert_builder_ecc - T...
FAILED test/test_cryptography.py::TestCryptography::test_cert_builder_rsa - T...
FAILED test/test_cryptography.py::TestCryptography::test_csr_builder_ecc - Ty...
FAILED test/test_cryptography.py::TestCryptography::test_csr_builder_rsa - Ty...
FAILED test/test_cryptography.py::TestCryptography::test_ecc_copy - TypeError...
FAILED test/test_cryptography.py::TestCryptography::test_ecc_different_curves
FAILED test/test_cryptography.py::TestCryptography::test_ecc_exchange - TypeE...
FAILED test/test_cryptography.py::TestCryptography::test_ecc_key - TypeError:...
FAILED test/test_cryptography.py::TestCryptography::test_ecc_key_bad_type - T...
FAILED test/test_cryptography.py::TestCryptography::test_ecc_key_restricted
FAILED test/test_cryptography.py::TestCryptography::test_ecc_no_decrypt - Typ...
FAILED test/test_cryptography.py::TestCryptography::test_ecc_no_sign - TypeEr...
FAILED test/test_cryptography.py::TestCryptography::test_ecc_prehashed - Type...
FAILED test/test_cryptography.py::TestCryptography::test_ecc_sign - TypeError...
FAILED test/test_cryptography.py::TestCryptography::test_ecc_sign_with_scheme
FAILED test/test_cryptography.py::TestCryptography::test_ecc_unsupported_curve
FAILED test/test_cryptography.py::TestCryptography::test_ecc_unsupported_scheme
FAILED test/test_cryptography.py::TestCryptography::test_rsa_copy - TypeError...
FAILED test/test_cryptography.py::TestCryptography::test_rsa_decrypt_oaep - T...
FAILED test/test_cryptography.py::TestCryptography::test_rsa_decrypt_pkcs1v15
FAILED test/test_cryptography.py::TestCryptography::test_rsa_key - TypeError:...
FAILED test/test_cryptography.py::TestCryptography::test_rsa_key_bad_type - T...
FAILED test/test_cryptography.py::TestCryptography::test_rsa_key_restricted
FAILED test/test_cryptography.py::TestCryptography::test_rsa_no_decrypt - Typ...
FAILED test/test_cryptography.py::TestCryptography::test_rsa_no_sign - TypeEr...
FAILED test/test_cryptography.py::TestCryptography::test_rsa_prehashed - Type...
FAILED test/test_cryptography.py::TestCryptography::test_rsa_sign_pkcs1v15 - ...
FAILED test/test_cryptography.py::TestCryptography::test_rsa_sign_pss - TypeE...
FAILED test/test_cryptography.py::TestCryptography::test_rsa_unsupported_decrypt_scheme
FAILED test/test_cryptography.py::TestCryptography::test_rsa_unsupported_sig_scheme
FAILED test/test_cryptography.py::TestCryptography::test_scheme_digest_mismatch
FAILED test/test_cryptography.py::TestCryptography::test_scheme_digest_mismatch_oaep
FAILED test/test_cryptography.py::TestCryptography::test_scheme_mismatch - Ty...

Comment 2 Fedora Fails To Install 2026-06-10 15:18:06 UTC
Hello,

Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py
If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 45.

Thanks for taking care of it!