python-domdf-python-tools fails to build with Python 3.13.03. =================================== FAILURES =================================== ___________________________ test_sphinxify_docstring ___________________________ def test_sphinxify_docstring(): @doctools.sphinxify_docstring() def demo_function(): """ This is a docstring that contains references to ``str``, ``int``, and ``float`` but lacks proper references to them when rendered in Sphinx. :return: pi :rtype: float """ # noqa: SXL001 return math.pi > assert demo_function.__doc__ == """ This is a docstring that contains references to :class:`str`, :class:`int`, and :class:`float` but lacks proper references to them when rendered in Sphinx. :return: pi :rtype: float """ E AssertionError: assert '\nThis is a ...type: float\n' == '\n\t\tThis i...: float\n\t\t' E E - This is a docstring that contains references to :class:`str`, :class:`int`, and :class:`float` E ? -- E + This is a docstring that contains references to :class:`str`, :class:`int`, and :class:`float` E - but lacks proper references to them when rendered in Sphinx. E ? -- E + but lacks proper references to them when rendered in Sphinx.... E E ...Full output truncated (8 lines hidden), use '-vv' to show tests/test_doctools.py:356: AssertionError 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/06931875-python-domdf-python-tools/ For all our attempts to build python-domdf-python-tools with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-domdf-python-tools/ 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.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.
There's one more test failing with Python 3.13.0b2: ______________ test_printt[obj1-<class 'pathlib.PurePosixPath'>] _______________ obj = PurePosixPath('foo.txt'), expects = "<class 'pathlib.PurePosixPath'>" capsys = <_pytest.capture.CaptureFixture object at 0x7f6cef7ebe10> @pytest.mark.parametrize( "obj, expects", [ ("This is a test", "<class 'str'>"), (pathlib.PurePosixPath("foo.txt"), "<class 'pathlib.PurePosixPath'>"), (1234, "<class 'int'>"), (12.34, "<class 'float'>"), (CustomRepr(), "<class 'tests.test_utils.CustomRepr'>"), (no_repr_instance, "<class 'tests.test_utils.NoRepr'>"), ], ) def test_printt(obj, expects, capsys): printt(obj) captured = capsys.readouterr() stdout = captured.out.split('\n') > assert stdout[0] == expects E assert "<class 'path...rePosixPath'>" == "<class 'path...rePosixPath'>" E - <class 'pathlib.PurePosixPath'> E + <class 'pathlib._local.PurePosixPath'> E ? +++++++ tests/test_utils.py:143: AssertionError
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 41. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (not sooner than 2024-03-18). A week before the mass branching of Fedora 42 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 40 will be retired regardless of the status of this bug. [1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-42/f-42-key-tasks.html
https://src.fedoraproject.org/rpms/python-domdf-python-tools/pull-request/1
FEDORA-2024-12a4f165af (python-domdf-python-tools-3.9.0-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-12a4f165af
FEDORA-2024-12a4f165af (python-domdf-python-tools-3.9.0-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.