Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915522 - [guru] dev-python/pytest-flask-1.2.0 fails tests: ImportError: cannot import name _request_ctx_stack from flask __init__.py)
Summary: [guru] dev-python/pytest-flask-1.2.0 fails tests: ImportError: cannot import ...
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,66.43 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:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=309963703004e919116a8399591de4e748d9f4fe

commit 309963703004e919116a8399591de4e748d9f4fe
Author:     David Roman <davidroman96@gmail.com>
AuthorDate: 2023-10-10 10:21:42 +0000
Commit:     David Roman <davidroman96@gmail.com>
CommitDate: 2023-10-10 10:21:42 +0000

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

 .../files/pytest-flask-fix-flask-compat.patch      | 74 ++++++++++++++++++++++
 .../pytest-flask/pytest-flask-1.2.0-r1.ebuild      | 32 ++++++++++
 2 files changed, 106 insertions(+)