[SERVER-57312] Pin transitive Python dependencies and use the pinned file for installation in Evergreen Created: 01/Jun/21  Updated: 29/Oct/23  Resolved: 05/Jan/22

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.3.0, 5.1.2, 5.0.6, 4.2.19, 5.2.0-rc5, 4.4.13

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

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.2, v5.1, v5.0, v4.4, v4.2
Sprint: STM 2021-12-13, STM 2022-01-10
Participants:
Story Points: 1

 Description   

Use pip freeze to pin the transitive dependencies and use the freeze file to install requirements in Evergreen. This mostly eliminates upstream changes from causing instability in our build.



 Comments   
Comment by Githook User [ 06/Jan/22 ]

Author:

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

Message: SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen

(cherry picked from commit b6d30f82753814220e360b82d0b5d87e834b279c)
Branch: v5.0
https://github.com/mongodb/mongo/commit/76fb7482945275ef14dbad296b4fd89dbf5eb385

Comment by Githook User [ 06/Jan/22 ]

Author:

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

Message: SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen

(cherry picked from commit b6d30f82753814220e360b82d0b5d87e834b279c)
Branch: v4.2
https://github.com/mongodb/mongo/commit/03f5d2cb95c5c807d6902153409489f4732dc5b4

Comment by Githook User [ 06/Jan/22 ]

Author:

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

Message: SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen

(cherry picked from commit b6d30f82753814220e360b82d0b5d87e834b279c)
Branch: v5.1
https://github.com/mongodb/mongo/commit/b815985a78641eecc11053b7e7c329d94bb8ce78

Comment by Githook User [ 06/Jan/22 ]

Author:

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

Message: SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen

(cherry picked from commit b6d30f82753814220e360b82d0b5d87e834b279c)
Branch: v5.2
https://github.com/mongodb/mongo/commit/107674850422dfdd82542fda4a15f64748e72816

Comment by Githook User [ 06/Jan/22 ]

Author:

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

Message: SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen

(cherry picked from commit b6d30f82753814220e360b82d0b5d87e834b279c)
Branch: v4.4
https://github.com/mongodb/mongo/commit/911e12d45f41cf8b553dce63fb58d3ba19bd8410

Comment by Githook User [ 05/Jan/22 ]

Author:

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

Message: SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen
Branch: master
https://github.com/mongodb/mongo/commit/b6d30f82753814220e360b82d0b5d87e834b279c

Comment by Brooke Miller [ 01/Jun/21 ]

We should also create a test that compares pip freeze from the repo to the pip freeze generated by the VM, since some engineers may change this themselves and we want to avoid issues with that.

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