Revert "Update dependency opensearch-py to v3 (#2764)"#3230
Merged
Conversation
This reverts commit f7e8da7.
OpenAPI ChangesNo changes detected Unexpected changes? Ensure your branch is up-to-date with |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reverts the previously introduced upgrade of opensearch-py v3 back to the v2.x series, restoring the prior dependency range and lockfile resolution used by the project.
Changes:
- Revert
opensearch-pydependency constraint from>=3.1,<4back to>=2.0.0,<3inpyproject.toml. - Update
uv.lockto pinopensearch-pyback to2.8.0and remove the v3-onlyopensearch-protobufsdependency entry.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pyproject.toml |
Reverts the declared opensearch-py dependency range back to v2.x. |
uv.lock |
Re-locks dependencies to opensearch-py==2.8.0 and drops v3 transitive deps. |
dsubak
approved these changes
Apr 21, 2026
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.
This reverts commit f7e8da7.
What are the relevant tickets?
This commit reverts the opensearch-py upgrade: #2764
Description (What does it do?)
This PR reverts the upgrade to opensearch-py. There are lots of changes and there may be subtle bugs introduced until we do a full sweep of the diff-log
How can this be tested?
python manage.py recreate_index --allshould succeed without errors.