17
0

6 Commits

Author SHA256 Message Date
ed637fd1e5 Accepting request 1325510 from devel:languages:python
- Add missing BuildRequires on requests.

OBS-URL: https://build.opensuse.org/request/show/1325510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-elastic-transport?expand=0&rev=19
2026-01-07 15:00:28 +00:00
5309a436bb - Add missing BuildRequires on requests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elastic-transport?expand=0&rev=40
2026-01-06 01:43:57 +00:00
40e12afa63 Accepting request 1319107 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1319107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-elastic-transport?expand=0&rev=18
2025-11-24 13:05:21 +00:00
fb0d43b8fc - Update to 9.2.0
* Update OpenTelemetry conventions
  * Support Trio when using the httpx async client
  * Add Python 3.14 to CI builds, and remove 3.8 and 3.9
- Drop no-longer-needed fixture-scope.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elastic-transport?expand=0&rev=38
2025-11-21 13:06:42 +00:00
758aa02199 Accepting request 1304838 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1304838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-elastic-transport?expand=0&rev=17
2025-09-17 14:37:02 +00:00
3f82f173c8 - Add fixture-scope.patch to fix tests with pytest-asyncio 1.2.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elastic-transport?expand=0&rev=36
2025-09-15 14:07:18 +00:00
4 changed files with 28 additions and 15 deletions

Binary file not shown.

View File

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Jan 6 01:43:24 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing BuildRequires on requests.
-------------------------------------------------------------------
Thu Nov 20 07:55:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 9.2.0
* Update OpenTelemetry conventions
* Support Trio when using the httpx async client
* Add Python 3.14 to CI builds, and remove 3.8 and 3.9
- Drop no-longer-needed fixture-scope.patch
-------------------------------------------------------------------
Mon Sep 15 10:56:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add fixture-scope.patch to fix tests with pytest-asyncio 1.2.0
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 7 10:55:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Mon Apr 7 10:55:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-elastic-transport # spec file for package python-elastic-transport
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-elastic-transport Name: python-elastic-transport
Version: 8.17.1 Version: 9.2.0
Release: 0 Release: 0
Summary: Transport classes and utilities shared among Python Elastic client libraries Summary: Transport classes and utilities shared among Python Elastic client libraries
License: Apache-2.0 License: Apache-2.0
@@ -31,21 +31,23 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-certifi Requires: python-certifi
Requires: python-sniffio
Requires: python-urllib3 Requires: python-urllib3
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module aiohttp} BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module certifi} BuildRequires: %{python_module certifi}
BuildRequires: %{python_module httpx} BuildRequires: %{python_module httpx}
BuildRequires: %{python_module opentelemetry-api}
BuildRequires: %{python_module opentelemetry-sdk} BuildRequires: %{python_module opentelemetry-sdk}
BuildRequires: %{python_module orjson} BuildRequires: %{python_module orjson}
BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-httpbin}
BuildRequires: %{python_module pytest-httpserver} BuildRequires: %{python_module pytest-httpserver}
BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-trio}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module respx} BuildRequires: %{python_module respx}
BuildRequires: %{python_module sniffio}
BuildRequires: %{python_module trustme} BuildRequires: %{python_module trustme}
BuildRequires: %{python_module urllib3} BuildRequires: %{python_module urllib3}
# /SECTION # /SECTION
@@ -70,14 +72,6 @@ sed -i '/addopts/d' setup.cfg
donttest="(test_http_aiohttp and not TestAiohttpHttpNode)" donttest="(test_http_aiohttp and not TestAiohttpHttpNode)"
donttest="$donttest or test_tls_versions" donttest="$donttest or test_tls_versions"
donttest="$donttest or test_assert_fingerprint_in_cert_chain" donttest="$donttest or test_assert_fingerprint_in_cert_chain"
donttest="$donttest or (test_ssl_assert_fingerprint and httpx)"
# Fails in 3.12 with DeprecationWarning
donttest="$donttest or test_simple_request"
# Mocking error with httpx 0.28 / patched respx
donttest="$donttest or (TestHttpxAsyncNode and not Creation)"
# Flaky test
donttest="$donttest or test_decimal_serialization[OrjsonSerializer]"
donttest="$donttest or test_sniff_before_requests or test_sniffed_nodes_added_to_pool or test_sniff_on_node_failure"
%pytest -W ignore::DeprecationWarning -k "not ($donttest)" %pytest -W ignore::DeprecationWarning -k "not ($donttest)"
%files %{python_files} %files %{python_files}