Bug 2280965
Summary: | python-devtools fails to build with Python 3.13: INTERNALERROR> ValueError when running test suite | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | python-devtools | Assignee: | Orphan Owner <extras-orphan> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | code, fti-bugs, jonathan, ksurma, mhroncok |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-08-23 13:02:51 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: | |||
Bug Blocks: | 2260875, 2260877, 2300529, 2244836 |
Description
Karolina Surma
2024-05-17 11:47:06 UTC
*** Bug 2291670 has been marked as a duplicate of this bug. *** Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 4+ weeks. This is the second reminder (step 4) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. Now I see just one failing test:
=================================== FAILURES ===================================
________________________________ test_ast_expr _________________________________
@pytest.mark.skipif(sys.version_info < (3, 9), reason='no indent on older versions')
def test_ast_expr():
> assert pformat(ast.parse('print(1, 2, round(3))', mode='eval')) == (
"Expression("
"\n body=Call("
"\n func=Name(id='print', ctx=Load()),"
"\n args=["
"\n Constant(value=1),"
"\n Constant(value=2),"
"\n Call("
"\n func=Name(id='round', ctx=Load()),"
"\n args=["
"\n Constant(value=3)],"
"\n keywords=[])],"
"\n keywords=[]))"
)
E AssertionError: assert 'Expression(\...value=3)])]))' == 'Expression(\...keywords=[]))'
E
E Skipping 267 identical leading characters in diff, use -v to show
E - (value=3)],
E ? ^^
E + (value=3)])]))
E ? ^^^^
E - keywords=[])],
E - keywords=[]))
tests/test_prettier.py:490: AssertionError
=========================== short test summary info ============================
FAILED tests/test_prettier.py::test_ast_expr - AssertionError: assert 'Expres...
============ 1 failed, 94 passed, 8 skipped, 7 deselected in 0.51s =============
Passing -vv to pytest:
=================================== FAILURES ===================================
________________________________ test_ast_expr _________________________________
@pytest.mark.skipif(sys.version_info < (3, 9), reason='no indent on older versions')
def test_ast_expr():
> assert pformat(ast.parse('print(1, 2, round(3))', mode='eval')) == (
"Expression("
"\n body=Call("
"\n func=Name(id='print', ctx=Load()),"
"\n args=["
"\n Constant(value=1),"
"\n Constant(value=2),"
"\n Call("
"\n func=Name(id='round', ctx=Load()),"
"\n args=["
"\n Constant(value=3)],"
"\n keywords=[])],"
"\n keywords=[]))"
)
E assert "Expression(\n body=Call(\n func=Name(id='print', ctx=Load()),\n args=[\n Constant(value=1),\n Constant(value=2),\n Call(\n func=Name(id='round', ctx=Load()),\n args=[\n Constant(value=3)])]))" == "Expression(\n body=Call(\n func=Name(id='print', ctx=Load()),\n args=[\n Constant(value=1),\n Constant(value=2),\n Call(\n func=Name(id='round', ctx=Load()),\n args=[\n Constant(value=3)],\n keywords=[])],\n keywords=[]))"
E
E Expression(
E body=Call(
E func=Name(id='print', ctx=Load()),
E args=[
E Constant(value=1),
E Constant(value=2),
E Call(
E func=Name(id='round', ctx=Load()),
E args=[
E - Constant(value=3)],
E ? ^^
E + Constant(value=3)])]))
E ? ^^^^
E - keywords=[])],
E - keywords=[]))
tests/test_prettier.py:490: AssertionError
This package has been orphaned. You can pick it up at https://src.fedoraproject.org/rpms/python-devtools by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. Automation has figured out the package is retired in rawhide. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |