From 7cf97ec0de812659f69f565eff24f7fa342d1d49 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Wed, 24 Apr 2024 18:08:58 +0500 Subject: [PATCH] fix: pin moto<5.0 (#34595) --- requirements/constraints.txt | 3 +++ scripts/user_retirement/requirements/testing.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 7fb94dd34004..0b45fda064d2 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -125,3 +125,6 @@ lxml<5.0 # xmlsec==1.3.14 breaking tests for all builds, can be removed once a fix is available xmlsec<1.3.14 + +# moto==5.0 contains breaking changes. Needs to be updated separately. +moto<5.0 diff --git a/scripts/user_retirement/requirements/testing.in b/scripts/user_retirement/requirements/testing.in index 49a4297b2292..d20d3af58965 100644 --- a/scripts/user_retirement/requirements/testing.in +++ b/scripts/user_retirement/requirements/testing.in @@ -1,6 +1,6 @@ -r base.txt -moto +moto<5.0 # moto==5.0 contains breaking changes. needs to be fixed separately. pytest requests_mock responses