commit python-elasticsearch for openSUSE:Factory

2020-08-25 Thread root
Hello community,

here is the log from the commit of package python-elasticsearch for 
openSUSE:Factory checked in at 2020-08-25 12:37:53

Comparing /work/SRC/openSUSE:Factory/python-elasticsearch (Old)
 and  /work/SRC/openSUSE:Factory/.python-elasticsearch.new.3399 (New)


Package is "python-elasticsearch"

Tue Aug 25 12:37:53 2020 rev:10 rq:827223 version:7.6.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-elasticsearch/python-elasticsearch.changes
2020-04-07 10:26:25.358169455 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch.new.3399/python-elasticsearch.changes
  2020-08-25 12:37:54.469404749 +0200
@@ -1,0 +2,7 @@
+Sun Aug 16 12:33:29 UTC 2020 - John Vandenberg 
+
+- Replace nose with pytest
+- Remove %bcond_without test
+- Tidy spec
+
+---



Other differences:
--
++ python-elasticsearch.spec ++
--- /var/tmp/diff_new_pack.mvbOde/_old  2020-08-25 12:37:55.265404899 +0200
+++ /var/tmp/diff_new_pack.mvbOde/_new  2020-08-25 12:37:55.269404899 +0200
@@ -17,7 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
 Name:   python-elasticsearch
 Version:7.6.0
 Release:0
@@ -26,22 +25,19 @@
 Group:  Development/Languages/Python
 URL:https://github.com/elastic/elasticsearch-py
 Source: 
https://github.com/elastic/elasticsearch-py/archive/%{version}.tar.gz
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-Requires:   python-certifi
-Requires:   python-urllib3 >= 1.21.1
-BuildArch:  noarch
-%if %{with test}
 BuildRequires:  %{python_module certifi}
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module nosexcover}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pyaml}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests >= 2.0.0}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module urllib3 >= 1.21.1}
-%endif
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   python-certifi
+Requires:   python-urllib3 >= 1.21.1
+BuildArch:  noarch
 %python_subpackages
 
 %description
@@ -52,6 +48,7 @@
 %prep
 %setup -q -n elasticsearch-py-%{version}
 rm README.rst
+sed -i 's/from nose.plugins.skip import SkipTest/from unittest import 
SkipTest/' test_elasticsearch/test_helpers.py
 
 %build
 %python_build
@@ -60,10 +57,8 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
-%python_expand nosetests-%{$python_bin_suffix}
-%endif
+%pytest -rs
 
 %files %{python_files}
 %license LICENSE




commit python-elasticsearch for openSUSE:Factory

2020-04-07 Thread root
Hello community,

here is the log from the commit of package python-elasticsearch for 
openSUSE:Factory checked in at 2020-04-07 10:26:20

Comparing /work/SRC/openSUSE:Factory/python-elasticsearch (Old)
 and  /work/SRC/openSUSE:Factory/.python-elasticsearch.new.3248 (New)


Package is "python-elasticsearch"

Tue Apr  7 10:26:20 2020 rev:9 rq:791738 version:7.6.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-elasticsearch/python-elasticsearch.changes
2020-03-05 23:17:48.593161225 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch.new.3248/python-elasticsearch.changes
  2020-04-07 10:26:25.358169455 +0200
@@ -1,0 +2,17 @@
+Mon Apr  6 07:52:26 UTC 2020 - Marketa Calabkova 
+
+- Update to 7.6.0
+  * Added support for ES 7.6 APIs
+  * Added support for `X-Opaque-Id`_ to identify long-running tasks
+  * Added support for HTTP compression to ``RequestsHttpConnection``
+  * Updated default setting of ``http_compress`` when using ``cloud_id`` to 
``True``
+  * Updated default setting of ``sniffing`` when using ``cloud_id`` to 
``False``
+  * Updated default port to ``443`` if ``cloud_id`` and no other port is 
defined
+on the client or within ``cloud_id``
+  * Fix regression of ``client.cluster.state()`` where the default ``metric``
+should be set to ``"_all"`` if an index is given (See `#1143`_)
+  * Fix regression of ``client.tasks.get()`` without a ``task_id``
+having similar functionality to ``client.tasks.list()`` This will
+be removed in ``v8.0`` of ``elasticsearch-py`` (See `#1157`_)
+
+---

