-
-
Notifications
You must be signed in to change notification settings - Fork 746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update various Python dependencies to latest stable versions #4767
Conversation
There seems to be regression in the latest version of pymongo and mongoengine (and potentially combination of both) related to unicode keys which causes test failure :/ I need to dig in and look into a fix. |
It turns out the issue is indeed related to pymongo and mongoengine - MongoEngine/mongoengine#2147 I wasted quite a lot of time tracking it down (since it depends on Python version and default encoding used by Python). In the mean time, I will revert |
CHANGELOG.rst
Outdated
@@ -17,6 +17,8 @@ Changed | |||
* Install pack with the latest tag version if it exists when branch is not specialized. | |||
(improvement) #4743 | |||
* Implement "continue" engine command to orquesta workflow. (improvement) #4740 | |||
* Update various internal dependencies to latest stable versions (apscheduler, eventlet, | |||
kombu, amqp, pyyaml, mongoengine, python-gnupg, paramiko, tooz, webob, bcrypt). #4767 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to include a small note that mongo upgrade led to perf improvements, considering you've tested it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This pull request updates various dependencies to latest stable versions.
I went over the changeslogs and changed things mostly include bug fixes and small improvements.
mongoengine v0.18.x includes change / performance improvement which should be of a particular interest to us - MongoEngine/mongoengine#2049.
I tested / verified it locally and confirmed it increases "save" performance for very large objects (that's very large executions in our case). It's not really drastic, but around 5-30% performance increase depending on the execution size.
It's not as fast as directly inserting execution into database using pymongo and avoiding mongoengine layer all together (something we discussed in the past), but it comes mostly "for free".