Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch v8 support #93

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

thoscilo
Copy link

@thoscilo thoscilo commented Apr 6, 2023

Elasticsearch introduced braking change in version 8.0 by:

  • removing RequestsHttpConnection
  • removing use_ssl from Elasticsearch class
  • supports only Python 3.6+

SSL is not set as 'scheme' string (http/https) in host dict.
Custom authorization need to set node_class to requests.

Current code is working with:
elasticsearch 8.7.0

Reference:
https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/release-notes.html#_changed

Fixes:
#91

Elasticsearch introduced braking change by:
- removing RequestsHttpConnection
- removing use_ssl from Elasticsearch class
SSL is not set as 'scheme' string (http/https) in host dict.
Custom authorization need to set node_class to requests.
Remove support for 2.7 and below 3.6 Python version.
Elasticsearch from version 8.0 version, new library supports Python 3.6+.
update version label to 1.1.0
@cgi-gerlando-caldara
Copy link

Hi together, facing the version 8 imkompatible issue and asking if I can help to verfiy, adjust, push this pull request?

@drumadrian
Copy link
Collaborator

Hi @cgi-gerlando-caldara and @thoscilo

Would you like to meet and merge this outstanding Pull Request with the others?

I need to construct a test cluster in AWS se we can make sure everything works.

Thank you Sincerely,

Adrian
863-202-0801

P.S. I live in San Diego California and I am in the middle of scaling up a company I started. Time is scarce. I rarely get sleep, but I am happy to spend a day working on this project with you both. 🤓

@thoscilo thoscilo closed this Apr 17, 2024
@thoscilo thoscilo deleted the elastisearch-v8-support branch April 17, 2024 13:04
@thoscilo thoscilo restored the elastisearch-v8-support branch April 17, 2024 18:40
@thoscilo thoscilo reopened this Apr 17, 2024
@dahovey
Copy link

dahovey commented Jun 25, 2024

Is this project being maintained still? Ran into this issue trying to get started with this package.

@drumadrian
Copy link
Collaborator

drumadrian commented Jun 26, 2024 via email

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.

4 participants