Old:

  7.5.1.tar.gz

New:

  7.6.0.tar.gz



Other differences:
--
++ python-elasticsearch.spec ++
--- /var/tmp/diff_new_pack.kGOXkN/_old  2020-04-07 10:26:26.134170318 +0200
+++ /var/tmp/diff_new_pack.kGOXkN/_new  2020-04-07 10:26:26.138170322 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without  test
 Name:   python-elasticsearch
-Version:7.5.1
+Version:7.6.0
 Release:0
 Summary:Python client for Elasticsearch
 License:Apache-2.0
@@ -29,9 +29,11 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-certifi
 Requires:   python-urllib3 >= 1.21.1
 BuildArch:  noarch
 %if %{with test}
+BuildRequires:  %{python_module certifi}
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nosexcover}
@@ -60,7 +62,7 @@
 
 %if %{with test}
 %check
-%python_exec setup.py test
+%python_expand nosetests-%{$python_bin_suffix}
 %endif
 
 %files %{python_files}

++ 7.5.1.tar.gz -> 7.6.0.tar.gz ++
 11025 lines of diff (skipped)




commit python-elasticsearch for openSUSE:Factory

2020-03-05 Thread root
Hello community,

here is the log from the commit of package python-elasticsearch for 
openSUSE:Factory checked in at 2020-03-05 23:17:37

Comparing /work/SRC/openSUSE:Factory/python-elasticsearch (Old)
 and  /work/SRC/openSUSE:Factory/.python-elasticsearch.new.26092 (New)


Package is "python-elasticsearch"

Thu Mar  5 23:17:37 2020 rev:8 rq:781062 version:7.5.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-elasticsearch/python-elasticsearch.changes
2019-09-17 13:36:18.777853345 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch.new.26092/python-elasticsearch.changes
 2020-03-05 23:17:48.593161225 +0100
@@ -1,0 +2,12 @@
+Mon Mar  2 15:39:59 UTC 2020 - Marketa Calabkova 
+
+- Update to 7.5.1
+  * All API is now auto generated
+  * deprecated the .xpack namespace
+  * Update client to support ES 7.5 APIs
+  * Fix sniffing with http.publish_host
+  * Fix request_timeout for indices APIs
+  * Allow access to x-pack features without xpack namespace
+  * Fix verify_certs=False
+
+---

Old:

  7.0.4.tar.gz

New:

  7.5.1.tar.gz



Other differences:
--
++ python-elasticsearch.spec ++
--- /var/tmp/diff_new_pack.KgtArG/_old  2020-03-05 23:17:49.053161485 +0100
+++ /var/tmp/diff_new_pack.KgtArG/_new  2020-03-05 23:17:49.053161485 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-elasticsearch
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,18 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without  test
 Name:   python-elasticsearch
-Version:7.0.4
+Version:7.5.1
 Release:0
 Summary:Python client for Elasticsearch
 License:Apache-2.0
 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/%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-urllib3 >= 1.21.1
+BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module mock}
@@ -38,9 +40,6 @@
 BuildRequires:  %{python_module requests >= 2.0.0}
 BuildRequires:  %{python_module urllib3 >= 1.21.1}
 %endif
-Requires:   python-urllib3 >= 1.21.1
-BuildArch:  noarch
-
 %python_subpackages
 
 %description

++ 7.0.4.tar.gz -> 7.5.1.tar.gz ++
 14548 lines of diff (skipped)




commit python-elasticsearch for openSUSE:Factory

2019-09-17 Thread root
Hello community,

here is the log from the commit of package python-elasticsearch for 
openSUSE:Factory checked in at 2019-09-17 13:36:17

Comparing /work/SRC/openSUSE:Factory/python-elasticsearch (Old)
 and  /work/SRC/openSUSE:Factory/.python-elasticsearch.new.7948 (New)


Package is "python-elasticsearch"

Tue Sep 17 13:36:17 2019 rev:7 rq:730628 version:7.0.4

Changes:

