Bug 2296102 - python-starlette: FTBFS in Fedora Rawhide with Python 3.13.0b3
Summary: python-starlette: FTBFS in Fedora Rawhide with Python 3.13.0b3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-starlette
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-07-06 14:42 UTC by Ben Beasley
Modified: 2024-07-23 14:51 UTC (History)
3 users (show)

Fixed In Version: python-starlette-0.37.2-8.fc41
Clone Of:
Environment:
Last Closed: 2024-07-23 14:51:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github encode starlette issues 2638 0 None open Python 3.13.0b3: AttributeError: 'functools.partial' object has no attribute '__name__' 2024-07-06 14:43:13 UTC

Description Ben Beasley 2024-07-06 14:42:39 UTC
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

Comment 1 Ben Beasley 2024-07-06 14:43:32 UTC
This appears to be a regression from 3.13.0b2 to 3.13.0b3.

Comment 2 Fedora Update System 2024-07-23 14:46:16 UTC
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

Comment 3 Fedora Update System 2024-07-23 14:51:30 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.