Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915523 - [guru] dev-python/flask-restx-1.1.0 fails tests: ImportError: cannot import name _request_ctx_stack from flask __init__.py)
Summary: [guru] dev-python/flask-restx-1.1.0 fails tests: ImportError: cannot import n...
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-10-10 07:46 UTC by Agostino Sarubbo
Modified: 2023-10-10 15:41 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,75.94 KB, text/plain)
2023-10-10 07:46 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-10-10 07:46:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/flask-restx-1.1.0 fails tests.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-10-10 07:46:42 UTC
Created attachment 872487 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-10-10 15:41:24 UTC
The bug has been closed via the following commit(s):

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

commit 45dcc17b9a0fa35c9b6cbbb82488c9e086d837cf
Author:     David Roman <davidroman96@gmail.com>
AuthorDate: 2023-10-10 10:24:38 +0000
Commit:     David Roman <davidroman96@gmail.com>
CommitDate: 2023-10-10 10:24:38 +0000

    dev-python/flask-restx: fix compatibility with flask 3.0.0
    
    Closes: https://bugs.gentoo.org/915523
    Signed-off-by: David Roman <davidroman96@gmail.com>

 .../files/flask-restx-fix-flask-compat.patch       | 150 +++++++++++++++++++++
 dev-python/flask-restx/flask-restx-1.1.0-r1.ebuild |  50 +++++++
 2 files changed, 200 insertions(+)