[SERVER-35121] Inform mongodb/mongo developers when required python dependencies are missing Created: 21/May/18  Updated: 29/Oct/23  Resolved: 05/Feb/21

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.9.0

Type: New Feature Priority: Major - P3
Reporter: Billy Donahue Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-36152 Update requirements.txt Closed
Backwards Compatibility: Fully Compatible
Sprint: Dev Platform 2021-01-25, Dev Platform 2021-02-08
Participants:

 Description   

Python's "pip" system is difficult to work with.

It can be hard to tell if the dependencies specified by buildscripts/requirements.txt are actually met by the python environment scons will use, and scons can verify this on its own.

Maybe via the pkg_resources API https://stackoverflow.com/questions/16294819/how-to-check-if-my-python-has-all-required-packages



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

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-35121 added verification of python requirements.txt.
Branch: master
https://github.com/mongodb/mongo/commit/925e90f48f1267ee3f4ec0eaacb341737d1baeb9

Comment by April Schoffer [ 30/Jul/20 ]

We'll plan to add a simple check to see if you have required imports, and display a user-friendly error message if not.

Generated at Thu Feb 08 04:38:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.