Skip to content

Bump Ruby, opensearch-ruby and OpenSearch versions - #134

Draft
esmarkowski wants to merge 1 commit into
mainfrom
chore/bump-ruby-and-opensearch-versions
Draft

esmarkowski wants to merge 1 commit into
mainfrom
chore/bump-ruby-and-opensearch-versions

Conversation

@esmarkowski

@esmarkowski esmarkowski commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Raises the minimum Ruby to 3.1 and tests Stretchy against OpenSearch 3.9.0 and 2.19.7 on Ruby 3.2 and 3.3. opensearch-ruby stays on ~> 3.4 until the native ML client lands, and there are no library changes beyond requiring ostruct in NullRelation, which Ruby 3 no longer loads implicitly.

  • stretchy-model.gemspec: Ruby >= 3.1, opensearch-ruby ~> 3.4
  • containers/Dockerfile.opensearch and docker-compose.yml: OpenSearch 3.9.0, with OPENSEARCH_VERSION to override in compose
  • .github/workflows/spec.yml: Ruby 3.2/3.3 on both backends, OpenSearch 2.19.7/3.9.0, ruby/setup-ruby bumped from a March 2023 pin that predates Ruby 3.3

Closes #120

Require Ruby 3.1+, test against OpenSearch 3.9.0 and 2.19.7 on Ruby
3.2 and 3.3, and pin the local OpenSearch image instead of latest.
Require ostruct in NullRelation since Ruby 3 no longer loads it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@esmarkowski
esmarkowski added this pull request to stack #142 November 16, 2026 21:43

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump Ruby, opensearch-ruby and OpenSearch versions

1 participant