Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917901 - dev-python/flask-gravatar-0.5.0-r1: arm64 keywordreq
Summary: dev-python/flask-gravatar-0.5.0-r1: arm64 keywordreq
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks:
 
Reported: 2023-11-23 16:11 UTC by Michał Górny
Modified: 2023-11-30 14:22 UTC (History)
3 users (show)

See Also:
Package list:
=dev-python/flask-gravatar-0.5.0-r2 ~arm64
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-23 16:11:47 UTC
Please keyword
Comment 1 matoro archtester 2023-11-30 01:02:27 UTC
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)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-30 05:37:33 UTC
The package doesn't seem well-maintained, and apparently it can be replaced by a one-liner.
Comment 3 Larry the Git Cow gentoo-dev 2023-11-30 05:48:24 UTC
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(-)
Comment 4 NATTkA bot gentoo-dev 2023-11-30 05:52:17 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2023-11-30 11:36:18 UTC
All sanity-check issues have been resolved
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-30 14:22:44 UTC
arm64 done

all arches done