Bug 2479759 - python-robotframework fails to build with Python 3.15: test failures related to changes in pprint output
Summary: python-robotframework fails to build with Python 3.15: test failures related ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-robotframework
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fedepell
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.15
TreeView+ depends on / blocked
 
Reported: 2026-05-19 08:57 UTC by Karolina Surma
Modified: 2026-05-25 12:25 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-05-25 12:25:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2026-05-19 08:57:23 UTC
python-robotframework fails to build with Python 3.15.0b1.

test_dont_split_long_strings and test_split_big_collections fail because of the recent changes in the pprint output.

https://docs.python.org/3.15/whatsnew/3.15.html:
pprint now uses modern defaults: indent=4, width=88, and the default compact=False output is now formatted similar to pretty-printed json.dumps(). (Contributed by Stefan Todoran, Semyon Moroz and Hugo van Kemenade in gh-112632 and gh-149189.)

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.15-b1/fedora-rawhide-x86_64/10477963-python-robotframework/

For all our attempts to build python-robotframework with Python 3.15, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15-b1/package/python-robotframework/

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

Let us know here if you have any questions.

Python 3.15 is planned to be included in Fedora 45.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15.
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 fedepell 2026-05-19 15:16:16 UTC
Reported upstream with a proposed solution: https://github.com/robotframework/robotframework/issues/5679

Comment 2 fedepell 2026-05-22 13:14:52 UTC
Would seem upstream will revert the changes:

>      Yep, we're reverting this change (python/cpython#150249) so should be back to the old defaults in 3.15.0b2 on 2026-06-02.

So probably we just wait and check next beta and see what happens to the tests.

Comment 3 fedepell 2026-05-22 13:16:51 UTC
https://github.com/python/cpython/pull/150249

Comment 4 Karolina Surma 2026-05-25 08:14:53 UTC
Thank you for sharing, there's more hit by this change, good to know.


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