Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 819564 - dev-python/cssutils-2.3.0 fails tests
Summary: dev-python/cssutils-2.3.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-23 07:43 UTC by Agostino Sarubbo
Modified: 2021-10-23 08:53 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,252.71 KB, text/plain)
2021-10-23 07:43 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 2021-10-23 07:43:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/cssutils-2.3.0 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-10-23 07:43:57 UTC
Created attachment 746229 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-23 07:43:58 UTC
Possible context of error(s):

E   ModuleNotFoundError: No module named 'importlib_resources'
ERROR cssutils/tests/basetest.py - ModuleNotFoundError: No module named 'impo...
ERROR cssutils/tests/test_cssrule.py - ModuleNotFoundError: No module named '...
ERROR cssutils/tests/test_cssutils.py - ModuleNotFoundError: No module named ...
ERROR cssutils/tests/test_helper.py - ModuleNotFoundError: No module named 'i...
ERROR cssutils/tests/test_parse.py - ModuleNotFoundError: No module named 'im...
ERROR cssutils/tests/test_profiles.py - ModuleNotFoundError: No module named ...
ERROR cssutils/tests/test_property.py - ModuleNotFoundError: No module named ...
ERROR cssutils/tests/test_selector.py - ModuleNotFoundError: No module named ...
ERROR cssutils/tests/test_settings.py - ModuleNotFoundError: No module named ...
ERROR cssutils/tests/test_util.py - ModuleNotFoundError: No module named 'imp...
ERROR cssutils/tests/test_value.py - ModuleNotFoundError: No module named 'im...
ERROR cssutils/tests/test_x.py - ModuleNotFoundError: No module named 'import...
Comment 3 Larry the Git Cow gentoo-dev 2021-10-23 08:53:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e09418adad401dd4ee3f8c81ef8fb2a2f3da5132

commit e09418adad401dd4ee3f8c81ef8fb2a2f3da5132
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-10-23 08:51:51 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-10-23 08:52:00 +0000

    dev-python/cssutils: Add missing test-dep on importlib_resources
    
    The package needs features from Python 3.9's importlib.resources.
    Apparently importlib_resources monkey-patches them back in.
    
    Closes: https://bugs.gentoo.org/819564
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/cssutils/cssutils-2.3.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)