From cb0c2818f1a28a6942681564cdacdb86ebe435b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20M=C3=B6ller?= Date: Wed, 19 Jun 2024 16:56:17 +0200 Subject: [PATCH] chore: bump werkzeug to >=3.0.3 Werkzeug 3.0.3 contains a fix for [1], so by requiring at least 3.0.3, we can remove unnecessary 'type: ignore' comments from the http adapter. [1]: https://github.com/pallets/werkzeug/issues/2836 --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8335659a0..e087cdd18 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ python-dateutil>=2.8,<3.0 types-python-dateutil pyecma376-2>=0.2.4 urllib3>=1.26,<2.0 -Werkzeug~=3.0 +Werkzeug>=3.0.3,<4 schemathesis~=3.7 hypothesis~=6.13 lxml-stubs~=0.5.1 diff --git a/setup.py b/setup.py index cb1d0349c..1e0c43484 100755 --- a/setup.py +++ b/setup.py @@ -44,6 +44,6 @@ 'lxml>=4.2,<5', 'urllib3>=1.26,<2.0', 'pyecma376-2>=0.2.4', - 'Werkzeug~=3.0' + 'Werkzeug>=3.0.3,<4' ] )