Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916605 - [guru] dev-python/PyQt5-stubs-5.15.2.0 fails tests: ImportError: cannot import name QtWidgets from PyQt5 __init__.py)
Summary: [guru] dev-python/PyQt5-stubs-5.15.2.0 fails tests: ImportError: cannot impor...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Roman
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-11-01 06:33 UTC by Agostino Sarubbo
Modified: 2023-11-21 15:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,81.49 KB, text/plain)
2023-11-01 06:33 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-11-01 06:33:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/PyQt5-stubs-5.15.2.0 fails tests.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-11-01 06:33:17 UTC
Created attachment 873803 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-11-01 06:33:17 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E   ImportError: cannot import name 'QtWidgets' from 'PyQt5' (/usr/lib/python3.11/site-packages/PyQt5/__init__.py)
FAILED tests/test_stubs.py::test_files[qmessagebox.py] - ImportError: cannot ...
FAILED tests/test_stubs.py::test_files[qobject.py] - ImportError: cannot impo...
Comment 3 Larry the Git Cow gentoo-dev 2023-11-21 15:05:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fc8bc62abfb1fba145673509b2a76e5af6e64d5c

commit fc8bc62abfb1fba145673509b2a76e5af6e64d5c
Author:     David Roman <davidroman96@gmail.com>
AuthorDate: 2023-11-21 12:01:47 +0000
Commit:     David Roman <davidroman96@gmail.com>
CommitDate: 2023-11-21 12:01:47 +0000

    dev-python/PyQt5-stubs: fix tests
    
    Closes: https://bugs.gentoo.org/916605
    Signed-off-by: David Roman <davidroman96@gmail.com>

 dev-python/PyQt5-stubs/PyQt5-stubs-5.15.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)