Bug 2259552
Summary: | python-domdf-python-tools fails to build with Python 3.13: AssertionError (mismatch in indentation) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | python-domdf-python-tools | Assignee: | Maxwell G <maxwell> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 41 | CC: | code, ksurma, maxwell, mhroncok, python-packagers-sig |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-domdf-python-tools-3.9.0-1.fc42 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-10-25 07:04:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2253991 | ||
Bug Blocks: | 2260875, 2244836 |
Description
Karolina Surma
2024-01-22 10:26:25 UTC
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 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 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. |