From f7d3d7a142773401e88a161a5ba775281f451dc6 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 10 Dec 2023 23:43:00 +0100 Subject: [PATCH] Relax Werkzeug==2.0.3 into Werkzeug<3 --- setup.py | 14 +++++++------- tox.ini | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 71ba6a2..90fa177 100644 --- a/setup.py +++ b/setup.py @@ -67,13 +67,13 @@ tests_require = [ "pytest-httpbin", "requests>=2.16.2", "tornado", - # Needed to un-break httpbin 0.7.0. For httpbin >=0.7.1 and after, - # this pin and the dependency itself can be removed, provided - # that the related bug in httpbin has been fixed: - # https://github.com/kevin1024/vcrpy/issues/645#issuecomment-1562489489 - # https://github.com/postmanlabs/httpbin/issues/673 - # https://github.com/postmanlabs/httpbin/pull/674 - "Werkzeug==2.0.3", + # Needed to un-break httpbin 0.10.1. For httpbin >=0.10.2, + # this cap and the dependency itself can be removed, provided + # that the related bug in httpbin has has been fixed in a new release: + # https://github.com/psf/httpbin/issues/28 + # https://github.com/psf/httpbin/pull/29 + # https://github.com/psf/httpbin/pull/37 + "Werkzeug<3", ] setup( diff --git a/tox.ini b/tox.ini index 6203513..c1d79d5 100644 --- a/tox.ini +++ b/tox.ini @@ -54,7 +54,7 @@ commands = allowlist_externals = ./runtests.sh deps = - Werkzeug==2.0.3 + Werkzeug<3 pytest pytest-httpbin>=1.0.1 pytest-cov