From cd5213f20cabb5f5f473c4a5d5b5520a3e870755 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 10 Mar 2025 12:11:31 -0500 Subject: [PATCH 1/2] PYTHON-5186 Skip crypt_shared tests on MacOS --- bindings/python/test/test_mongocrypt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/python/test/test_mongocrypt.py b/bindings/python/test/test_mongocrypt.py index 1160c7390..6a4e74985 100644 --- a/bindings/python/test/test_mongocrypt.py +++ b/bindings/python/test/test_mongocrypt.py @@ -507,6 +507,8 @@ def mongo_crypt_opts(): os.getenv("TEST_CRYPT_SHARED"), "this test requires TEST_CRYPT_SHARED=1" ) def test_crypt_shared(self): + if sys.platform == "darwin": + raise unittest.SkipTest("Skipping due to SERVER-101020") kms_providers = { "aws": {"accessKeyId": "example", "secretAccessKey": "example"}, "local": {"key": b"\x00" * 96}, From 3cd685cc95e11611d04eec4ff05bbfaf39b8faf7 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 10 Mar 2025 12:42:13 -0500 Subject: [PATCH 2/2] skip async test --- bindings/python/test/test_mongocrypt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/python/test/test_mongocrypt.py b/bindings/python/test/test_mongocrypt.py index 6a4e74985..982c05109 100644 --- a/bindings/python/test/test_mongocrypt.py +++ b/bindings/python/test/test_mongocrypt.py @@ -640,6 +640,8 @@ def mongo_crypt_opts(): os.getenv("TEST_CRYPT_SHARED"), "this test requires TEST_CRYPT_SHARED=1" ) async def test_crypt_shared(self): + if sys.platform == "darwin": + raise unittest.SkipTest("Skipping due to SERVER-101020") kms_providers = { "aws": {"accessKeyId": "example", "secretAccessKey": "example"}, "local": {"key": b"\x00" * 96},