[SERVER-65718] Fix mypy error Created: 18/Apr/22  Updated: 29/Oct/23  Resolved: 18/Apr/22

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 6.0.0-rc1, 5.3.2, 4.4.14, 5.0.8, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Mikhail Shchatko Assignee: Mikhail Shchatko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-65776 Improve version comparison in linter ... Open
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.3, v5.0, v4.4, v4.2, v4.0
Sprint: DAG 2022-04-18
Participants:
Linked BF Score: 175
Story Points: 1

 Description   

 [2022/04/16 05:43:45.756] CMD [/data/mci/489749f0eee827f7c2526241e84efde6/venv/bin/python3 /data/mci/489749f0eee827f7c2526241e84efde6/venv/bin/mypy --config-file .mypy.ini /data/mci/489749f0eee827f7c2526241e84efde6/src/buildscripts/linter/runner.py] failed:
 [2022/04/16 05:43:45.756] buildscripts/linter/runner.py:44: error: Unsupported left operand type for < (Version?)
 [2022/04/16 05:43:45.756] buildscripts/linter/runner.py:44: error: Unsupported left operand type for < (LegacyVersion?)
 [2022/04/16 05:43:45.756] buildscripts/linter/runner.py:44: note: Both left and right operands are unions



 Comments   
Comment by Githook User [ 18/Apr/22 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-65718 Fix mypy error

(cherry picked from commit f75812f03d58aa1fa0755aaef0f29e33853fb67a)
Branch: v5.3
https://github.com/mongodb/mongo/commit/865ef8249d696c3b23f9bdb7950eb33c0ac3d5e6

Comment by Githook User [ 18/Apr/22 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-65718 Fix mypy error

(cherry picked from commit f75812f03d58aa1fa0755aaef0f29e33853fb67a)
Branch: v5.0
https://github.com/mongodb/mongo/commit/41777f476824469657e5a1e4756930e0335fc084

Comment by Githook User [ 18/Apr/22 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-65718 Fix mypy error

(cherry picked from commit f75812f03d58aa1fa0755aaef0f29e33853fb67a)
Branch: v6.0
https://github.com/mongodb/mongo/commit/b2236e586cbbb93b95dd7624960cdaebdf529006

Comment by Githook User [ 18/Apr/22 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-65718 Fix mypy error

(cherry picked from commit f75812f03d58aa1fa0755aaef0f29e33853fb67a)
Branch: v4.4
https://github.com/mongodb/mongo/commit/0b0843af97c3ec9d2c0995152d96d2aad725aab7

Comment by Githook User [ 18/Apr/22 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com', 'username': 'MikhailShchatko'}

Message: SERVER-65718 Fix mypy error
Branch: master
https://github.com/mongodb/mongo/commit/f75812f03d58aa1fa0755aaef0f29e33853fb67a

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