- Update to 8.4.3:
- Client is compatible with Elasticsearch 8.4.3 - Added the error_trace, filter_path, human and pretty parameters to the get_source API. - Added the ext parameter to the search API. - Added the ext parameter to the async_search.submit API. - Added the ext parameter to the fleet.search API. - Added the knn parameter to the search API. - Added the knn parameter to the async_search.submit API. - Added the cache_size parameter to the ml.start_trained_model_deployment API. - Added the security.update_api_key API. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elasticsearch?expand=0&rev=29
This commit is contained in:
parent
390e993b19
commit
a0287c6372
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4b04930ff043894738e835ef6f6cc172f2e4929d3338263f6e650ef0fed76a93
|
|
||||||
size 514532
|
|
3
elasticsearch-py-8.4.3.tar.gz
Normal file
3
elasticsearch-py-8.4.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a2528308183c9f88b460f742084e20f793b8cc7a0271d36250efcaaedbf8c224
|
||||||
|
size 516311
|
@ -1,39 +0,0 @@
|
|||||||
Index: elasticsearch-py-8.3.3/test_elasticsearch/test_helpers.py
|
|
||||||
===================================================================
|
|
||||||
--- elasticsearch-py-8.3.3.orig/test_elasticsearch/test_helpers.py
|
|
||||||
+++ elasticsearch-py-8.3.3/test_elasticsearch/test_helpers.py
|
|
||||||
@@ -19,7 +19,7 @@
|
|
||||||
import threading
|
|
||||||
import time
|
|
||||||
|
|
||||||
-import mock
|
|
||||||
+from unittest import mock
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from elasticsearch import Elasticsearch, helpers
|
|
||||||
Index: elasticsearch-py-8.3.3/test_elasticsearch/test_server/test_helpers.py
|
|
||||||
===================================================================
|
|
||||||
--- elasticsearch-py-8.3.3.orig/test_elasticsearch/test_server/test_helpers.py
|
|
||||||
+++ elasticsearch-py-8.3.3/test_elasticsearch/test_server/test_helpers.py
|
|
||||||
@@ -21,7 +21,7 @@ from datetime import datetime, timedelta
|
|
||||||
import pytest
|
|
||||||
from dateutil import tz
|
|
||||||
from elastic_transport import ApiResponseMeta, ObjectApiResponse
|
|
||||||
-from mock import call, patch
|
|
||||||
+from unittest.mock import call, patch
|
|
||||||
|
|
||||||
from elasticsearch import ApiError, helpers
|
|
||||||
from elasticsearch.helpers import ScanError
|
|
||||||
Index: elasticsearch-py-8.3.3/test_elasticsearch/test_async/test_server/test_helpers.py
|
|
||||||
===================================================================
|
|
||||||
--- elasticsearch-py-8.3.3.orig/test_elasticsearch/test_async/test_server/test_helpers.py
|
|
||||||
+++ elasticsearch-py-8.3.3/test_elasticsearch/test_async/test_server/test_helpers.py
|
|
||||||
@@ -20,7 +20,7 @@ from datetime import datetime, timedelta
|
|
||||||
|
|
||||||
import pytest
|
|
||||||
from elastic_transport import ApiResponseMeta, ObjectApiResponse
|
|
||||||
-from mock import MagicMock, call, patch
|
|
||||||
+from unittest.mock import MagicMock, call, patch
|
|
||||||
|
|
||||||
from elasticsearch import helpers
|
|
||||||
from elasticsearch.exceptions import ApiError
|
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 17 21:13:04 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to 8.4.3:
|
||||||
|
- Client is compatible with Elasticsearch 8.4.3
|
||||||
|
- Added the error_trace, filter_path, human and pretty
|
||||||
|
parameters to the get_source API.
|
||||||
|
- Added the ext parameter to the search API.
|
||||||
|
- Added the ext parameter to the async_search.submit API.
|
||||||
|
- Added the ext parameter to the fleet.search API.
|
||||||
|
- Added the knn parameter to the search API.
|
||||||
|
- Added the knn parameter to the async_search.submit API.
|
||||||
|
- Added the cache_size parameter to the
|
||||||
|
ml.start_trained_model_deployment API.
|
||||||
|
- Added the security.update_api_key API.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 18 16:35:28 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Thu Aug 18 16:35:28 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -19,15 +19,13 @@
|
|||||||
%{?!python_module:%define python_module() python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-elasticsearch
|
Name: python-elasticsearch
|
||||||
Version: 8.3.3
|
Version: 8.4.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python client for Elasticsearch
|
Summary: Python client for Elasticsearch
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
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#/elasticsearch-py-%{version}.tar.gz
|
Source: https://github.com/elastic/elasticsearch-py/archive/refs/tags/v%{version}.tar.gz#/elasticsearch-py-%{version}.tar.gz
|
||||||
# https://github.com/elastic/elasticsearch-py/issues/1983
|
|
||||||
Patch0: python-elasticsearch-no-mock.patch
|
|
||||||
BuildRequires: %{python_module elastic-transport >= 8 with %python-elastic-transport < 9}
|
BuildRequires: %{python_module elastic-transport >= 8 with %python-elastic-transport < 9}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
Loading…
Reference in New Issue
Block a user