Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-elastic-transport for
openSUSE:Factory checked in at 2025-04-08 17:51:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-elastic-transport (Old)
and /work/SRC/openSUSE:Factory/.python-elastic-transport.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-elastic-transport"
Tue Apr 8 17:51:05 2025 rev:16 rq:1267658 version:8.17.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-elastic-transport/python-elastic-transport.changes
2025-01-09 15:06:33.158093856 +0100
+++
/work/SRC/openSUSE:Factory/.python-elastic-transport.new.1907/python-elastic-transport.changes
2025-04-08 17:51:41.827667522 +0200
@@ -1,0 +2,7 @@
+Mon Apr 7 10:55:06 UTC 2025 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to 8.17.1
+ * Ensure compatibility with httpx v0.28.0+ (#222)
+ * Add missing NOTICE file (#229)
+
+-------------------------------------------------------------------
Old:
----
elastic-transport-python-8.17.0.tar.gz
New:
----
elastic-transport-python-8.17.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-elastic-transport.spec ++++++
--- /var/tmp/diff_new_pack.Bi5xAD/_old 2025-04-08 17:51:42.263685797 +0200
+++ /var/tmp/diff_new_pack.Bi5xAD/_new 2025-04-08 17:51:42.263685797 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-elastic-transport
-Version: 8.17.0
+Version: 8.17.1
Release: 0
Summary: Transport classes and utilities shared among Python Elastic
client libraries
License: Apache-2.0
++++++ elastic-transport-python-8.17.0.tar.gz ->
elastic-transport-python-8.17.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/elastic-transport-python-8.17.0/.readthedocs.yml
new/elastic-transport-python-8.17.1/.readthedocs.yml
--- old/elastic-transport-python-8.17.0/.readthedocs.yml 2025-01-07
09:11:42.000000000 +0100
+++ new/elastic-transport-python-8.17.1/.readthedocs.yml 2025-03-13
08:25:32.000000000 +0100
@@ -17,4 +17,5 @@
- develop
sphinx:
+ configuration: docs/sphinx/conf.py
fail_on_warning: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/elastic-transport-python-8.17.0/CHANGELOG.md
new/elastic-transport-python-8.17.1/CHANGELOG.md
--- old/elastic-transport-python-8.17.0/CHANGELOG.md 2025-01-07
09:11:42.000000000 +0100
+++ new/elastic-transport-python-8.17.1/CHANGELOG.md 2025-03-13
08:25:32.000000000 +0100
@@ -1,5 +1,10 @@
# Changelog
+## 8.17.1 (2025-03-12)
+
+* Ensure compatibility with httpx v0.28.0+
([#222](https://github.com/elastic/elastic-transport-python/pull/222),
contributed by Arch Linux maintainer @carlsmedstad)
+* Add missing NOTICE file
([#229](https://github.com/elastic/elastic-transport-python/pull/229), reported
by Debian Maintainer @schoekek)
+
## 8.17.0 (2025-01-07)
* Fix use of SSLContext with sniffing
([#199](https://github.com/elastic/elastic-transport-python/pull/199))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/elastic-transport-python-8.17.0/NOTICE
new/elastic-transport-python-8.17.1/NOTICE
--- old/elastic-transport-python-8.17.0/NOTICE 1970-01-01 01:00:00.000000000
+0100
+++ new/elastic-transport-python-8.17.1/NOTICE 2025-03-13 08:25:32.000000000
+0100
@@ -0,0 +1,2 @@
+Elastic Transport Library for Python
+Copyright 2025 Elasticsearch B.V.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/elastic-transport-python-8.17.0/elastic_transport/_node/_http_httpx.py
new/elastic-transport-python-8.17.1/elastic_transport/_node/_http_httpx.py
--- old/elastic-transport-python-8.17.0/elastic_transport/_node/_http_httpx.py
2025-01-07 09:11:42.000000000 +0100
+++ new/elastic-transport-python-8.17.1/elastic_transport/_node/_http_httpx.py
2025-03-13 08:25:32.000000000 +0100
@@ -158,6 +158,14 @@
)
elif isinstance(e, ssl.SSLError):
err = TlsError(str(e), errors=(e,))
+ # Detect SSL errors for httpx v0.28.0+
+ # Needed until https://github.com/encode/httpx/issues/3350 is fixed
+ elif isinstance(e, httpx.ConnectError) and e.__cause__:
+ context = e.__cause__.__context__
+ if isinstance(context, ssl.SSLError):
+ err = TlsError(str(context), errors=(e,))
+ else:
+ err = ConnectionError(str(e), errors=(e,))
else:
err = ConnectionError(str(e), errors=(e,))
self._log_request(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/elastic-transport-python-8.17.0/elastic_transport/_version.py
new/elastic-transport-python-8.17.1/elastic_transport/_version.py
--- old/elastic-transport-python-8.17.0/elastic_transport/_version.py
2025-01-07 09:11:42.000000000 +0100
+++ new/elastic-transport-python-8.17.1/elastic_transport/_version.py
2025-03-13 08:25:32.000000000 +0100
@@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.
-__version__ = "8.17.0"
+__version__ = "8.17.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/elastic-transport-python-8.17.0/setup.py
new/elastic-transport-python-8.17.1/setup.py
--- old/elastic-transport-python-8.17.0/setup.py 2025-01-07
09:11:42.000000000 +0100
+++ new/elastic-transport-python-8.17.1/setup.py 2025-03-13
08:25:32.000000000 +0100
@@ -65,8 +65,6 @@
"requests",
"aiohttp",
"httpx",
- #
https://github.com/encode/httpx/discussions/3214#discussioncomment-10830925
- "httpcore<1.0.6",
"respx",
"opentelemetry-api",
"opentelemetry-sdk",