diff --git a/elastic-transport-python-8.12.0.tar.gz b/elastic-transport-python-8.12.0.tar.gz deleted file mode 100644 index a06df46..0000000 --- a/elastic-transport-python-8.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:604bd1cc5f7161596dac3ca0ace70c2510c8bd21ca3f631b8ac422316deb3bfa -size 72207 diff --git a/elastic-transport-python-8.13.0.tar.gz b/elastic-transport-python-8.13.0.tar.gz new file mode 100644 index 0000000..2a6e1b9 --- /dev/null +++ b/elastic-transport-python-8.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56f52c45254bb73f64336a4b59e097702517f0603036559ac56b5a92782e0fda +size 75950 diff --git a/python-elastic-transport.changes b/python-elastic-transport.changes index dd58b0a..4a32fd6 100644 --- a/python-elastic-transport.changes +++ b/python-elastic-transport.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri May 17 13:29:03 UTC 2024 - Markéta Machová + +- update to 8.13.0 + * Support the HTTPX client with asyncio + * Added optional orjson serializer support + ------------------------------------------------------------------- Sat Jan 20 14:03:15 UTC 2024 - Dirk Müller diff --git a/python-elastic-transport.spec b/python-elastic-transport.spec index 85a832b..e054619 100644 --- a/python-elastic-transport.spec +++ b/python-elastic-transport.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-elastic-transport -Version: 8.12.0 +Version: 8.13.0 Release: 0 Summary: Transport classes and utilities shared among Python Elastic client libraries License: Apache-2.0 @@ -31,18 +31,19 @@ BuildRequires: python-rpm-macros Requires: python-certifi Requires: python-urllib3 BuildArch: noarch -%if 0%{python_version_nodots} < 37 -Requires: python-dataclasses -%endif # SECTION test requirements BuildRequires: %{python_module aiohttp} BuildRequires: %{python_module certifi} -BuildRequires: %{python_module dataclasses if %python-base < 3.7} +BuildRequires: %{python_module httpx} +BuildRequires: %{python_module opentelemetry-api} +BuildRequires: %{python_module opentelemetry-sdk} +BuildRequires: %{python_module orjson} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-httpserver} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} +BuildRequires: %{python_module respx} BuildRequires: %{python_module trustme} BuildRequires: %{python_module urllib3} # /SECTION @@ -68,6 +69,7 @@ sed -i 's/from mock/from unittest.mock/' tests/node/test_http_*.py donttest="(test_http_aiohttp and not TestAiohttpHttpNode)" donttest="$donttest or test_tls_versions" donttest="$donttest or test_assert_fingerprint_in_cert_chain" +donttest="$donttest or (test_ssl_assert_fingerprint and httpx)" # gh#elastic/elastic-transport-python#96 donttest="$donttest or test_url_to_node_config[https://[::1]:0/-https://[::1]:0-]" %pytest -k "not ($donttest)"