Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-elasticsearch-dsl for 
openSUSE:Factory checked in at 2022-10-19 13:17:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-elasticsearch-dsl (Old)
 and      /work/SRC/openSUSE:Factory/.python-elasticsearch-dsl.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-elasticsearch-dsl"

Wed Oct 19 13:17:27 2022 rev:4 rq:1029714 version:7.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-elasticsearch-dsl/python-elasticsearch-dsl.changes
        2022-05-23 17:05:40.905258446 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-elasticsearch-dsl.new.2275/python-elasticsearch-dsl.changes
      2022-10-19 13:17:52.757247257 +0200
@@ -1,0 +2,32 @@
+Tue Oct 18 06:48:14 UTC 2022 - Matej Cepl <mc...@suse.com>
+
+- Update to 7.4.0:
+  - Added the ConstantKeyword, RankFeatures field types
+  - Added the ScriptScore query type
+  - Added UpdateByQueryResponse.success() method
+  - Added return_doc_meta parameter to Document.save() and
+    Document.update() for accessing the complete API response
+  - Added support for calendar_interval and fixed_interval to
+    DateHistogramFacet
+  - Added Document.exists() method
+  - Added support for the year interval to DateHistogramFacet
+  - Fixed issue where to_dict() should be called recursively on
+    Search.extras and **kwargs
+  - Fixed inverse of an empty Bool query should be MatchNone
+  - Fixed issue between retry_on_conflict and optimistic
+    concurrency control within Document.update()
+- Update to 7.3.0:
+  - Added Intervals, MatchBoolPrefix, Shape, and Wrapper queries
+  - Added Boxplot, RareTerms, VariableWidthHistogram,
+    MedianAbsoluteDeviation, TTest, CumulativeCardinality,
+    Inference, MovingPercentiles, and Normalize aggregations
+  - Added __all__ and removed all star imports from
+    elasticsearch_dsl namespace to avoid leaking unintended names
+  - Fixed an issue where Object and Nested could mutate the inner
+    doc_class mapping
+  - Fixed a typo in query SpanContaining, previously was
+    SpanContainining
+- Limit required (and buildrequired) elasticsearch to < 8
+  (gh#elastic/elasticsearch-dsl-py#1569).
+
+-------------------------------------------------------------------

Old:
----
  elasticsearch-dsl-7.2.1.tar.gz

New:
----
  elasticsearch-dsl-7.4.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-elasticsearch-dsl.spec ++++++
--- /var/tmp/diff_new_pack.5Lp72a/_old  2022-10-19 13:17:53.329248442 +0200
+++ /var/tmp/diff_new_pack.5Lp72a/_new  2022-10-19 13:17:53.333248450 +0200
@@ -16,27 +16,29 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-elasticsearch-dsl
-Version:        7.2.1
+Version:        7.4.0
 Release:        0
 Summary:        Python client for Elasticsearch
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/elasticsearch/elasticsearch-dsl-py
-Source:         
https://github.com/elastic/elasticsearch-dsl-py/archive/%{version}.tar.gz#/elasticsearch-dsl-%{version}.tar.gz
+Source:         
https://github.com/elastic/elasticsearch-dsl-py/archive/refs/tags/v%{version}.tar.gz#/elasticsearch-dsl-%{version}.tar.gz
 # https://github.com/elastic/elasticsearch-dsl-py/issues/1596
+# PATCH-FEATURE-UPSTREAM python-elasticsearch-dsl-no-mock.patch 
gh#elastic/elasticsearch-dsl-py#1596 mc...@suse.com
+# Use unittest.mock instead of the external package (merged to master, not yet 
released)
 Patch0:         python-elasticsearch-dsl-no-mock.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-elasticsearch >= 7.0.0
+# gh#elastic/elasticsearch-dsl-py#1569
+Requires:       (python-elasticsearch >= 7.0.0 with python-elasticsearch < 8)
 Requires:       python-python-dateutil
 Requires:       python-six
 Suggests:       python-pytz
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module elasticsearch >= 7.0.0}
+BuildRequires:  %{python_module elasticsearch >= 7.0.0 with 
%python-elasticsearch < 8.0.0}
 BuildRequires:  %{python_module pytest >= 3.0.0}
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module pytz}
@@ -48,8 +50,7 @@
 Python client for Elasticsearch.
 
 %prep
-%setup -q -n elasticsearch-dsl-py-%{version}
-%patch0 -p1
+%autosetup -p1 -n elasticsearch-dsl-py-%{version}
 
 %build
 %python_build
@@ -64,6 +65,7 @@
 %files %{python_files}
 %doc AUTHORS Changelog.rst README
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/elasticsearch_dsl/
+%{python_sitelib}/elasticsearch_dsl-%{version}*-info/
 
 %changelog

++++++ elasticsearch-dsl-7.2.1.tar.gz -> elasticsearch-dsl-7.4.0.tar.gz ++++++
++++ 19689 lines of diff (skipped)

++++++ python-elasticsearch-dsl-no-mock.patch ++++++
--- /var/tmp/diff_new_pack.5Lp72a/_old  2022-10-19 13:17:53.669249147 +0200
+++ /var/tmp/diff_new_pack.5Lp72a/_new  2022-10-19 13:17:53.669249147 +0200
@@ -1,7 +1,10 @@
-diff -upr elasticsearch-dsl-py-7.2.1.orig/test_elasticsearch_dsl/conftest.py 
elasticsearch-dsl-py-7.2.1/test_elasticsearch_dsl/conftest.py
---- elasticsearch-dsl-py-7.2.1.orig/test_elasticsearch_dsl/conftest.py 
2022-05-23 13:59:46.128193973 +0200
-+++ elasticsearch-dsl-py-7.2.1/test_elasticsearch_dsl/conftest.py      
2022-05-23 13:59:46.152194107 +0200
-@@ -5,7 +5,7 @@ from datetime import datetime
+---
+ tests/conftest.py |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -23,7 +23,7 @@ from datetime import datetime
  
  from elasticsearch.helpers import bulk
  from elasticsearch.helpers.test import SkipTest, get_test_client
@@ -9,5 +12,5 @@
 +from unittest.mock import Mock
  from pytest import fixture, skip
  
- from elasticsearch_dsl.connections import connections, add_connection
+ from elasticsearch_dsl.connections import add_connection, connections
 

Reply via email to