Open CodeWithEmad opened 2 weeks ago
Yee the problem is with the event-routing-backends/requirements/constraints.txt
that uses event-tracking>=2.3.2
. By this way pip will automatically install the latest event-tracking
package which is 2.4.1
now. the problem is the difference between 2.4.1
& 2.4.0
which they upgraded the pymongo
package from 3.13.0
to 4.4.0
. I will create a PR on event-routing-backends
project and put the link here.
I think the edx-lint fix is probably the best one until the edx-platform changes lance. Other projects are going to also pick up this change otherwise, and better to have one place to update later.
We know that aspects v1.0.2 will use "platform-plugin-aspects==v0.9.7" and "edx-event-routing-backends==v9.2.1" and will add them in openedx-dockerfile-post-python-requirements patch
https://github.com/openedx/tutor-contrib-aspects/blob/306fe4467d86f3eb0e85495d55eecee963abe3e5/tutoraspects/patches/openedx-dockerfile-post-python-requirements#L1-L5
After installing aspects==1.0.2, weirdly, pymongo v4.4.0 will install and it causes a crash in lms and cms.
I'm fully aware that in the requirements of edx-event-routing-backends==v9.2.1 and event-tracking==2.3.2, pymongo 3.13.0 is specified.
https://github.com/openedx/event-routing-backends/blob/980b2aa264261430c5b8dfaeea70c02d44e5e08a/requirements/base.txt#L148
You can reproduce this by installing "edx-event-routing-backends==v9.2.1" in a new environment.
I see that event-tracking==2.4.1 is installed instead of 2.3.2 which makes it more vague.
also, here is the
pipdeptree
for pymongo