From 6673df2a13029b347fd23284f3912597e122ec21 Mon Sep 17 00:00:00 2001 From: vahid Date: Tue, 9 Jul 2024 17:16:33 +0330 Subject: [PATCH] Fix: event-tracking:2.4.1 clutter with openedx master `event-tracking` which is on of this package dependencies, created a new version (https://github.com/openedx/event-tracking/pull/290) which upgraded the pymongo version. So when we install this package the old style, we will get the latest event-tracking version with pymongo 4.4.0 which is incompatible with openedx master. See issue https://github.com/openedx/tutor-contrib-aspects/issues/891 --- requirements/constraints.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index c072cd86..4ac4f545 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -23,6 +23,8 @@ sphinx==4.2.0 # This pin can be removed once sphinx constraint is removed. docutils<0.18 doc8<1.0.0 -event-tracking>=2.3.2 +# event-tracking has a breaking change at 2.4.1 version so openedx master release can't connect to mongo. +# see https://github.com/openedx/tutor-contrib-aspects/issues/891 +event-tracking>=2.3.2,<2.4.1 # it is not availablein python3.9 backports.zoneinfo;python_version<"3.9"