[FSTORE-1970] Upgrade opensearch to 2.19.5#951
Open
jimdowling wants to merge 2 commits into
Open
Conversation
…ry syntax - Replace pyjks with built-in cryptography for JKS keystore parsing - Implement _load_jks() to handle JKS files from all JDK versions including JDK 21+ - Update opensearch-py version constraint to support new KNN filter syntax - Migrate vector DB queries to use knn.filter pattern for OpenSearch 2.8+ - Update Python requirement from >=3.9 to >=3.10 - Update test expectations for new query structure Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Brings in pyjks→cryptography swap, OpenSearch 2.8 client bump, and KNN query syntax update. Resolved conflicts in client/base.py and client/hopsworks.py to keep `@also_available_as` decorators alongside the new cryptography-based JKS handling, and dropped the unreachable `_bytes_to_pem_str` (referenced an unimported `textwrap`; superseded by `_der_to_pem`).
3 tasks
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||
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
pyjkswithcryptographyfor JKS keystore/truststore parsing (no native build deps needed)opensearch-pyupper bound to<=2.8.0(compatible with OpenSearch 2.19.5)VectorDbClientto the newknn.<field>.filterform supported by OpenSearch 2.19Supersedes #835.
Test plan
uv run --project python pytest python/tests