Repository navigation
Conversation
MONGOCRYPT-938 (libmongocrypt 1.20.x) rejects the *Preview query types with a deprecation error. Update the sync and async tests to expect the error instead of asserting the aliases still work, mirroring test_textPreview_query_fails. Fixes the test-python / test-python-integ Evergreen tasks.
PyMongo master dropped Python 3.9 and 3.10 support (PYTHON-6138), so 'pip install -e .[test,encryption]' in the mongo-python-driver clone fails on distros whose toolchain Python is 3.10 (e.g. rhel-82-arm64). Provision Python 3.13 with uv when the toolchain Python is too old.
Collaborator
Author
|
Closing, since I expect this is handled by:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two Evergreen fixes for the failing
test-python/test-python-integtasks:test_deprecated_preview_query_typesasserted the*Previewquery types still work as aliases of the GA names, but MONGOCRYPT-938 (libmongocrypt 1.20.x, MONGOCRYPT-938 Drop prefix/suffix/substring preview #1230) now rejects them with a deprecation error. Update the sync and async tests to expect the error, mirroringtest_textPreview_query_fails.pip install -e '.[test,encryption]'in the integ setup fails on distros whose toolchain Python is 3.10 (e.g. rhel-82-arm64). Provision Python 3.13 via uv when the toolchain Python is too old.Validation
test-pythonpassing on macos, rhel-80-64-bit, rhel-82-arm64, windows-test-python (https://spruce.corp.mongodb.com/version/6acd46845a7c430007081c7d)test-python-integpassing on rhel-82-arm64 (https://spruce.corp.mongodb.com/version/6acd4d6fa7ee860007a38c13)