--- 
/work/SRC/openSUSE:Factory/python-elasticsearch/python-elasticsearch.changes
2019-06-13 22:29:20.496459337 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch.new.7948/python-elasticsearch.changes
  2019-09-17 13:36:18.777853345 +0200
@@ -1,0 +2,8 @@
+Fri Sep 13 08:03:22 UTC 2019 - Tomáš Chvátal 
+
+- Update to 7.0.4:
+  * remove sleep in retries
+  * pass scroll_id through body in scroll
+  * add user-agent
+
+---

Old:

  7.0.2.tar.gz

New:

  7.0.4.tar.gz



Other differences:
--
++ python-elasticsearch.spec ++
--- /var/tmp/diff_new_pack.toIC3k/_old  2019-09-17 13:36:19.277853265 +0200
+++ /var/tmp/diff_new_pack.toIC3k/_new  2019-09-17 13:36:19.277853265 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without  test
 Name:   python-elasticsearch
-Version:7.0.2
+Version:7.0.4
 Release:0
 Summary:Python client for Elasticsearch
 License:Apache-2.0

++ 7.0.2.tar.gz -> 7.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/elasticsearch-py-7.0.2/Changelog.rst 
new/elasticsearch-py-7.0.4/Changelog.rst
--- old/elasticsearch-py-7.0.2/Changelog.rst2019-05-28 19:33:06.0 
+0200
+++ new/elasticsearch-py-7.0.4/Changelog.rst2019-08-22 18:10:02.0 
+0200
@@ -5,6 +5,16 @@
 7.1.0 (dev)
 ---
 
+7.0.4 (2019-08-22)
+---
+  * Fix wheel distribution
+
+7.0.3 (2019-08-21)
+---
+  * remove sleep in retries
+  * pass ``scroll_id`` through body in ``scroll``
+  * add ``user-agent``
+
 7.0.2 (2019-05-29)
 ---
   * Add connection parameter for Elastic Cloud cloud_id.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/elasticsearch-py-7.0.2/docs/helpers.rst 
new/elasticsearch-py-7.0.4/docs/helpers.rst
--- old/elasticsearch-py-7.0.2/docs/helpers.rst 2019-05-28 19:33:06.0 
+0200
+++ new/elasticsearch-py-7.0.4/docs/helpers.rst 2019-08-22 18:10:02.0 
+0200
@@ -93,6 +93,23 @@
 For a more complete and complex example please take a look at
 
https://github.com/elastic/elasticsearch-py/blob/master/example/load.py#L76-L130
 
+The :meth:`~elasticsearch.Elasticsearch.parallel_bulk` api is a wrapper around 
the :meth:`~elasticsearch.Elasticsearch.bulk` api to provide threading. 
:meth:`~elasticsearch.Elasticsearch.parallel_bulk` returns a generator which 
must be consumed to produce results.
+
+To see the results use:
+
+.. code:: python
+
+for success, info in parallel_bulk(...):
+if not success:
+print('A document failed:', info)
+
+If you don't care about the results, you can use deque from collections:
+
+.. code:: python
+
+from collections import deque
+deque(parallel_bulk(...), maxlen=0)
+
 .. note::
 
 When reading raw json strings from a file, you can also pass them in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/elasticsearch-py-7.0.2/docs/index.rst 
new/elasticsearch-py-7.0.4/docs/index.rst
--- old/elasticsearch-py-7.0.2/docs/index.rst   2019-05-28 19:33:06.0 
+0200
+++ new/elasticsearch-py-7.0.4/docs/index.rst   2019-08-22 18:10:02.0 
+0200
@@ -17,6 +17,9 @@
 The library is compatible with all Elasticsearch versions since ``0.90.x`` but 
you
 **have to use a matching major version**:
 
+For **Elasticsearch 7.0** and later, use the major version 7 (``7.x.y``) of the
+library.
+
 For **Elasticsearch 6.0** and later, use the major version 6 (``6.x.y``) of the
 library.
 
@@ -29,6 +32,9 @@
 The recommended way to set your requirements in your `setup.py` or
 `requirements.txt` is::
 
