Skip to content
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

DRIVERS-2743 skip Python 3.12 #359

Merged
merged 2 commits into from
Oct 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .evergreen/find-python3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ is_python3() (
# For diagnostic purposes.
echo " - $bin: $version_output"

if ! $("$bin" -c "import sys; exit(sys.version_info[0] == 3 and sys.version_info[1] == 12)"); then
echo "Detected Python 3.12. Skipping due to failures to start mock KMS server. Refer: DRIVERS-2743"
exit 1
fi

# Evaluate result of this function.
# Note: Python True (1) and False (0) is treated as fail (1) and success (0)
# by Bash; therefore `is_python3` returns "true" when `v < 3` is false.
Expand Down
Loading