Bug 2281671 - python-stack-data fails to build with Python 3.13: multiple AssertionErrors in the test suite
Summary: python-stack-data fails to build with Python 3.13: multiple AssertionErrors i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-stack-data
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-05-20 11:26 UTC by Karolina Surma
Modified: 2024-09-03 18:44 UTC (History)
6 users (show)

Fixed In Version: python-stack-data-0.6.3-11.fc42
Clone Of:
Environment:
Last Closed: 2024-09-03 17:16:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-stack-data pull-request 14 0 None None None 2024-06-02 22:24:02 UTC
Github alexmojaki stack_data issues 56 0 None open Test failures with Python 3.13.0b1 2024-06-02 22:24:02 UTC

Description Karolina Surma 2024-05-20 11:26:28 UTC
python-stack-data fails to build with Python 3.13.0b1.

=========================== short test summary info ============================
FAILED tests/test_core.py::test_variables - AssertionError: assert None == <a...
FAILED tests/test_core.py::test_skipping_frames - AssertionError
FAILED tests/test_core.py::test_example - AssertionError
FAILED tests/test_core.py::test_pygments_example - AssertionError
FAILED tests/test_formatter.py::test_example - AssertionError
FAILED tests/test_serializer.py::test_example - AssertionError
========================= 6 failed, 15 passed in 0.94s =========================

Reported upstream: https://github.com/alexmojaki/stack_data/issues/56

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

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

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.

Comment 1 Miro Hrončok 2024-06-02 22:24:03 UTC
Fedora PR to deselect the failing tests in order to unlock the rebuild: https://src.fedoraproject.org/rpms/python-stack-data/pull-request/14

Comment 2 Michel Lind 2024-07-01 20:29:16 UTC
This has succeeded since Miro's PR is merged and built, I guess we can close this?

https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-stack-data/

Comment 3 Miro Hrončok 2024-07-01 22:28:22 UTC
I intentionally left this open to track the ugly workaround removal.

Comment 4 Fedora Update System 2024-09-03 17:13:06 UTC
FEDORA-2024-acaa746064 (python-stack-data-0.6.3-11.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-acaa746064

Comment 5 Fedora Update System 2024-09-03 17:16:29 UTC
FEDORA-2024-acaa746064 (python-stack-data-0.6.3-11.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Lumír Balhar 2024-09-03 18:44:08 UTC
No more workarounds present in the package.


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