python-hiredis fails to build with Python 3.15.0a5. This was addressed upstream: github.com/redis/hiredis-py/pull/218 - opening a bugzilla to track the development. + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-hiredis-3.3.0-build/pyproject-wheeldir --output /builddir/build/BUILD/python-hiredis-3.3.0-build/python-hiredis-3.3.0-2.fc44.x86_64-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 80.9.0) Traceback (most recent call last): File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 743, in main generate_requires( ~~~~~~~~~~~~~~~~~^ include_runtime=args.runtime, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... config_settings=parse_config_settings_args(args.config_settings), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 626, in generate_requires generate_build_requirements(backend, requirements) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 313, in generate_build_requirements new_reqs = get_requires(requirements.config_settings) File "/usr/lib/python3.15/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "/usr/lib/python3.15/site-packages/setuptools/build_meta.py", line 512, in run_setup super().run_setup(setup_script=setup_script) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "<string>", line 55, in <module> File "<string>", line 16, in version AttributeError: 'SourceFileLoader' object has no attribute 'load_module'. Did you mean: 'exec_module'? For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/10038558-python-hiredis/ For all our attempts to build python-hiredis with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-hiredis/ 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.
Patch from upsteram issue has been applied in https://src.fedoraproject.org/rpms/python-hiredis/pull-request/1
@ksurma this issue should have been fixed on rawhide branch, based on https://copr.fedorainfracloud.org/coprs/g/python/python3.15/build/10041880/.
Thank you! Yes, it's solved now.