Describe the bug
Due to a vulnerability I need to update the flask version to 3.0.0. However, when I updated the dependency I started getting the following error:
cannot import name '_request_ctx_stack' from 'flask'
I did some checking and found that this Flask property or function was already deprecated
To Reproduce
Steps to reproduce the behavior:
Update Flask to 3.0.0
Run the tests
In my project I am using Pytest-flask's:
Annotation @pytest.fixture
Run test with pytest -v -s
Expected behavior
Run tests without errors.
Screenshots
Environment (please complete the following information):
Describe the bug Due to a vulnerability I need to update the flask version to 3.0.0. However, when I updated the dependency I started getting the following error:
cannot import name '_request_ctx_stack' from 'flask'
I did some checking and found that this Flask property or function was already deprecated
To Reproduce Steps to reproduce the behavior:
In my project I am using Pytest-flask's:
@pytest.fixture
pytest -v -s
Expected behavior Run tests without errors.
Screenshots
Environment (please complete the following information):