Fedora Account System
Red Hat Associate
Red Hat Customer
python-jsonschema fails to build with Python 3.15.0b2. [SKIPPED] pprint dict format changed in 3.15, see test_uses_pprint_py315 jsonschema.tests.test_exceptions.TestErrorInitReprStr.test_uses_pprint =============================================================================== [FAIL] Traceback (most recent call last): File "/usr/lib64/python3.15/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib64/python3.15/unittest/case.py", line 691, in run self._callTestMethod(testMethod) File "/usr/lib64/python3.15/unittest/case.py", line 637, in _callTestMethod result = method() File "/builddir/build/BUILD/python-jsonschema-4.26.0-build/BUILDROOT/usr/lib/python3.15/site-packages/jsonschema/tests/test_exceptions.py", line 664, in test_uses_pprint_py315 self.assertShows( File "/builddir/build/BUILD/python-jsonschema-4.26.0-build/BUILDROOT/usr/lib/python3.15/site-packages/jsonschema/tests/test_exceptions.py", line 530, in assertShows self.assertEqual(rest, expected) File "/usr/lib64/python3.15/unittest/case.py", line 949, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.15/unittest/case.py", line 1315, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.15/unittest/case.py", line 772, in fail raise self.failureException(msg) builtins.AssertionError: "\nFa[40 chars] {0: 0,\n 1: 1,\n 2: 2,\n 3: 3,[464 chars] 24]" != "\nFa[40 chars] {\n 0: 0,\n 1: 1,\n 2[627 chars] ]" Diff is 1890 characters long. Set self.maxDiff to None to see it. jsonschema.tests.test_exceptions.TestErrorInitReprStr.test_uses_pprint_py315 ------------------------------------------------------------------------------ https://docs.python.org/3.15/whatsnew/3.15.html For our attempts to build python-jsonschema with Python 3.15, see: https://koji.fedoraproject.org/koji/search?terms=python-jsonschema&type=package&match=exact 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.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-97873a97c6 - extra space in git commit failed to close this.