Fedora Account System
Red Hat Associate
Red Hat Customer
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.
Reported upstream with a proposed solution: https://github.com/robotframework/robotframework/issues/5679
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.
https://github.com/python/cpython/pull/150249
Thank you for sharing, there's more hit by this change, good to know.