Description of problem: Package python-starlette fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 0.37.2-6.fc41 Steps to Reproduce: koji build --scratch f41 python-starlette-0.37.2-6.fc41.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/python-starlette ==================================================================================================== ERRORS ==================================================================================================== ____________________________________________________________________________________ ERROR collecting tests/test_routing.py ____________________________________________________________________________________ tests/test_routing.py:135: in <module> Route("/", endpoint=functools.partial(partial_endpoint, "foo")), starlette/routing.py:227: in __init__ self.name = get_name(endpoint) if name is None else name starlette/routing.py:103: in get_name return endpoint.__name__ E AttributeError: 'functools.partial' object has no attribute '__name__'. Did you mean: '__ne__'? !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! =============================================================================================== 1 error in 0.64s =============================================================================================== https://github.com/encode/starlette/issues/2638 Reproducible: Always
This appears to be a regression from 3.13.0b2 to 3.13.0b3.
FEDORA-2024-dcb5d15c84 (python-starlette-0.37.2-8.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-dcb5d15c84
FEDORA-2024-dcb5d15c84 (python-starlette-0.37.2-8.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.