From c77360a9d75f1a964707adfc9ef49050296db5ba846ad264504f96411c02aeb4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 20 Oct 2023 21:55:32 +0000 Subject: [PATCH] - Update to 0.25.0: - Drop support for Python 3.7. - Support HTTPS proxies. - Change the type of Extensions from Mapping[Str, Any] to MutableMapping[Str, Any]. - Add socket_options argument to httpx.HTTPTransport and httpx.AsyncHTTPTransport classes. - The Response.raise_for_status() method now returns the response instance. For example: data = httpx.get('...').raise_for_status().json(). - Return 500 error response instead of exceptions when raise_app_exceptions=False is set on ASGITransport. - Ensure all WSGITransport environs have a SERVER_PROTOCOL. - Always encode forward slashes as %2F in query parameters - Use Mozilla documentation instead of httpstatuses.com for HTTP error reference OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=22 --- httpx-0.24.1.tar.gz | 3 --- httpx-0.25.0.tar.gz | 3 +++ python-httpx.changes | 20 ++++++++++++++++++++ python-httpx.spec | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 httpx-0.24.1.tar.gz create mode 100644 httpx-0.25.0.tar.gz diff --git a/httpx-0.24.1.tar.gz b/httpx-0.24.1.tar.gz deleted file mode 100644 index c311157..0000000 --- a/httpx-0.24.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f46b06b4da9c3356cae3bb57833cbb58673d025ac424a2790cc8bd8a0b1e85a0 -size 2168238 diff --git a/httpx-0.25.0.tar.gz b/httpx-0.25.0.tar.gz new file mode 100644 index 0000000..cbcc93c --- /dev/null +++ b/httpx-0.25.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0093e2ca28d817c40e84cd058527316fdc6a700e529d6e3e1f2d3d299f59e74a +size 2169337 diff --git a/python-httpx.changes b/python-httpx.changes index b49fd65..ea9418f 100644 --- a/python-httpx.changes +++ b/python-httpx.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri Oct 20 21:52:56 UTC 2023 - Matej Cepl + +- Update to 0.25.0: + - Drop support for Python 3.7. + - Support HTTPS proxies. + - Change the type of Extensions from Mapping[Str, Any] to + MutableMapping[Str, Any]. + - Add socket_options argument to httpx.HTTPTransport and + httpx.AsyncHTTPTransport classes. + - The Response.raise_for_status() method now returns + the response instance. For example: data = + httpx.get('...').raise_for_status().json(). + - Return 500 error response instead of exceptions when + raise_app_exceptions=False is set on ASGITransport. + - Ensure all WSGITransport environs have a SERVER_PROTOCOL. + - Always encode forward slashes as %2F in query parameters + - Use Mozilla documentation instead of httpstatuses.com for + HTTP error reference + ------------------------------------------------------------------- Sat Sep 9 23:10:43 UTC 2023 - Torsten Gruner diff --git a/python-httpx.spec b/python-httpx.spec index d142555..a523c8a 100644 --- a/python-httpx.spec +++ b/python-httpx.spec @@ -27,7 +27,7 @@ %{?sle15_python_module_pythons} Name: python-httpx%{psuffix} -Version: 0.24.1 +Version: 0.25.0 Release: 0 Summary: Python HTTP client with async support License: BSD-3-Clause