Flask 3.0.0 compatibility
SebasRiosR opened this issue · comments
SebasRiosR commented
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.
Environment (please complete the following information):
- OS: MacOS Ventura 13.6.1
- Python Version [3.9]
- pytest-flask version [1.3.0]