Skip to content

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

Merged
merged 16 commits into from
Feb 18, 2025

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 requested a review from NoahStapp February 14, 2025 18:58
@@ -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":
Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@blink1073 blink1073 requested a review from NoahStapp February 18, 2025 16:17
NoahStapp
NoahStapp previously approved these changes Feb 18, 2025
@NoahStapp
Copy link
Contributor

LGTM pending tests passing.

@blink1073
Copy link
Member Author

Needs another review because I had to fix the use of dataclasses.

@blink1073 blink1073 merged commit 4e672bd into mongodb:master Feb 18, 2025
47 of 51 checks passed
@blink1073 blink1073 deleted the PYTHON-4540-kms branch February 18, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants