Please keyword
ImportError while importing test module '/var/tmp/portage/dev-python/flask-gravatar-0.5.0-r1/work/Flask-Gravatar-0.5.0/tests/test_core.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path importlib.import_module(module_name) /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) <frozen importlib._bootstrap>:1204: in _gcd_import ??? <frozen importlib._bootstrap>:1176: in _find_and_load ??? <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) test_core.py:17: in <module> from flask_gravatar import Gravatar ../../Flask-Gravatar-0.5.0-python3_11/install/usr/lib/python3.11/site-packages/flask_gravatar/__init__.py:21: in <module> from flask import _request_ctx_stack, current_app, has_request_context, request E ImportError: cannot import name '_request_ctx_stack' from 'flask' (/usr/lib/python3.11/site-packages/flask/__init__.py)
The package doesn't seem well-maintained, and apparently it can be replaced by a one-liner.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ecc055d762fc165f7472f79a6c5796bea47cce commit 33ecc055d762fc165f7472f79a6c5796bea47cce Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-11-30 05:37:48 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-11-30 05:48:19 +0000 dev-python/flask-gravatar: Require <dev-python/flask-3 Bug: https://bugs.gentoo.org/917901 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../{flask-gravatar-0.5.0-r1.ebuild => flask-gravatar-0.5.0-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Unable to check for sanity: > no match for package: =dev-python/flask-gravatar-0.5.0-r1
All sanity-check issues have been resolved
arm64 done all arches done