Check and fix Pulp compatibility with python-mongoengine >= 0.11.0 in Fedora 26/Rawhide
According to mongoengine changelog there are several breaking changes introduced in 0.11.0 and in 0.12.0.
It looks to me that at least ConnectionError exception renaming is an issue (it is used here), maybe something else as well, investigation needed.
We currently ship python-mongoengine 0.10.5, f24/25 - 0.10.6, f26 - 0.11.0, rawhide - 0.12.0.
Pulp currently requires python-mongoengine >= 0.10.0.
Also worth noticing, 0.11.0 drops python 2.6 support.
#3 Updated by bmbouter over 4 years ago
This is an important piece of work and the story is very well written, thank you for writing it up. I have two questions.
My main question is: Can Pulp remain compatible with 0.10.z+ without having a bunch of if blocks all over the codebase? The way the checklist and task is written now suggests that we will become compatible with 0.11+ which will be an issue for downstream usages of Pulp because 0.11 drops Python 2.6 support and those environments still use Python 2.6. I think this can only be answered during the investigation part of the task so I've added a checklist item to make a decision about what we support based on how easily easily maintain 0.10.z+ compatibility all the way through 0.12.z.
My lesser question is: If we do need to build python-mongoengine 0.11 for F24 and F25, would we build it both in koji.katello and koji.fedorapeople? The speed of delivery is affected by when/where we need the dep available, which is probably impacted by the choice of versions we can feasibly support. I made that checklist item more vague because if we can have 0.10+ support then we don't need to build anything.
#8 Updated by firstname.lastname@example.org over 4 years ago
- Status changed from ASSIGNED to POST
Latest version in fedora is 0.12, on pypi 0.13.
I checked the changelog up to 0.13 including.
The only breaking change that affects us is renamed ConnectionError to MongoEngineConnectionError