python-glanceclient fails to build with Python 3.15.0a8. There are two test failures with the same traceback/root issue: glanceclient.tests.unit.v2.test_images.TestController.test_data_with_bad_hash_algo_and_fallback ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.15/hashlib.py", line 180, in __hash_new return _hashlib.new(name, *args, **kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ _hashlib.UnsupportedDigestmodError: [digital envelope routines] unsupported hash algorithm not_an_algo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/python-glanceclient-4.11.0-build/python_glanceclient-4.11.0/glanceclient/tests/unit/v2/test_images.py", line 1248, in test_data_with_bad_hash_algo_and_fallback body = self.controller.data('badalgo-db27-11e1-a1eb-080027cbe205', allow_md5_fallback=True) File "/builddir/build/BUILD/python-glanceclient-4.11.0-build/python_glanceclient-4.11.0/glanceclient/tests/unit/v2/base.py", line 95, in data body = self.controller.data(*args, **kwargs) File "/builddir/build/BUILD/python-glanceclient-4.11.0-build/python_glanceclient-4.11.0/glanceclient/common/utils.py", line 652, in inner return RequestIdProxy(wrapped(*args, **kwargs)) ~~~~~~~^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-glanceclient-4.11.0-build/python_glanceclient-4.11.0/glanceclient/v2/images.py", line 265, in data hasher = hashlib.new(str(meta_hash_algo)) File "/usr/lib64/python3.15/hashlib.py", line 186, in __hash_new return __get_builtin_constructor(name)(*args, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/usr/lib64/python3.15/hashlib.py", line 129, in __get_builtin_constructor raise ValueError(f'unsupported hash algorithm {name}') ValueError: unsupported hash algorithm not_an_algo 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/10344933-python-glanceclient/ For all our attempts to build python-glanceclient with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-glanceclient/ 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.
https://src.fedoraproject.org/rpms/python-glanceclient/pull-request/8
FEDORA-2026-4614f31320 (python-glanceclient-4.11.0-2.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-4614f31320
FEDORA-2026-4614f31320 (python-glanceclient-4.11.0-2.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report.