Fedora Account System
Red Hat Associate
Red Hat Customer
python-urllib-gssapi fails to build with Python 3.15.0a2, because it fails to import symbol from python-gssapi. + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py urllib_gssapi Check import: urllib_gssapi Traceback (most recent call last): File "/usr/lib/rpm/redhat/import_all_modules.py", line 106, in import_modules importlib.import_module(module) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib64/python3.15/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1406, in _gcd_import File "<frozen importlib._bootstrap>", line 1379, in _find_and_load File "<frozen importlib._bootstrap>", line 1350, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 938, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 762, in exec_module File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed File "/builddir/build/BUILD/python-urllib-gssapi-1.0.2-build/BUILDROOT/usr/lib/python3.15/site-packages/urllib_gssapi/__init__.py", line 26, in <module> import gssapi File "/usr/lib64/python3.15/site-packages/gssapi/__init__.py", line 31, in <module> from gssapi.raw.types import NameType, RequirementFlag, AddressType # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.15/site-packages/gssapi/raw/__init__.py", line 50, in <module> from gssapi.raw.creds import * # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "gssapi/raw/creds.pyx", line 1, in init gssapi.raw.creds ImportError: /usr/lib64/python3.15/site-packages/gssapi/raw/names.cpython-315-x86_64-linux-gnu.so: undefined symbol: _PyByteArray_empty_string Failed to import: urllib_gssapi https://docs.python.org/3.15/whatsnew/3.15.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/09824975-python-urllib-gssapi/ For all our attempts to build python-urllib-gssapi with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-urllib-gssapi/ 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.15: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/ Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. 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 has been caused by building against an old build of python-gssapi - not a bug.