opened 12:14AM - 03 Oct 23 UTC
closed 02:13PM - 04 Nov 23 UTC
bug
In attempt to update Flask, I am seeing this deprecation warning:
/opt/ho…stedtoolcache/Python/3.11.5/x64/lib/python3.11/site-packages/apiflask/scaffold.py:82: DeprecationWarning: The '__version__' attribute is deprecated and will be removed in Flask 3.1. Use feature detection or 'importlib.metadata.version("flask")' instead.
if flask.__version__ < '2.' or hasattr(f, '_sync_ensured'):
Seen here:
https://github.com/pamelafox/flask-charts-api-container-app/actions/runs/6377076836/job/17305088496?pr=25
Environment:
- Python version: 3.11
- Flask version: 3.0
- APIFlask version: 1.3.1