Description of problem: Using python-kerberos is broken on Python 3.10+ >>> import kerberos >>> kerberos.__file__ '/usr/lib64/python3.10/site-packages/kerberos.cpython-310-x86_64-linux-gnu.so' >>> kerberos.channelBindings(application_data=...) Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats Version-Release number of selected component (if applicable): python3-kerberos-1.3.0-13.fc35.x86_64 How reproducible: Easy. Steps to Reproduce: 1. Run Python 3.10 on Fedora 35 or 36. 2. Import kerberos 3. Run kerberos.channelBindings(application_data=...) Actual results: SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats Expected results: No SystemError. Additional info: This breaks the Red Hat internal rhpkg tool, see https://bugzilla.redhat.com/show_bug.cgi?id=1890878#c8 and below.
Upstream report: https://github.com/apple/ccs-pykerberos/issues/88 This could have been caught much sooner if only there were some tests executed in %check :/
> This could have been caught much sooner if only there were some tests > executed in %check :/ Unfortunately, I see now that setting that up would not be very easy. https://github.com/apple/ccs-pykerberos/blob/PyKerberos-1.3.0/testing_notes.md
Fixers: https://src.fedoraproject.org/rpms/python-kerberos/pull-request/1 (rawhide) https://src.fedoraproject.org/rpms/python-kerberos/pull-request/2 (f35)
FEDORA-2021-aa8e7b6146 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-aa8e7b6146
FEDORA-2021-aa8e7b6146 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-aa8e7b6146` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-aa8e7b6146 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-aa8e7b6146 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.