Bug 2372172 - F43FailsToInstall: python3-tpm2-pytss
Summary: F43FailsToInstall: python3-tpm2-pytss
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-tpm2-pytss
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14 F43FailsToInstall, RAWHIDEFailsToInstall
TreeView+ depends on / blocked
 
Reported: 2025-06-11 08:19 UTC by Fedora Fails To Install
Modified: 2025-06-13 12:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ===========


Note You need to log in before you can comment on or make changes to this bug.