Bug 2275060 - python-frozenlist fails to build with Python 3.13: AssertionError: assert False + where False = hasattr(<class 'frozenlist._frozenlist.FrozenList'>, '__static_attributes__')
Summary: python-frozenlist fails to build with Python 3.13: AssertionError: assert Fal...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-frozenlist
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-04-15 07:30 UTC by Karolina Surma
Modified: 2024-04-15 07:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-04-15 07:30:09 UTC
python-frozenlist fails to build with Python 3.13.0a6.

=================================== FAILURES ===================================
__________________________ TestFrozenList.test_iface ___________________________

self = <test_frozenlist.TestFrozenList object at 0x7f6291a679d0>

    def test_iface(self) -> None:
        for name in set(dir(MutableSequence)) - self.SKIP_METHODS:
            if name.startswith("_") and not name.endswith("_"):
                continue
>           assert hasattr(self.FrozenList, name)
E           AssertionError: assert False
E            +  where False = hasattr(<class 'frozenlist._frozenlist.FrozenList'>, '__static_attributes__')
E            +    where <class 'frozenlist._frozenlist.FrozenList'> = <test_frozenlist.TestFrozenList object at 0x7f6291a679d0>.FrozenList

name       = '__static_attributes__'
self       = <test_frozenlist.TestFrozenList object at 0x7f6291a679d0>

tests/test_frozenlist.py:23: AssertionError
============================= slowest 10 durations =============================

(10 durations < 0.005s hidden.  Use -vv to show these durations.)
=========================== short test summary info ============================
FAILED tests/test_frozenlist.py::TestFrozenList::test_iface - AssertionError:...
========================= 1 failed, 87 passed in 0.12s =========================

https://docs.python.org/3.13/whatsnew/3.13.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07302875-python-frozenlist/

For all our attempts to build python-frozenlist with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-frozenlist/

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.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
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.


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