[SERVER-54369] Update Jasper gRPC to latest version Created: 05/Feb/21  Updated: 29/Oct/23  Resolved: 11/Feb/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.9.0, 4.2.13, 4.4.5

Type: Task Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2
Sprint: STM 2021-02-22
Participants:

 Description   

The current version does not support Python 3.9



 Comments   
Comment by Githook User [ 18/Feb/21 ]

Author:

{'name': 'Robert Guo', 'email': 'robert.guo@mongodb.com'}

Message: SERVER-54369 update python dependencies

(cherry picked from commit 3fb8a941f4624291e3091a1ff96dde4f62b772cd)
(cherry picked from commit f5aaecb0315fa63f9f0447974dbd4fedc24c81fa)
Branch: v4.2
https://github.com/mongodb/mongo/commit/df0a93bd9727576abe34da873ced9573a9273098

Comment by Githook User [ 16/Feb/21 ]

Author:

{'name': 'Robert Guo', 'email': 'robert.guo@mongodb.com'}

Message: SERVER-54369 update python dependencies

(cherry picked from commit 3fb8a941f4624291e3091a1ff96dde4f62b772cd)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f5aaecb0315fa63f9f0447974dbd4fedc24c81fa

Comment by Andrew Morrow (Inactive) [ 08/Feb/21 ]

Actually, the mypy changes would come in via a backport of SERVER-53579. So just backporting the zope part will be entirely sufficient for this ticket.

Comment by Andrew Morrow (Inactive) [ 08/Feb/21 ]

The grpcio parts of this are not applicable to v4.4, but it would be very helpful to get the zope change back to v4.2 and v4.4.

Comment by Andrew Morrow (Inactive) [ 08/Feb/21 ]

The grpcio parts aren't relevant on those older branches, but the zope upgrade can be backported.

Additionally, it looks like on the v4.4 branch and older, we would also need to update mypy to match what is on master. So I'd like to backport the following:

diff --git a/etc/pip/components/external_auth.req b/etc/pip/components/external_auth.req
index 4f633912e0..af6167d015 100644
--- a/etc/pip/components/external_auth.req
+++ b/etc/pip/components/external_auth.req
@@ -4,6 +4,6 @@ pyOpenSSL == 19.0.0
 pyparsing == 2.4.0
 service_identity == 18.1.0
 twisted == 20.3.0
-zope.interface == 4.6.0
+zope.interface == 4.8.0
 
 ldaptor == 19.0.0
diff --git a/etc/pip/components/mypy.req b/etc/pip/components/mypy.req
index fcf8ad90f2..a72ccb368b 100644
--- a/etc/pip/components/mypy.req
+++ b/etc/pip/components/mypy.req
@@ -1,3 +1,3 @@
 # Note: This version is checked by python modules in buildscripts/linter/
-mypy == 0.580; python_version > "3.4"
+mypy == 0.800; python_version > "3.5"

Comment by Githook User [ 08/Feb/21 ]

Author:

{'name': 'Robert Guo', 'email': 'robert.guo@mongodb.com'}

Message: SERVER-54369 update python dependencies
Branch: master
https://github.com/mongodb/mongo/commit/3fb8a941f4624291e3091a1ff96dde4f62b772cd

Generated at Thu Feb 08 05:33:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.