This is an automated email from the ASF dual-hosted git repository. bcall pushed a commit to branch 9.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 85e848496be4401a7fce8dcb6169d46d05e45772 Author: Brian Neradt <brian.ner...@gmail.com> AuthorDate: Tue Mar 29 07:13:29 2022 -0500 Fixing the httpbin AuTests by pinning Werkzeug (#8765) The AuTests using httpbin all started failing today when new AuTest pipenv environments started using the 2.1.0 version of Werkzeug. This new Werkzeug release removes its BaseResponse API because it has been deprecated for a few releases. httpbin has a dependency upon BaseResponse, however, and thus it currently fails with this latest Werkzeug release. This patch temporarily pins Werkzeug until httpbin is updated so that our httpbin AuTests can run. (cherry picked from commit 57b10e2253f615c1ed0f7d84d2b5b60fb658cddd) --- tests/Pipfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/Pipfile b/tests/Pipfile index 40d8e4866..2739d8d0e 100644 --- a/tests/Pipfile +++ b/tests/Pipfile @@ -42,5 +42,11 @@ microserver = ">=1.0.6" jsonschema = "*" python-jose = "*" +# The latest version of Werkzeug (2.1.0) breaks httpbin because it removes +# deprecated function `BaseResponse` that httpbin directly or indirectly +# depends upon. Pinning Wekrzeug for now until httpbin or its dependencies is +# updated for the changed API. +Werkzeug = "==2.0.3" + [requires] python_version = "3"