Bug 2271387 - python-tblib fails to build with Python 3.13: traceback pointing characters changed
Summary: python-tblib fails to build with Python 3.13: traceback pointing characters c...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: python-tblib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2291941 (view as bug list)
Depends On:
Blocks: F41FTBFS F41FailsToInstall PYTHON3.13 2291678 2291870
TreeView+ depends on / blocked
 
Reported: 2024-03-25 11:59 UTC by Karolina Surma
Modified: 2024-06-18 21:24 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-06-18 21:24:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-03-25 11:59:33 UTC
python-tblib fails to build with Python 3.13.0a5.

____________________________ test_install[class-5] _____________________________
tests/test_pickle_exception.py:95: in test_install
    assert expected_format_exception == strip_locations(''.join(format_exception(type(exc), exc, exc.__traceback__)))
E   assert 'Traceback (most recent call last):\n  File "/builddir/build/BUILD/tblib-3.0.0/tests/test_pickle_exception.py", line 47, in test_install\n    1 / 0  # noqa: B018\nZeroDivisionError: division by zero\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/builddir/build/BUILD/tblib-3.0.0/tests/test_pickle_exception.py", line 50, in test_install\n    raise ValueError(\'blah\')\nValueError: blah\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File "/builddir/build/BUILD/tblib-3.0.0/tests/test_pickle_exception.py", line 59, in test_install\n    raise new_e from e\ntest_pickle_exception.CustomError: foo\nnote 1\nnote 2\n' == 'Traceback (most recent call last):\n  File "/builddir/build/BUILD/tblib-3.0.0/tests/test_pickle_exception.py", line 47, in test_install\n    1 / 0  # noqa: B018\n    ~~^~~~~\nZeroDivisionError: division by zero\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/builddir/build/BUILD/tblib-3.0.0/tests/test_pickle_exception.py", line 50, in test_install\n    raise ValueError(\'blah\')\n    ^^^^^^^\nValueError: blah\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File "/builddir/build/BUILD/tblib-3.0.0/tests/test_pickle_exception.py", line 59, in test_install\n    raise new_e from e\n    ^^^^^^^^^^^\ntest_pickle_exception.CustomError: foo\nnote 1\nnote 2\n'
E       Traceback (most recent call last):
E         File "/builddir/build/BUILD/tblib-3.0.0/tests/test_pickle_exception.py", line 47, in test_install
E           1 / 0  # noqa: B018
E     -     ~~^~~~~
E       ZeroDivisionError: division by zero
E       
E       During handling of the above exception, another exception occurred:
E       
E       Traceback (most recent call last):
E         File "/builddir/build/BUILD/tblib-3.0.0/tests/test_pickle_exception.py", line 50, in test_install
E           raise ValueError('blah')
E     -     ^^^^^^^
E       ValueError: blah
E       
E       The above exception was the direct cause of the following exception:
E       
E       Traceback (most recent call last):
E         File "/builddir/build/BUILD/tblib-3.0.0/tests/test_pickle_exception.py", line 59, in test_install
E           raise new_e from e
E     -     ^^^^^^^^^^^
E       test_pickle_exception.CustomError: foo
E       note 1
E       note 2
=========================== short test summary info ============================
FAILED tests/test_pickle_exception.py::test_install[global-1] - assert 'Trace...
FAILED tests/test_pickle_exception.py::test_install[global-2] - assert 'Trace...
FAILED tests/test_pickle_exception.py::test_install[global-3] - assert 'Trace...
FAILED tests/test_pickle_exception.py::test_install[global-4] - assert 'Trace...
FAILED tests/test_pickle_exception.py::test_install[global-5] - assert 'Trace...
FAILED tests/test_pickle_exception.py::test_install[instance-1] - assert 'Tra...
FAILED tests/test_pickle_exception.py::test_install[instance-2] - assert 'Tra...
FAILED tests/test_pickle_exception.py::test_install[instance-3] - assert 'Tra...
FAILED tests/test_pickle_exception.py::test_install[instance-4] - assert 'Tra...
FAILED tests/test_pickle_exception.py::test_install[instance-5] - assert 'Tra...
FAILED tests/test_pickle_exception.py::test_install[class-1] - assert 'Traceb...
FAILED tests/test_pickle_exception.py::test_install[class-2] - assert 'Traceb...
FAILED tests/test_pickle_exception.py::test_install[class-3] - assert 'Traceb...
FAILED tests/test_pickle_exception.py::test_install[class-4] - assert 'Traceb...
FAILED tests/test_pickle_exception.py::test_install[class-5] - assert 'Traceb...
======================== 15 failed, 28 passed in 0.92s =========================

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/07211444-python-tblib/

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

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 Karolina Surma 2024-06-12 15:08:20 UTC
*** Bug 2291941 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Fails To Install 2024-06-18 21:24:19 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 41.

Thanks for taking care of it!


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