Skip to content

fix(deps): bump elasticsearch-dbapi to 0.2.12 for urllib3 2.x compatibility - #37758

Merged
dpgaspar merged 1 commit into
apache:masterfrom
preset-io:fix/elasticsearch-dbapi-0.2.12
Feb 6, 2026
Merged

fix(deps): bump elasticsearch-dbapi to 0.2.12 for urllib3 2.x compatibility#37758
dpgaspar merged 1 commit into
apache:masterfrom
preset-io:fix/elasticsearch-dbapi-0.2.12

Conversation

@dpgaspar

@dpgaspar dpgaspar commented Feb 6, 2026

Copy link
Copy Markdown
Member

Summary

Bumps elasticsearch-dbapi from >=0.2.9 to >=0.2.12 to fix Elasticsearch connection failures.

The issue was caused by urllib3 being upgraded from 1.x to 2.x in #33927, which broke compatibility with the elasticsearch library (v7.13.4) that elasticsearch-dbapi depended on.

What's in elasticsearch-dbapi 0.2.12

  • Upgrades elasticsearch-py to >=7.17.13, <8 which supports urllib3 2.x
  • Adds opensearch-py>=2.4.0, <3 as a direct dependency for OpenSearch support
  • Updates SQLAlchemy integration to 2.x API
  • Tested against ES 7.x, ES 8.x (compatibility mode), and OpenSearch 2.x

Reference: preset-io/elasticsearch-dbapi#118

Test plan

  • Tested locally connecting to Elasticsearch 7.x and 8.x
  • CI passes

🤖 Generated with Claude Code

…bility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bito-code-review

bito-code-review Bot commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Code Review Agent Run #a34b75

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: 7f35ffc..7f35ffc
    • pyproject.toml
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@dosubot dosubot Bot added the data:connect:elasticsearch Related to Elasticsearch label Feb 6, 2026
@dpgaspar
dpgaspar merged commit ec6eaf4 into apache:master Feb 6, 2026
70 of 71 checks passed
@dpgaspar
dpgaspar deleted the fix/elasticsearch-dbapi-0.2.12 branch February 6, 2026 16:03
alex-poor pushed a commit to alex-poor/superset that referenced this pull request Mar 15, 2026
…bility (apache#37758)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
…bility (apache#37758)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants