Bug 2251790 - python-heapdict fails to build with Python 3.13 (and Python 3.12, Python 3.11 soon): AttributeError: module 'test.support' has no attribute 'run_unittest'
Summary: python-heapdict fails to build with Python 3.13 (and Python 3.12, Python 3.11...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-heapdict
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2023-11-27 15:40 UTC by Karolina Surma
Modified: 2024-04-08 08:16 UTC (History)
4 users (show)

Fixed In Version: python-heapdict-1.0.1-18.fc41
Clone Of:
Environment:
Last Closed: 2024-04-08 08:16:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-11-27 15:40:14 UTC
python-heapdict fails to build with Python 3.13.0a2 (but will stop with Python 3.12 and Python 3.11 soon too).

Function test.support.test_unittest() has been removed: https://github.com/python/cpython/commit/fc9a5ef1a8894b2c61dbc762be6a8bf90906b621 

+ /usr/bin/python3 test_heap.py
Traceback (most recent call last):
  File "/builddir/build/BUILD/HeapDict-1.0.1/test_heap.py", line 121, in <module>
    test_main(verbose=True)
  File "/builddir/build/BUILD/HeapDict-1.0.1/test_heap.py", line 107, in test_main
    test_support.run_unittest(*test_classes)
    ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'test.support' has no attribute 'run_unittest'

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

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

Comment 1 Aoife Moloney 2024-02-15 23:05:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.


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