Bug 2372172

Summary: F43FailsToInstall: python3-tpm2-pytss
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: python-tpm2-pytssAssignee: Jakub Jelen <jjelen>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, jjelen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tpm2-pytss-2.3.0-6.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-17 08:41:00 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: 2322407, 2339435, 2372234    

Description Fedora Fails To Install 2025-06-11 08:19:56 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

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

can't install python3-tpm2-pytss:
  - nothing provides python3.13dist(packaging) needed by python3-tpm2-pytss-2.3.0-4.fc43.x86_64
  - nothing provides python3.13dist(pyyaml) needed by python3-tpm2-pytss-2.3.0-4.fc43.x86_64
  - nothing provides python3.13dist(asn1crypto) needed by python3-tpm2-pytss-2.3.0-4.fc43.x86_64
  - nothing provides python(abi) = 3.13 needed by python3-tpm2-pytss-2.3.0-4.fc43.x86_64
  - nothing provides python3.13dist(cryptography) >= 3 needed by python3-tpm2-pytss-2.3.0-4.fc43.x86_64
  - nothing provides python3.13dist(cffi) >= 1 needed by python3-tpm2-pytss-2.3.0-4.fc43.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-43-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 Ben Beasley 2025-06-13 12:36:44 UTC
There are 31 test failures, all of the same general type:

=================================== FAILURES ===================================
____________________ TestCryptography.test_cert_builder_ecc ____________________
[gw0] linux -- Python 3.14.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 '__copy__'

test/test_cryptography.py:472: TypeError
----------------------------- Captured stderr call -----------------------------
swtpm: Warning: Profile-enabled algorithms contain disabled 'RSA-1024-sign(SHA1, pkcs1-pss)'
swtpm: Warning: Setting OPENSSL_ENABLE_SHA1_SIGNATURES=1
____________________ TestCryptography.test_cert_builder_rsa ____________________
[gw0] linux -- Python 3.14.0 /usr/bin/python3

self = <test.test_cryptography.TestCryptography testMethod=test_cert_builder_rsa>

    def test_cert_builder_rsa(self):
        handle, _, _, _, _ = self.ectx.create_primary(
            in_sensitive=None, in_public=rsa_template
        )
>       privkey = tpm_rsa_private_key(self.ectx, handle)
E       TypeError: Can't instantiate abstract class tpm_rsa_private_key without an implementation for abstract method '__copy__'

test/test_cryptography.py:434: TypeError
----------------------------- Captured stderr call -----------------------------
swtpm: Warning: Profile-enabled algorithms contain disabled 'RSA-1024-sign(SHA1, pkcs1-pss)'
swtpm: Warning: Setting OPENSSL_ENABLE_SHA1_SIGNATURES=1
____________________ TestCryptography.test_csr_builder_ecc _____________________

[…]

=========================== short test summary info ============================
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_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_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...
=========== 31 failed, 563 passed, 16 skipped, 42 warnings in 42.47s ===========

Comment 3 Fedora Update System 2025-06-17 08:36:06 UTC
FEDORA-2025-243ae539b9 (python-tpm2-pytss-2.3.0-6.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-243ae539b9

Comment 4 Fedora Update System 2025-06-17 08:41:00 UTC
FEDORA-2025-243ae539b9 (python-tpm2-pytss-2.3.0-6.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.