From 373ee5f3209401cba77da5c5e0bea0b74d0fc0a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9gis=20Behmo?= <regis@behmo.com>
Date: Fri, 23 Oct 2020 08:54:54 +0200
Subject: [PATCH] Ensure compatibility with edx-toggles despite upcoming
 breaking changes

edx-toggles==2.0.0 is likely to suppress namespace objects for the
management of toggle objefcts. We explicitely prevent this by adding a
requirement constraint.
---
 requirements/constraints.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/requirements/constraints.txt b/requirements/constraints.txt
index 98e41abf49b..2390752fb1e 100644
--- a/requirements/constraints.txt
+++ b/requirements/constraints.txt
@@ -40,6 +40,9 @@ edx-enterprise==3.9.11
 # v2 requires the ES7 upgrade work to be complete
 edx-search<2.0.0
 
+# We expect v2.0.0 to introduce large breaking changes in the feature toggle API
+edx-toggles<2.0.0
+
 # Upgrading to 2.12.0 breaks several test classes due to API changes, need to update our code accordingly
 factory-boy==2.8.1
 
-- 
GitLab