Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911696 - dev-python/autopep8-2.0.2 fails tests (PYTHON-3.12-SYSTEM): AttributeError: module pycodestyle has no attribute missing_whitespace_around_operator
Summary: dev-python/autopep8-2.0.2 fails tests (PYTHON-3.12-SYSTEM): AttributeError: m...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2023-08-04 07:15 UTC by Agostino Sarubbo
Modified: 2024-03-24 02:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,338.06 KB, text/plain)
2023-08-04 07:15 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-08-04 07:15:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/autopep8-2.0.2 fails tests (PYTHON-3.12-SYSTEM).
Discovered on: amd64 (internal ref: python-3.12_tinderbox)

NOTE:
(PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-04 07:15:07 UTC
Created attachment 866997 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-04 07:15:08 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E           AttributeError: module 'pycodestyle' has no attribute 'missing_whitespace_around_operator'
FAILED test/test_autopep8.py::SystemTests::test_autopep8_disable_multi - Attr...
FAILED test/test_autopep8.py::SystemTests::test_e223_with_tab_indentation - A...
FAILED test/test_autopep8.py::SystemTests::test_e224_with_tab_indentation - A...
FAILED test/test_autopep8.py::SystemTests::test_e225 - AttributeError: module...
FAILED test/test_autopep8.py::SystemTests::test_e226 - AttributeError: module...
FAILED test/test_autopep8.py::SystemTests::test_e227 - AttributeError: module...
FAILED test/test_autopep8.py::SystemTests::test_e228 - AttributeError: module...
FAILED test/test_autopep8.py::SystemTests::test_e501_avoid_breaking_at_multi_level_slice
FAILED test/test_autopep8.py::SystemTests::test_e501_avoid_breaking_at_opening_slice
FAILED test/test_autopep8.py::SystemTests::test_e702_more_complicated - Attri...
FAILED test/test_autopep8.py::SystemTests::test_fmt_multi_disable_and_reenable
FAILED test/test_autopep8.py::SystemTests::test_fmt_multi_disable_complex - A...
FAILED test/test_autopep8.py::SystemTests::test_fmt_multi_disable_complex_multi
FAILED test/test_autopep8.py::SystemTests::test_general_disable - AttributeEr...
FAILED test/test_autopep8.py::SystemTests::test_range_line_number_changes_from_one_line
FAILED test/test_autopep8.py::UnitTests::test_fix_code_with_multiple_lines - ...
FAILED test/test_autopep8.py::UnitTests::test_fix_file - AttributeError: modu...
FAILED test/test_autopep8.py::UnitTests::test_fix_file_with_diff - AttributeE...
Comment 3 NHO 2024-03-23 20:28:20 UTC
This issue is obsolete, autopep8-2.0.2 is off the three, autopep8-2.0.4_p20231027 and autopep8-2.1.0 support Python 3.12