+# Elasticsearch 7.x
+elasticsearch>=7.0.0,<8.0.0
+
 # Elasticsearch 6.x
 elasticsearch>=6.0.0,<7.0.0
 
@@ -39,7 +45,7 @@
 elasticsearch>=2.0.0,<3.0.0
 
 If you have a need to have multiple versions installed at the same time older
-versions are also released as ``elasticsearch2`` and ``elasticsearch5``.
+versions are also released as ``elasticsearch2``, ``elasticsearch5`` and 
``elasticsearch6``.
 
 Installation
 
@@ -63,10 +69,10 @@
 'text': 'Elasticsearch: cool. bonsai cool.',
 'timestamp': datetime.now(),
 }
-res 

commit python-elasticsearch for openSUSE:Factory

2019-06-13 Thread root
Hello community,

here is the log from the commit of package python-elasticsearch for 
openSUSE:Factory checked in at 2019-06-13 22:29:19

Comparing /work/SRC/openSUSE:Factory/python-elasticsearch (Old)
 and  /work/SRC/openSUSE:Factory/.python-elasticsearch.new.4811 (New)


Package is "python-elasticsearch"

Thu Jun 13 22:29:19 2019 rev:6 rq:708268 version:7.0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-elasticsearch/python-elasticsearch.changes
2019-01-11 14:06:34.035734956 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch.new.4811/python-elasticsearch.changes
  2019-06-13 22:29:20.496459337 +0200
@@ -1,0 +2,13 @@
+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
+
+---

Old:

  elasticsearch-6.3.1.tar.gz

New:

  7.0.2.tar.gz



Other differences:
--
++ python-elasticsearch.spec ++
--- /var/tmp/diff_new_pack.PTy7gP/_old  2019-06-13 22:29:21.116459135 +0200
+++ /var/tmp/diff_new_pack.PTy7gP/_new  2019-06-13 22:29:21.120459134 +0200
@@ -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 @@
 to be opinion-free and very extendable.
 
 %prep
-%setup -q -n elasticsearch-%{version}
+%setup -q -n elasticsearch-py-%{version}
 rm README.rst
 
 %build

++ elasticsearch-6.3.1.tar.gz -> 7.0.2.tar.gz ++
 13351 lines of diff (skipped)




commit python-elasticsearch for openSUSE:Factory

2019-01-11 Thread root
Hello community,

here is the log from the commit of package python-elasticsearch for 
openSUSE:Factory checked in at 2019-01-11 14:05:24

Comparing /work/SRC/openSUSE:Factory/python-elasticsearch (Old)
 and  /work/SRC/openSUSE:Factory/.python-elasticsearch.new.28833 (New)


Package is "python-elasticsearch"

Fri Jan 11 14:05:24 2019 rev:5 rq:664361 version:6.3.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-elasticsearch/python-elasticsearch.changes
2018-12-13 19:43:38.101075958 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch.new.28833/python-elasticsearch.changes
 2019-01-11 14:06:34.035734956 +0100
@@ -1,0 +2,21 @@
+Thu Jan 10 13:18:55 UTC 2019 - Thomas Bechtold 
+
+- update to 6.3.1:
+  * Removed deprecated option ``update_all_types``.
+  * Pass retry object instead of False in urllib3
+  * Add support for `allow_partial_search_results`
+  * Deprecate `update_all_types`
+  * Add an exponential wait on delays
+  * Fix issues with dependencies
+  * Adding X-pack Docs
+  * Adding forecast to x-pack ML client
+  * cleanup for SSL Context
+  * Add X-Pack clients to -py
+  * Adding Gzip support for capacity constrained networks
+  * ``_routing`` in bulk action has been deprecated in ES. Introduces a 
breaking change
+if you use ``routing`` as a field in your documents.
+  * Updates to SSLContext logic to make it easier to use and have saner 
defaults.
+  * Doc updates
+  * bad release
+
+---

Old:

  elasticsearch-6.0.0.tar.gz

New:

  elasticsearch-6.3.1.tar.gz



