Task #2728
closedCheck and fix Pulp compatibility with python-mongoengine >= 0.11.0 in Fedora 26/Rawhide
100%
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.
Updated by ttereshc almost 6 years ago
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.
Updated by bmbouter almost 6 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.
Updated by ttereshc almost 6 years ago
+ 1 for trying to make Pulp compatible with 0.10.0+.
Thanks for modifications in checklist.
Updated by bmbouter almost 6 years ago
- 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.
Updated by ipanova@redhat.com almost 6 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
Updated by ipanova@redhat.com almost 6 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.
http://docs.mongoengine.org/changelog.html#changes-in-0-13-0
The only breaking change that affects us is renamed ConnectionError to MongoEngineConnectionError
Added by ipanova@redhat.com almost 6 years ago
Updated by ipanova@redhat.com almost 6 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|84fcc192d61ff87948a0ba3e33c0431af25aba58.
Updated by pcreech over 5 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Make Pulp compatible with mongoengine 0.10+
closes #2728 https://pulp.plan.io/issues/2728