From add53e190cf90b01b37914f810a370a0cd681800 Mon Sep 17 00:00:00 2001 From: David Lord Date: Sun, 24 Jul 2022 18:40:52 -0700 Subject: [PATCH] require Werkzeug 2.2 --- CHANGES.rst | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 95a004d7..d31db61e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -15,6 +15,7 @@ Unreleased - The ``RequestContext.g`` property returning ``AppContext.g`` is removed. +- Update Werkzeug dependency to >= 2.2. - The app and request contexts are managed using Python context vars directly rather than Werkzeug's ``LocalStack``. This should result in better performance and memory use. :pr:`4682` diff --git a/setup.py b/setup.py index bd31435c..7c53630d 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name="Flask", install_requires=[ - "Werkzeug >= 2.2.0a1", + "Werkzeug >= 2.2.0", "Jinja2 >= 3.0", "itsdangerous >= 2.0", "click >= 8.0",