Other differences:
--
++ python-elasticsearch.spec ++
--- /var/tmp/diff_new_pack.5JX2V8/_old  2019-01-11 14:06:34.543734445 +0100
+++ /var/tmp/diff_new_pack.5JX2V8/_new  2019-01-11 14:06:34.543734445 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-elasticsearch
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 # Test files not included in source archive
 %bcond_with test
 Name:   python-elasticsearch
-Version:6.0.0
+Version:6.3.1
 Release:0
 Summary:Python client for Elasticsearch
 License:Apache-2.0
@@ -31,15 +31,14 @@
 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}
 BuildRequires:  %{python_module pyaml}
 BuildRequires:  %{python_module requests >= 2.0.0}
-BuildRequires:  %{python_module urllib3 >= 1.8}
+BuildRequires:  %{python_module urllib3 >= 1.21.1}
 %endif
-Requires:   python-urllib3 >= 1.8
+Requires:   python-urllib3 >= 1.21.1
 BuildArch:  noarch
 
 %python_subpackages

++ elasticsearch-6.0.0.tar.gz -> elasticsearch-6.3.1.tar.gz ++
 2550 lines of diff (skipped)




commit python-elasticsearch for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package python-elasticsearch for 
openSUSE:Factory checked in at 2018-12-13 19:43:36

Comparing /work/SRC/openSUSE:Factory/python-elasticsearch (Old)
 and  /work/SRC/openSUSE:Factory/.python-elasticsearch.new.28833 (New)


Package is "python-elasticsearch"

Thu Dec 13 19:43:36 2018 rev:4 rq:654031 version:6.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-elasticsearch/python-elasticsearch.changes
2017-11-24 10:55:35.993810084 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch.new.28833/python-elasticsearch.changes
 2018-12-13 19:43:38.101075958 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:47:36 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-elasticsearch.spec ++
--- /var/tmp/diff_new_pack.qbmcfr/_old  2018-12-13 19:43:39.445074204 +0100
+++ /var/tmp/diff_new_pack.qbmcfr/_new  2018-12-13 19:43:39.493074141 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-elasticsearch
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -27,7 +27,6 @@
 Group:  Development/Languages/Python
 Url:https://github.com/elastic/elasticsearch-py
 Source: 
https://files.pythonhosted.org/packages/source/e/elasticsearch/elasticsearch-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros




commit python-elasticsearch for openSUSE:Factory

2017-11-24 Thread root
Hello community,

here is the log from the commit of package python-elasticsearch for 
openSUSE:Factory checked in at 2017-11-24 10:55:35

Comparing /work/SRC/openSUSE:Factory/python-elasticsearch (Old)
 and  /work/SRC/openSUSE:Factory/.python-elasticsearch.new (New)


Package is "python-elasticsearch"

Fri Nov 24 10:55:35 2017 rev:3 rq:544888 version:6.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-elasticsearch/python-elasticsearch.changes
2017-10-20 14:47:06.384775915 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch.new/python-elasticsearch.changes
   2017-11-24 10:55:35.993810084 +0100
@@ -1,0 +2,11 @@
+Thu Nov 23 15:32:45 UTC 2017 - mimi...@gmail.com
+
+- fix Source url, use pypi package  
+
+---
+Thu Nov 23 13:27:11 UTC 2017 - kkae...@suse.com
+
+- Update to 6.0.0
+  * compatibility with Elasticsearch 6.0.0
+
+---

Old:

  elasticsearch-5.4.0.tar.gz

New:

  elasticsearch-6.0.0.tar.gz



Other differences:
--
++ python-elasticsearch.spec ++
--- /var/tmp/diff_new_pack.e6MXWy/_old  2017-11-24 10:55:36.81451 +0100
+++ /var/tmp/diff_new_pack.e6MXWy/_new  2017-11-24 10:55:36.81451 +0100
@@ -20,7 +20,7 @@
 # Test files not included in source archive
 %bcond_with test
 Name:   python-elasticsearch
-Version:5.4.0
+Version:6.0.0
 Release:0
 Summary:Python client for Elasticsearch
 License:Apache-2.0
@@ -52,6 +52,7 @@
 
 %prep
 %setup -q -n elasticsearch-%{version}
+rm README.rst
 
 %build
 %python_build
