From e8aabf17228cf77c7b883059d03c1025d0baf2ed14e648b0a065999a311c2b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 7 Jun 2019 10:24:23 +0000 Subject: [PATCH] Accepting request 708266 from home:mcalabkova:branches:devel:languages:python - update to 7.0.2 * Add connection parameter for Elastic Cloud cloud_id * ML client uses client object for _bulk_body requests * Blocking pool must fit thread_count * Update client to support missing ES 7 API's and query params. * Removed deprecated option update_all_types * Using insecure SSL configuration (verify_cert=False) raises a warning, this can be not showed with ssl_show_warn=False * Add support for 7.x api's in Elasticsearch OBS-URL: https://build.opensuse.org/request/show/708266 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elasticsearch?expand=0&rev=15 --- 7.0.2.tar.gz | 3 +++ elasticsearch-6.3.1.tar.gz | 3 --- python-elasticsearch.changes | 13 +++++++++++++ python-elasticsearch.spec | 10 +++++----- 4 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 7.0.2.tar.gz delete mode 100644 elasticsearch-6.3.1.tar.gz diff --git a/7.0.2.tar.gz b/7.0.2.tar.gz new file mode 100644 index 0000000..2788e61 --- /dev/null +++ b/7.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ec50974fcdab710cbc608565da0903c2e0419ec5cf816040ba35036a4a525cd +size 102921 diff --git a/elasticsearch-6.3.1.tar.gz b/elasticsearch-6.3.1.tar.gz deleted file mode 100644 index 85e9d75..0000000 --- a/elasticsearch-6.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aada5cfdc4a543c47098eb3aca6663848ef5d04b4324935ced441debc11ec98b -size 71689 diff --git a/python-elasticsearch.changes b/python-elasticsearch.changes index 2d65f1f..daf3177 100644 --- a/python-elasticsearch.changes +++ b/python-elasticsearch.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Jun 7 09:21:34 UTC 2019 - Marketa Calabkova + +- update to 7.0.2 + * Add connection parameter for Elastic Cloud cloud_id + * ML client uses client object for _bulk_body requests + * Blocking pool must fit thread_count + * Update client to support missing ES 7 API's and query params. + * Removed deprecated option update_all_types + * Using insecure SSL configuration (verify_cert=False) raises a + warning, this can be not showed with ssl_show_warn=False + * Add support for 7.x api's in Elasticsearch + ------------------------------------------------------------------- Thu Jan 10 13:18:55 UTC 2019 - Thomas Bechtold diff --git a/python-elasticsearch.spec b/python-elasticsearch.spec index cd65211..b8f3434 100644 --- a/python-elasticsearch.spec +++ b/python-elasticsearch.spec @@ -17,20 +17,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Test files not included in source archive -%bcond_with test +%bcond_without test Name: python-elasticsearch -Version: 6.3.1 +Version: 7.0.2 Release: 0 Summary: Python client for Elasticsearch License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/elastic/elasticsearch-py -Source: https://files.pythonhosted.org/packages/source/e/elasticsearch/elasticsearch-%{version}.tar.gz +Source: https://github.com/elastic/elasticsearch-py/archive/%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} +BuildRequires: %{python_module coverage} BuildRequires: %{python_module mock} BuildRequires: %{python_module nosexcover} BuildRequires: %{python_module nose} @@ -49,7 +49,7 @@ ground for all Elasticsearch-related code in Python; because of this it tries to be opinion-free and very extendable. %prep -%setup -q -n elasticsearch-%{version} +%setup -q -n elasticsearch-py-%{version} rm README.rst %build