Task #2728
closed
Check and fix Pulp compatibility with python-mongoengine >= 0.11.0 in Fedora 26/Rawhide
Status:
CLOSED - CURRENTRELEASE
Description
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.
- Description updated (diff)
It looks like 0.10.6 is available in F26, but in Rawhide there is 0.12.0 only so far.
So setting python-mongoengine version < 0.11.0 will work for F26.
We still have to decide what to do for Rawhide, ship old version on our own or modify Pulp code.
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.
+ 1 for trying to make Pulp compatible with 0.10.0+.
Thanks for modifications in checklist.
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
I think this story is functionally complete so I'm going to groom it.
- Sprint/Milestone set to 38
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
- Status changed from ASSIGNED to POST
- Sprint/Milestone changed from 38 to 39
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Platform Release set to 2.13.2
- Status changed from MODIFIED to 5
- Status changed from 5 to CLOSED - CURRENTRELEASE
- Sprint/Milestone deleted (
39)
Also available in: Atom
PDF
Make Pulp compatible with mongoengine 0.10+
closes #2728 https://pulp.plan.io/issues/2728