-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-4540 Convert libmongocrypt download to python #2148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
.evergreen/scripts/setup_tests.py
Outdated
@@ -92,6 +96,64 @@ def run_command(cmd: str) -> None: | |||
LOGGER.info("Running command %s... done.", cmd) | |||
|
|||
|
|||
def setup_libmongocrypt(): | |||
target = "" | |||
if os.name == "nt": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we encapsulate this platform detection logic into a helper method? I assume we'll need to do this a lot as we migrate from bash to Python.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
LGTM pending tests passing. |
Needs another review because I had to fix the use of |
Passing build: https://spruce.mongodb.com/version/67af719537cb1f00076ddea6/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC