Skip to content

Revert "Update dependency opensearch-py to v3 (#2764)"#3230

Merged
shanbady merged 1 commit into
mainfrom
shanbady/opensearch-py-revert
Apr 21, 2026
Merged

Revert "Update dependency opensearch-py to v3 (#2764)"#3230
shanbady merged 1 commit into
mainfrom
shanbady/opensearch-py-revert

Conversation

@shanbady
Copy link
Copy Markdown
Contributor

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?

  1. checkout this branch
  2. rebuild web and celery containers
  3. commands such as python manage.py recreate_index --all should succeed without errors.

@shanbady shanbady added the Needs Review An open Pull Request that is ready for review label Apr 21, 2026
@shanbady shanbady marked this pull request as ready for review April 21, 2026 20:53
Copilot AI review requested due to automatic review settings April 21, 2026 20:53
@github-actions
Copy link
Copy Markdown

OpenAPI Changes

No changes detected

View full changelog

Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-py dependency constraint from >=3.1,<4 back to >=2.0.0,<3 in pyproject.toml.
  • Update uv.lock to pin opensearch-py back to 2.8.0 and remove the v3-only opensearch-protobufs dependency 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.

@shanbady shanbady merged commit 1b1808d into main Apr 21, 2026
23 of 24 checks passed
@shanbady shanbady deleted the shanbady/opensearch-py-revert branch April 21, 2026 21:11
@odlbot odlbot mentioned this pull request Apr 22, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review An open Pull Request that is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants