From 2b5c70f400b29c34efb132063c3dfe3252c91659 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Wed, 31 Jan 2024 13:03:29 +0500 Subject: [PATCH] fix: pin moto<5.0 --- requirements/constraints.txt | 4 ++++ requirements/test.txt | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index f9ea41a..975a11c 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -10,3 +10,7 @@ # This file contains all common constraints for edx-repos -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + +# moto==5.0 contains breaking changes in test env +# neeeds to be fixed in a separate pr +moto<5.0 diff --git a/requirements/test.txt b/requirements/test.txt index 804ea61..80b6cfc 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -123,8 +123,10 @@ mccabe==0.7.0 # via pylint mock==5.1.0 # via -r requirements/test.in -moto[cloudformation]==5.0.0 - # via -r requirements/test.in +moto[cloudformation]==4.2.14 + # via + # -c requirements/constraints.txt + # -r requirements/test.in mpmath==1.3.0 # via sympy networkx==3.1