python-spnego fails to build with Python 3.13.0a1. This report is automated and not very verbose, but we'll try to get back here with details. _____________________________ test_neg_token_resp ______________________________ capsys = <_pytest.capture.CaptureFixture object at 0x7fb04b4f1c70> def test_neg_token_resp(capsys): entrypoint.main( [ "--token", base64.b64encode(get_data("neg_token_resp")).decode(), ] ) actual_out = capsys.readouterr() assert actual_out.err == "" actual = json.loads(actual_out.out) assert actual["MessageType"] == "SPNEGO NegTokenResp" assert actual["RawData"] is not None assert actual["Data"]["negState"] == "accept-complete (0)" assert actual["Data"]["supportedMech"] == "Kerberos (1.2.840.113554.1.2.2)" assert actual["Data"]["responseToken"]["MessageType"] == "SPNEGO InitialContextToken" assert actual["Data"]["responseToken"]["Data"]["thisMech"] == "Kerberos (1.2.840.113554.1.2.2)" > assert actual["Data"]["responseToken"]["Data"]["innerContextToken"]["MessageType"] == "AP-REP (15)" E AssertionError: assert 'UNKNOWN (0)' == 'AP-REP (15)' E - AP-REP (15) E + UNKNOWN (0) tests/test_main.py:970: AssertionError ____________________________ test_unpack_krb_ap_rep ____________________________ def test_unpack_krb_ap_rep(): data = get_data("initial_context_token_krb_ap_rep") actual = sp.unpack_token(data) assert actual == data actual = sp.unpack_token(data, unwrap=True) assert isinstance(actual, sp.InitialContextToken) assert actual.this_mech == GSSMech.kerberos.value > assert isinstance(actual.token, KrbApRep) E assert False E + where False = isinstance(<spnego._kerberos.KerberosV5Msg object at 0x7fb04b2a4a70>, KrbApRep) E + where <spnego._kerberos.KerberosV5Msg object at 0x7fb04b2a4a70> = <spnego._spnego.InitialContextToken object at 0x7fb04b2a5cd0>.token tests/test_spnego.py:169: AssertionError =========================== short test summary info ============================ FAILED tests/test_kerberos.py::test_unpack_krb_as_req - AssertionError: asser... FAILED tests/test_kerberos.py::test_unpack_krb_tgs_req - AssertionError: asse... FAILED tests/test_kerberos.py::test_unpack_krb_as_rep - AssertionError: asser... FAILED tests/test_kerberos.py::test_unpack_krb_tgs_rep - AssertionError: asse... FAILED tests/test_kerberos.py::test_unpack_krb_ap_req - AssertionError: asser... FAILED tests/test_kerberos.py::test_unpack_krb_ap_req_unknown_options - Asser... FAILED tests/test_kerberos.py::test_unpack_krb_ap_rep - AssertionError: asser... FAILED tests/test_kerberos.py::test_unpack_krb_error - AssertionError: assert... FAILED tests/test_main.py::test_krb_as_rep - AssertionError: assert 'UNKNOWN ... FAILED tests/test_main.py::test_krb_as_req - AssertionError: assert 'UNKNOWN ... FAILED tests/test_main.py::test_krb_error - AssertionError: assert 'UNKNOWN (... FAILED tests/test_main.py::test_krb_tgs_rep - AssertionError: assert 'UNKNOWN... FAILED tests/test_main.py::test_krb_tgs_req - AssertionError: assert 'UNKNOWN... FAILED tests/test_main.py::test_krb_ap_req_in_initial_context_token - Asserti... FAILED tests/test_main.py::test_neg_token_init - AssertionError: assert 'UNKN... FAILED tests/test_main.py::test_neg_token_resp - AssertionError: assert 'UNKN... FAILED tests/test_spnego.py::test_unpack_krb_ap_req - assert False FAILED tests/test_spnego.py::test_unpack_krb_ap_rep - assert False =========== 18 failed, 541 passed, 113 skipped, 3 warnings in 2.64s ============ https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06561006-python-spnego/ For all our attempts to build python-spnego with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-spnego/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.
FEDORA-2024-bb02d11011 (python-spnego-0.11.1-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-bb02d11011
FEDORA-2024-bb02d11011 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-bb02d11011` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-bb02d11011 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-bb02d11011 (python-spnego-0.11.1-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.