Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917890 - dev-python/flask-api-3.1: arm64 keywordreq
Summary: dev-python/flask-api-3.1: arm64 keywordreq
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: David Roman
URL:
Whiteboard:
Keywords: CC-ARCHES, PullRequest
Depends on:
Blocks:
 
Reported: 2023-11-23 16:11 UTC by Michał Górny
Modified: 2024-01-19 23:19 UTC (History)
4 users (show)

See Also:
Package list:
=dev-python/flask-api-3.1-r1 ~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:40 UTC
Please keyword
Comment 1 matoro archtester 2023-11-30 00:52:47 UTC
ImportError while importing test module '/var/tmp/portage/dev-python/flask-api-3.1/work/flask-api-3.1/flask_api/tests/test_status.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>:1126: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1126: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
<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
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
flask_api/__init__.py:1: in <module>
    from flask_api.app import FlaskAPI
flask_api/app.py:10: in <module>
    from flask_api.request import APIRequest
flask_api/request.py:5: in <module>
    from werkzeug.urls import url_decode_stream
E   ImportError: cannot import name 'url_decode_stream' from 'werkzeug.urls' (/usr/lib/python3.11/site-packages/werkzeug/urls.py)
Comment 2 Larry the Git Cow gentoo-dev 2023-12-22 19:21:03 UTC
The bug has been referenced in the following commit(s):

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

commit 9025bc04e259c5f3bda7fc2bf0c3457d328ce9d9
Author:     Matoro Mahri <matoro_gentoo@matoro.tk>
AuthorDate: 2023-12-22 03:15:01 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-12-22 19:20:15 +0000

    dev-python/flask-api: restrict to <dev-python/werkzeug-3
    
    Uses werkzeug.urls.url_decode which was deprecated in werkzeug-2.3 and
    removed in werkzeug-3.0.  See https://stackoverflow.com/a/77215455/6214870
    
    Bug: https://bugs.gentoo.org/917890
    Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
    Closes: https://github.com/gentoo/gentoo/pull/34409
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/flask-api/{flask-api-3.1.ebuild => flask-api-3.1-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 3 NATTkA bot gentoo-dev 2023-12-22 19:24:19 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2024-01-15 15:52:33 UTC
All sanity-check issues have been resolved
Comment 5 matoro archtester 2024-01-19 23:19:12 UTC
arm64 done

all arches done