Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884679 - [guru] dev-python/pytest-isort-1.3.0-r1 fails tests (CLANG-STRICTER-SYSTEM)
Summary: [guru] dev-python/pytest-isort-1.3.0-r1 fails tests (CLANG-STRICTER-SYSTEM)
Status: RESOLVED OBSOLETE
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-07 12:24 UTC by Agostino Sarubbo
Modified: 2023-02-03 04:24 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,78.54 KB, text/plain)
2022-12-07 12:24 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 2022-12-07 12:24:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pytest-isort-1.3.0-r1 fails tests (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: guru_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-07 12:24:35 UTC
Created attachment 840619 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-07 12:24:36 UTC
Error(s) that match a know pattern:


E           and: "E   AttributeError: module 'py' has no attribute 'io'"
E           and: "FAILED file1.py::ISORT - AttributeError: module 'py' has no attribute 'io'"
E           and: "FAILED file2.py::ISORT - AttributeError: module 'py' has no attribute 'io'"
E           and: "FAILED test_correctly_sorted.py::ISORT - AttributeError: module 'py' has no a..."
E   AttributeError: module 'py' has no attribute 'io'
FAILED file1.py::ISORT - AttributeError: module 'py' has no attribute 'io'
FAILED file2.py::ISORT - AttributeError: module 'py' has no attribute 'io'
FAILED test_correctly_sorted.py::ISORT - AttributeError: module 'py' has no a...
FAILED test_isort.py::test_correctly_sorted - Failed: nomatch: '*test_correct...
FAILED test_isort.py::test_file_ignored - Failed: nomatch: 'file1.py*'
FAILED test_isort.py::test_file_no_ignored - Failed: nomatch: 'file1.py*'
test_isort.py::TestIsortError::test_no_diff PASSED                        [4/9]
test_isort.py::TestIsortError::test_no_output PASSED                      [3/9]
test_isort.py::TestIsortError::test_with_diff PASSED                      [5/9]
Comment 3 Yuan Liao (Leo3418) 2023-02-03 04:24:40 UTC
The affected ebuild has been removed:

https://gitweb.gentoo.org/repo/proj/guru.git/commit/dev-python/pytest-isort?id=e4f7d6139dab9b7bfbd88930e0543c0bdf9803f5

commit e4f7d6139dab9b7bfbd88930e0543c0bdf9803f5
Author: Julien Roy <julien@jroy.ca>
Date:   Sat Jan 28 20:01:21 2023 -0500

    dev-python/pytest-isort: drop 1.3.0-r1
    
    Signed-off-by: Julien Roy <julien@jroy.ca>

 dev-python/pytest-isort/Manifest                   |  1 -
 .../pytest-isort/pytest-isort-1.3.0-r1.ebuild      | 25 ----------------------
 2 files changed, 26 deletions(-)


Closing as per MrRoy's request on #gentoo-guru:

> 2023-02-03 04:15:58 MrRoy   could someone close bug 884679 ? 1.3.0-r1 is no longer in ::guru and on the newer version, the tests pass
> 2023-02-03 04:15:59 willikins   MrRoy: https://bugs.gentoo.org/884679 "[guru] dev-python/pytest-isort-1.3.0-r1 fails tests (CLANG-STRICTER-SYSTEM)"; GURU, Package issues; CONF; ago:guru-bugs