17
0

Compare commits

3 Commits

Author SHA256 Message Date
d1f699c13f Accepting request 1235858 from devel:languages:python
- Update to 8.17.0:
  * Added support for quantized dense vector options (#1948)
  * Added support for composable index templates (#1943)
- 8.16.0:
  * Autogenerate parts of the library using documentation and types from the Elasticsearch specification
    - query classes (#1890)
    - aggregation classes (#1918)
    - response classes (#1929 #1932)
  * Support pipe syntax to declare optional document fields (#1937)
  * Ignore document attributes typed with ClassVar (#1936)
  * Support Python 3.13 (#1938)
- 8.15.4:
  * Fixed the use of dictionaries as values in Terms query (#1920)
- 8.15.3:
  * Fixed regression introduced in Terms query class (#1907)
  * Removed unnecessary filter argument in AggBase.__getitem__ (#1903)
  * Fixed deserialization of datetime.date fields (#1914)
- 8.15.2:
  * Added support for any iterables to the Terms query (#1887)
  * Added back support for tuples and other iterables to Search.source() method (#1895)
  * Added recursive option to AttrDict.to_dict() (#1892)
  * Removed unused analyzer from search as you type example (#1883)
- 8.15.1:
  * Added support for the semantic_text field and semantic query type (#1881)
  * Removed extra __orig_class__ attribute in aggregation responses (#1877)
- 8.15.0:
  * Added the option to use Python types to declare document fields (#1845)
  * Added type annotations (#1533)
  * Added support for bulk document operations with Document.bulk() (#1864)
  * Added the ConstantKeyword field to the top-level package (#1843)

OBS-URL: https://build.opensuse.org/request/show/1235858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-elasticsearch-dsl?expand=0&rev=10
2025-01-09 14:08:04 +00:00
35a05af930 - Add missing require python-elastic-transport
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elasticsearch-dsl?expand=0&rev=21
2025-01-08 09:46:37 +00:00
ea01b376c9 - Update to 8.17.0:
* Added support for quantized dense vector options (#1948)
  * Added support for composable index templates (#1943)
- 8.16.0:
  * Autogenerate parts of the library using documentation and types from the Elasticsearch specification
    - query classes (#1890)
    - aggregation classes (#1918)
    - response classes (#1929 #1932)
  * Support pipe syntax to declare optional document fields (#1937)
  * Ignore document attributes typed with ClassVar (#1936)
  * Support Python 3.13 (#1938)
- 8.15.4:
  * Fixed the use of dictionaries as values in Terms query (#1920)
- 8.15.3:
  * Fixed regression introduced in Terms query class (#1907)
  * Removed unnecessary filter argument in AggBase.__getitem__ (#1903)
  * Fixed deserialization of datetime.date fields (#1914)
- 8.15.2:
  * Added support for any iterables to the Terms query (#1887)
  * Added back support for tuples and other iterables to Search.source() method (#1895)
  * Added recursive option to AttrDict.to_dict() (#1892)
  * Removed unused analyzer from search as you type example (#1883)
- 8.15.1:
  * Added support for the semantic_text field and semantic query type (#1881)
  * Removed extra __orig_class__ attribute in aggregation responses (#1877)
- 8.15.0:
  * Added the option to use Python types to declare document fields (#1845)
  * Added type annotations (#1533)
  * Added support for bulk document operations with Document.bulk() (#1864)
  * Added the ConstantKeyword field to the top-level package (#1843)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elasticsearch-dsl?expand=0&rev=20
2025-01-08 09:39:10 +00:00
4 changed files with 88 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb5d40af660ca0942547c0701ab8b8a439a0192383465f26afe1827cfcff0f99
size 125115

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5459b7b5233b39def784d8b44b7d16282762dc58d5b3744d0ebb467fd89b7b9
size 267009

View File

@@ -1,3 +1,77 @@
-------------------------------------------------------------------
Wed Jan 8 09:35:55 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 8.17.0:
* Added support for quantized dense vector options (#1948)
* Added support for composable index templates (#1943)
- 8.16.0:
* Autogenerate parts of the library using documentation and types from the Elasticsearch specification
- query classes (#1890)
- aggregation classes (#1918)
- response classes (#1929 #1932)
* Support pipe syntax to declare optional document fields (#1937)
* Ignore document attributes typed with ClassVar (#1936)
* Support Python 3.13 (#1938)
- 8.15.4:
* Fixed the use of dictionaries as values in Terms query (#1920)
- 8.15.3:
* Fixed regression introduced in Terms query class (#1907)
* Removed unnecessary filter argument in AggBase.__getitem__ (#1903)
* Fixed deserialization of datetime.date fields (#1914)
- 8.15.2:
* Added support for any iterables to the Terms query (#1887)
* Added back support for tuples and other iterables to Search.source() method (#1895)
* Added recursive option to AttrDict.to_dict() (#1892)
* Removed unused analyzer from search as you type example (#1883)
- 8.15.1:
* Added support for the semantic_text field and semantic query type (#1881)
* Removed extra __orig_class__ attribute in aggregation responses (#1877)
- 8.15.0:
* Added the option to use Python types to declare document fields (#1845)
* Added type annotations (#1533)
* Added support for bulk document operations with Document.bulk() (#1864)
* Added the ConstantKeyword field to the top-level package (#1843)
* Added async_connections to the top-level package (#1865)
* Added index creation to the aggregations example (#1862)
- 8.14.0:
* Added text_expansion query clause (#1837)
* Added Response.search_after() and Search.search_after() methods for efficient iteration (#1829)
* Added point in time support and the iterate() method in the Search class (#1833)
* Added support for slicing multiple times in Search class (#1771)
* Added support for regular expressions in Completion.suggest() (#1836)
* Fixed suggest() method of the Completion class to format requests correctly. (#1836)
* Fixed Document.update() to accept fields set to None or empty (#1820)
* Started work on type hints (Thanks Caio Fontes for leading this effort!)
- Added Type hints to function.py (#1827)
- Added Type hints to query.py (#1821)
- 8.13.1:
* Added support for knn as a query option (#1770)
* Made the dims attribute of the dense vector type optional (#1776)
* Added missing inner_hits option to search.knn() method (#1777)
* Added support for detecting document updates in InnerDoc attributes (#1535)
* Changed _expand__to_dot setting to resolve at runtime (#1633)
* Added explicit error message when unsupported minimum_should_match values are used (#1774)
* Added the EmptySearch class (#1780)
* Added several missing aggregations:
- AdjacencyMatrix (#1553)
- CategorizeText (#1588)
- GeohexGrid (#1590)
- IPPrefix (#1592)
- RandomSampler (#1594)
- GeoLine (#1628)
- MatrixStats (#1630)
- TopMetrics (#1706)
* Added params option to the FacetedSearch object (#1500)
* Added support for passing a dictionary in the script option for a document update (#1560)
* Added keys() and items() methods to AttrDict class (#1784)
* Added a to_list() method to the AttrList class (#1584)
* Fixed various documentation issues and typos (#1769, #1615, #1585, #1318, #1223)
* Added a vector search example (#1778)
- 8.13.0:
* Added asyncio support (#1714)
* Dropped support for Python 3.7 (#1717)
* Stopped mixing body and parameters in UpdateByQuery (#1702)
-------------------------------------------------------------------
Sat Jan 20 12:39:22 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-elasticsearch-dsl
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-elasticsearch-dsl
Version: 8.12.0
Version: 8.17.0
Release: 0
Summary: Python client for Elasticsearch
License: Apache-2.0
@@ -27,19 +27,26 @@ URL: https://github.com/elasticsearch/elasticsearch-dsl-py
Source: https://github.com/elastic/elasticsearch-dsl-py/archive/refs/tags/v%{version}.tar.gz#/elasticsearch-dsl-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing_extensions}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# gh#elastic/elasticsearch-dsl-py#1569
Requires: python-elasticsearch >= 8.0.0
Requires: python-elastic-transport >= 8.0.0
Requires: python-python-dateutil
Requires: python-typing_extensions
Suggests: python-pytz
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module elasticsearch >= 8.0.0}
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module nltk}
BuildRequires: %{python_module pytest >= 3.0.0}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module sqlite3}
# /SECTION
%python_subpackages
@@ -57,7 +64,8 @@ Python client for Elasticsearch.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# Requires nltk wordnet
%pytest --ignore tests/test_integration/test_examples/_async/test_vectors.py --ignore tests/test_integration/test_examples/_sync/test_vectors.py
%files %{python_files}
%doc AUTHORS Changelog.rst README