Subham-KRLX opened a new pull request, #64070: URL: https://github.com/apache/airflow/pull/64070
This PR updates the `elasticsearch-py` library dependency to support version `9.x` while maintaining backward compatibility with version `8.x` (`>=8.10`). Key changes: 1. Updated [airflow/providers/elasticsearch/pyproject.toml](cci:7://file:///Users/subhamsangwan/airflow/providers/elasticsearch/pyproject.toml:0:0-0:0) dependency range to `"elasticsearch>=8.10,<10"`. 2. Replaced the deprecated `http_auth` with `basic_auth` in hook connections. 3. Removed usage of the deprecated `body` parameter in query and search APIs, replacing it directly with keyword arguments (`**kwargs`) which works for both Elasticsearch 8.x and 9.x. closes: #64064 --- Was generative AI tooling used to co-author this PR? Yes — Gemini (Code Research and PR Description) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
