forked from pool/python-elasticsearch
Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3c1d9f4962 | |||
| 5a4a0dbfe4 | |||
| 19a34995ac | |||
| 1c23946b35 | |||
| 60ab2816a6 | |||
| 031b897d5c | |||
| e148dbfba4 | |||
| 82ef2db5fa | |||
| 7b06cedc8a |
@@ -1,3 +1,143 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 20 08:33:01 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Update to 9.2.0
|
||||||
|
* Merge elasticsearch-dsl-py package
|
||||||
|
* Remove deprecated Elasticsearch() options
|
||||||
|
* Remove deprecated url_prefix and use_ssl options
|
||||||
|
* Improve DSL documentation examples with class-based queries and
|
||||||
|
type hints
|
||||||
|
* ES|QL query builder (technical preview)
|
||||||
|
* Update OpenTelemetry conventions
|
||||||
|
* Add option to disable accurate reporting of file and line location in warnings
|
||||||
|
* Support Trio when using the HTTPX async client
|
||||||
|
* Pydantic integration for the DSL module
|
||||||
|
* Add flush_after_seconds option to streaming_bulk()
|
||||||
|
* Add TS, FUSE and INLINE STATS commands to the ES|QL query builder
|
||||||
|
- Drop upstreamed event_loop.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 7 10:11:06 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Add upstream event_loop.patch to fix tests with pytest-asyncio 1.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 4 09:04:37 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 8.17.1
|
||||||
|
* Make pyarrow dependency optional for tests (#2733, contributed by @danigm)
|
||||||
|
* Update APIs:
|
||||||
|
- Add Simulate ingest API
|
||||||
|
- Add Get data stream lifecycle stats API
|
||||||
|
- Add Update inference API
|
||||||
|
- Add Create or update, Get and Delete IP geolocation
|
||||||
|
database configuration APIs
|
||||||
|
- Add Bulk update API keys
|
||||||
|
- Add Get and Update Security index settings APIs
|
||||||
|
- Add OpenID Connect prepare authentication, OpenID
|
||||||
|
Connect authenticate and OpenID Connect logout APIs
|
||||||
|
- Add Delegate PKI authentication API
|
||||||
|
- Add Repository analysis API
|
||||||
|
- Add Render Search Application Query API
|
||||||
|
- Add Find field structure and Find messages structure APIs
|
||||||
|
- Add Get Watcher index settings and Update Watcher index settings APIs
|
||||||
|
- Add experimental Check in and Claim connector sync job APIs
|
||||||
|
- Add experimental Set connector sync job errors and Set connector sync job stats APIs
|
||||||
|
- Add experimental Update connector features APIs
|
||||||
|
- Add experimental Post Event to an Analytics Collection API
|
||||||
|
- Add timeout and master_timeout to Snapshot lifecycle management (SLM) APIs
|
||||||
|
- Add allow_partial_search_results to SQL search API
|
||||||
|
- Add throttle_period_in_millis to Create or update watch API
|
||||||
|
- Fix query parameters for CAT APIs
|
||||||
|
- Drop 0001-Make-pyarrow-dependency-optional-for-tests.patch, merged upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 8 08:59:00 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Add patch to do not depend on pyarrow for tests: 0001-Make-pyarrow-dependency-optional-for-tests.patch
|
||||||
|
- Update to 8.17.0:
|
||||||
|
* Allow simsimd again on Python 3.13 (#2722)
|
||||||
|
* Update APIs:
|
||||||
|
- Mark all Inference APIs as stable.
|
||||||
|
- Add allow_partial_search_results to the Open Point in Time API
|
||||||
|
- Add keep_alive to the Get async search status API
|
||||||
|
- Remove the keep_alive, pre_filter_shard_size and scroll parameters from the Submit async search API. They were never supported.
|
||||||
|
- Add master_timeout and timeout to all autoscaling policy APIs
|
||||||
|
- Add master_timeout to the Alias exists and Get alias APIs
|
||||||
|
- Add list_executed_pipelines and require_data_stream to Bulk API
|
||||||
|
- Add include_model_definition to Get trained models API
|
||||||
|
- Add meta to Create data frame analytics API
|
||||||
|
- Add aggs to Create datafeeds API
|
||||||
|
- Add allow_no_indices, expand_wildcards, ignore_throttled and ignore_unavailable to Create anomaly detection jobs API
|
||||||
|
- 8.16.0:
|
||||||
|
* Support Python 3.13 (#2680)
|
||||||
|
* Emit Python warnings for beta and tech preview APIs (#2675).
|
||||||
|
* Vectorstore: use a retriever query for hybrid search (#2666)
|
||||||
|
* Allow retries for statuses other than 429 in streaming bulk (#2071, contributed by @ayayron)
|
||||||
|
* Make BulkIndexError and ScanError serializable (#2669, contributed by @seagrine)
|
||||||
|
* Fix import when trace is missing from opentelemetry package (#2694, contributed by @nicoloboschi)
|
||||||
|
* Update APIs:
|
||||||
|
- Fix nodes parameter in Task management API (contributed by @margaretpearce)
|
||||||
|
- Add Test query rule API
|
||||||
|
- Add Create Cross-Cluster API key and Update Cross-Cluster API key APIs
|
||||||
|
- Add experimental Verify snapshot repository API
|
||||||
|
- Add data_stream_name and settings to Delete auto-follow pattern API
|
||||||
|
- Add max_samples_per_key to Get async EQL status API
|
||||||
|
- Add lifecycle and remove unused data_retention and downsampling parameters from Put data stream lifecycle API
|
||||||
|
- Add include_remotes and remove flat_settings from Cluster stats API
|
||||||
|
- Add remote_indices to Create or update application privileges and Create or update roles APIs
|
||||||
|
- 8.15.1:
|
||||||
|
* Fix OTel context loss in parallel bulk helper (#2616)
|
||||||
|
* Use request converter to generate python examples (#2645)
|
||||||
|
* Add Geoip database configuration APIs: Create or update, Get and Delete
|
||||||
|
* Add q parameter to Update by Query API
|
||||||
|
* Add allow_no_indices and ignore_unavailable parameters to Resolve index API
|
||||||
|
- 8.15.0:
|
||||||
|
* Added the Connector API (#2623)
|
||||||
|
* Added support for semantic_text and semantic query.
|
||||||
|
* Added support for sequences of job id, model id and tags where applicable in ML APIs
|
||||||
|
* Added dry_run and force parameters to the Perform inference API
|
||||||
|
* Added optional Arrow deserialization support (#2632)
|
||||||
|
* Merged Query Ruleset API into new Query Rules API (#2607)
|
||||||
|
* Added mapping code examples (#2596)
|
||||||
|
* Fixed reference docs (#2629)
|
||||||
|
* Dropped Python 3.7 support (#2618)
|
||||||
|
- 8.14.0:
|
||||||
|
* Fixed node_pool_class override (#2581, contributed by @tallakh)
|
||||||
|
* Added retriever to the Search API
|
||||||
|
* Added deprecated and removed allow_auto_create from the Create or update component template API
|
||||||
|
* Added allow_auto_create, cause, deprecated, ignore_missing_component_templates and master_timeout to the Create or update index template API
|
||||||
|
* Added cause, removed flat_settings and timeout from the Create or update index template legacy API
|
||||||
|
* Removed various unsupported parameters from the Simulate index API
|
||||||
|
* Added various supported paramters to the Simulate index template API
|
||||||
|
* Added the completion and rerank task types to the Inference APIs
|
||||||
|
* Added the query and timeout parameters to the Perform inference API
|
||||||
|
* Added typed_keys to the Search Application Search API
|
||||||
|
* Added with_profile_uid to the Get API key information and Query API key information APIs
|
||||||
|
- 8.13.2:
|
||||||
|
* Added the ml.update_trained_model_deployment API
|
||||||
|
* Marked Requests 2.32.2 as incompatible with the Elasticsearch client
|
||||||
|
- 8.13.1:
|
||||||
|
* Added force_synthetic_source to the Get API
|
||||||
|
* Added wait_for_completion to the Create trained model API
|
||||||
|
* Added typed_keys to the Query API key information API
|
||||||
|
- 8.13.0:
|
||||||
|
* Added native OpenTelemetry support (#2435)
|
||||||
|
* Added optional orjson (a fast, correct JSON library) serialization support (#2493)
|
||||||
|
* Added the text_structure.test_grok_pattern API
|
||||||
|
* Added the indices.resolve_cluster API
|
||||||
|
* Renamed the model_id parameter to inference_id in the inference APIs
|
||||||
|
* Changed all synonyms APIs from experimental to stable.
|
||||||
|
* Fixed API key documentation (#2477, contributed by @iuliaferoli)
|
||||||
|
- 8.12.1:
|
||||||
|
* Fixed but deprecated parameter aliases in body parameter (#2427)
|
||||||
|
* Added mappings and bulk to quickstart page (#2417)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 8 08:55:50 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Skip some flaky tests that fails in OBS build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 20 12:38:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Jan 20 12:38:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-elasticsearch
|
# spec file for package python-elasticsearch
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,9 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-elasticsearch
|
Name: python-elasticsearch
|
||||||
# DO NOT UPDATE until the compatible version of
|
Version: 9.2.0
|
||||||
# python-elasticsearch-dsl is available
|
|
||||||
Version: 8.12.0
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python client for Elasticsearch
|
Summary: Python client for Elasticsearch
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -28,21 +26,34 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/elastic/elasticsearch-py
|
URL: https://github.com/elastic/elasticsearch-py
|
||||||
Source: https://github.com/elastic/elasticsearch-py/archive/refs/tags/v%{version}.tar.gz
|
Source: https://github.com/elastic/elasticsearch-py/archive/refs/tags/v%{version}.tar.gz
|
||||||
BuildRequires: %{python_module certifi}
|
BuildRequires: %{python_module certifi}
|
||||||
BuildRequires: %{python_module elastic-transport}
|
BuildRequires: %{python_module elastic-transport >= 9.2.0}
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module urllib3 >= 1.21.1}
|
BuildRequires: %{python_module urllib3 >= 1.21.1}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-elastic-transport
|
Requires: python-anyio
|
||||||
|
Requires: python-elastic-transport >= 9.2.0
|
||||||
|
Requires: python-python-dateutil
|
||||||
|
Requires: python-sniffio
|
||||||
|
Requires: python-typing-extensions
|
||||||
|
Provides: python-elasticsearch-dsl = %{version}
|
||||||
|
Obsoletes: python-elasticsearch-dsl < %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test
|
# SECTION test
|
||||||
BuildRequires: %{python_module PyYAML >= 5.4}
|
BuildRequires: %{python_module PyYAML >= 5.4}
|
||||||
BuildRequires: %{python_module aiohttp >= 3 with %python-aiohttp < 4}
|
BuildRequires: %{python_module aiohttp >= 3}
|
||||||
|
BuildRequires: %{python_module anyio}
|
||||||
|
BuildRequires: %{python_module orjson}
|
||||||
|
BuildRequires: %{python_module pydantic}
|
||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
|
BuildRequires: %{python_module pytest-trio}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module python-dateutil}
|
BuildRequires: %{python_module python-dateutil}
|
||||||
|
BuildRequires: %{python_module pytz}
|
||||||
BuildRequires: %{python_module requests >= 2.4 with %python-requests < 3}
|
BuildRequires: %{python_module requests >= 2.4 with %python-requests < 3}
|
||||||
|
BuildRequires: %{python_module typing-extensions}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -63,12 +74,14 @@ sed -i '/addopts/d' setup.cfg
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
# Skip some flaky tests that fails in OBS
|
||||||
|
donttest="test_sniff_uses_sniff_timeout or test_sniff_on_node_failure_triggers"
|
||||||
|
%pytest -k "not ($donttest)"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CODE_OF_CONDUCT.md CHANGELOG.md README.rst
|
%doc CODE_OF_CONDUCT.md CHANGELOG.md README.md
|
||||||
%{python_sitelib}/elasticsearch
|
%{python_sitelib}/elasticsearch
|
||||||
%{python_sitelib}/elasticsearch-%{version}.dist-info
|
%{python_sitelib}/elasticsearch-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4618c879499f01b8b7e46932934bd840829e1d34c2647a496b7503682abe1122
|
|
||||||
size 906227
|
|
||||||
3
v9.2.0.tar.gz
Normal file
3
v9.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e2e6a5d609e1b07c739dab907c4d10eb0eae8ca4476333217232045cb9550f08
|
||||||
|
size 2499087
|
||||||
Reference in New Issue
Block a user