python-flask fails to build with Python 3.13.0a6. =================================== FAILURES =================================== _______________________________ test_no_escaping _______________________________ app = <Flask 'flask_test'>, client = <FlaskClient <Flask 'flask_test'>> def test_no_escaping(app, client): text = "<p>Hello World!" @app.route("/") def index(): return flask.render_template( "non_escaping_template.txt", text=text, html=Markup(text) ) lines = client.get("/").data.splitlines() > assert lines == [ b"<p>Hello World!", b"<p>Hello World!", b"<p>Hello World!", b"<p>Hello World!", b"<p>Hello World!", b"<p>Hello World!", b"<p>Hello World!", b"<p>Hello World!", ] E AssertionError: assert [b'<p>Hello W... World!', ...] == [b'<p>Hello W... World!', ...] E At index 6 diff: b'<p>Hello World!' != b'<p>Hello World!' E Use -v to get more diff tests/test_templating.py:101: AssertionError =========================== short test summary info ============================ FAILED tests/test_templating.py::test_no_escaping - AssertionError: assert [b... =================== 1 failed, 481 passed, 2 skipped in 1.43s =================== 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/07302868-python-flask/ For all our attempts to build python-flask with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-flask/ 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.
It seems the flask builds are passing just fine with python 3.13 as per: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-flask/ It probably got resolved by a newer 3.13 snapshot and/or update of some library required for flask tests. Closing, feel free to reopen if the issue occurs again.