@@ -66,8 +67,8 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS Changelog.rst LICENSE README README.rst
+%license LICENSE
+%doc AUTHORS Changelog.rst README
 %{python_sitelib}/*
 
 %changelog

++ elasticsearch-5.4.0.tar.gz -> elasticsearch-6.0.0.tar.gz ++
 2374 lines of diff (skipped)




commit python-elasticsearch for openSUSE:Factory

2017-10-20 Thread root
Hello community,

here is the log from the commit of package python-elasticsearch for 
openSUSE:Factory checked in at 2017-10-20 14:47:05

Comparing /work/SRC/openSUSE:Factory/python-elasticsearch (Old)
 and  /work/SRC/openSUSE:Factory/.python-elasticsearch.new (New)


Package is "python-elasticsearch"

Fri Oct 20 14:47:05 2017 rev:2 rq:535242 version:5.4.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-elasticsearch/python-elasticsearch.changes
2017-03-02 19:25:37.323085924 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch.new/python-elasticsearch.changes
   2017-10-20 14:47:06.384775915 +0200
@@ -1,0 +2,7 @@
+Thu Oct 19 00:43:55 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+- Update to version 5.4.0
+  * see changelog at 
https://github.com/elastic/elasticsearch-py/blob/5.4.0/Changelog.rst
+
+---

Old:

  elasticsearch-5.2.0.tar.gz

New:

  elasticsearch-5.4.0.tar.gz



Other differences:
--
++ python-elasticsearch.spec ++
--- /var/tmp/diff_new_pack.neRdh1/_old  2017-10-20 14:47:07.552721299 +0200
+++ /var/tmp/diff_new_pack.neRdh1/_new  2017-10-20 14:47:07.552721299 +0200
@@ -16,38 +16,56 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+# Test files not included in source archive
+%bcond_with test
 Name:   python-elasticsearch
-Version:5.2.0
+Version:5.4.0
 Release:0
 Summary:Python client for Elasticsearch
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:https://github.com/elasticsearch/elasticsearch-py
-Source: 
https://pypi.io/packages/source/e/elasticsearch/elasticsearch-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-Requires:   python-urllib3
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
-BuildArch:  noarch
+Url:https://github.com/elastic/elasticsearch-py
+Source: 
https://files.pythonhosted.org/packages/source/e/elasticsearch/elasticsearch-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+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}
+BuildRequires:  %{python_module pyaml}
+BuildRequires:  %{python_module requests >= 2.0.0}
+BuildRequires:  %{python_module urllib3 >= 1.8}
 %endif
+Requires:   python-urllib3 >= 1.8
+BuildArch:  noarch
+
+%python_subpackages
 
 %description
-Official low-level client for Elasticsearch. It provides common
-code for all further Elasticsearch-related code in Python.
+Official low-level client for Elasticsearch. Its goal is to provide common
+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}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%if %{with test}
+%check
+%python_exec setup.py test
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc AUTHORS Changelog.rst LICENSE README README.rst
 %{python_sitelib}/*

++ elasticsearch-5.2.0.tar.gz -> elasticsearch-5.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/elasticsearch-5.2.0/Changelog.rst 
new/elasticsearch-5.4.0/Changelog.rst
--- old/elasticsearch-5.2.0/Changelog.rst   2017-02-12 16:24:44.0 
+0100
+++ new/elasticsearch-5.4.0/Changelog.rst   2017-05-18 19:10:24.0 
+0200
@@ -3,6 +3,17 @@
 Changelog
 =
 
+5.4.0 (2017-05-18)
+--
+
+ * ``bulk`` helpers now extract ``pipeline`` parameter from the action
+   dictionary.
+
+5.3.0 (2017-03-30)
+--
+
+Compatibility with elasticsearch 5.3
+
 5.2.0 (2017-02-12)
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/elasticsearch-5.2.0/PKG-INFO 
new/elasticsearch-5.4.0/PKG-INFO
--- old/elasticsearch-5.2.0/PKG-INFO2017-02-12 16:33:55.0 +0100
+++ new/elasticsearch-5.4.0/PKG-INFO2017-05-18 19:12:04.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: elasticsearch
-Version: 5.2.0
+Version: