update __version__ deprecation

This commit is contained in:
David Lord 2024-11-23 16:03:47 -08:00
parent dcbe86bd15
commit b394a994e6
No known key found for this signature in database
GPG key ID: 43368A7AA8CC5926

View file

@ -50,7 +50,7 @@ def __getattr__(name: str) -> t.Any:
warnings.warn(
"The '__version__' attribute is deprecated and will be removed in"
" Flask 3.1. Use feature detection or"
" Flask 3.2. Use feature detection or"
" 'importlib.metadata.version(\"flask\")' instead.",
DeprecationWarning,
stacklevel=2,