[SERVER-50592] Update mypy pip requirement Created: 27/Aug/20  Updated: 29/Oct/23  Resolved: 01/Sep/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.5 Desired
Fix Version/s: 4.7.0, 4.2.13, 4.4.5

Type: Bug Priority: Minor - P4
Reporter: Ryan Egesdahl (Inactive) Assignee: Ryan Egesdahl (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
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Dev Platform 2020-09-07
Participants:

 Description   

The version we've been specifying for mypy is version 0.580, which is very old and has been causing version conflicts with modules as well as holding some modules back that could be upgraded. Also, since the version is so old, there is no longer a wheel for it, which means anyone installing it would need to compile the C extension to install it. If that person is using asdf or pyenv for their Python installation, that will likely fail. A solution would be to require a compatible version instead, which will resolve these issues.



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

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-50592 Update mypy and GitPython pip requirements

Update the mypy and GitPython pip modules that are required for linting
builds before commits to compatible versions rather than hard version
requirements.

(cherry picked from commit ca4df25002a60910b38bfdd8d71eb5bff5a79b49)
(cherry picked from commit 2990572b79734dd9178db207958f962d50c2daf2)
Branch: v4.2
https://github.com/mongodb/mongo/commit/9e0c79b14f17165087b6cec54bc49914be91ca88

Comment by Githook User [ 17/Feb/21 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-50592 Update mypy and GitPython pip requirements

Update the mypy and GitPython pip modules that are required for linting
builds before commits to compatible versions rather than hard version
requirements.

(cherry picked from commit ca4df25002a60910b38bfdd8d71eb5bff5a79b49)
Branch: v4.4
https://github.com/mongodb/mongo/commit/2990572b79734dd9178db207958f962d50c2daf2

Comment by Githook User [ 01/Sep/20 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-50592 Update mypy and GitPython pip requirements

Update the mypy and GitPython pip modules that are required for linting
builds before commits to compatible versions rather than hard version
requirements.
Branch: master
https://github.com/mongodb/mongo/commit/ca4df25002a60910b38bfdd8d71eb5bff5a79b49

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