python-llvmlite fails to build with Python 3.11.0a2. Traceback (most recent call last): File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 421, in main generate_requires( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 355, in generate_requires generate_build_requirements(backend, requirements) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 251, in generate_build_requirements new_reqs = get_requires() ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 154, in get_requires_for_build_wheel return self._get_build_requires( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 135, in _get_build_requires self.run_setup() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 259, in run_setup self).run_setup(setup_script=setup_script) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 150, in run_setup exec(compile(code, __file__, 'exec'), locals()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "setup.py", line 55, in <module> _guard_py_ver() ^^^^^^^^^^^^^^^ File "setup.py", line 52, in _guard_py_ver raise RuntimeError(msg.format(cur_py, min_py, max_py)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Cannot install on Python version 3.11.0; only versions >=3.7,<3.11 are supported. For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/02940143-python-llvmlite/ For all our attempts to build python-llvmlite with Python 3.11, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/python-llvmlite/ 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.11: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/ Let us know here if you have any questions. Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11. 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.
Currently, loosening the version guard (as we did for Python 3.10) is enough to get a build on Python 3.11 with passing tests (https://src.fedoraproject.org/rpms/python-llvmlite/pull-request/1, https://copr.fedorainfracloud.org/coprs/g/python/python3.11/build/2950605/).
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
FEDORA-2022-ea83cb045e has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ea83cb045e
FEDORA-2022-ea83cb045e has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.