Accepting request 1120298 from devel:languages:python
REQUIRES SR#1120297 - 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 - Requires higher version of httpcore. OBS-URL: https://build.opensuse.org/request/show/1120298 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httpx?expand=0&rev=11
This commit is contained in:
commit
722f363691
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f46b06b4da9c3356cae3bb57833cbb58673d025ac424a2790cc8bd8a0b1e85a0
|
|
||||||
size 2168238
|
|
3
httpx-0.25.0.tar.gz
Normal file
3
httpx-0.25.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0093e2ca28d817c40e84cd058527316fdc6a700e529d6e3e1f2d3d299f59e74a
|
||||||
|
size 2169337
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 20 21:52:56 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
- Requires higher version of httpcore.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 9 23:10:43 UTC 2023 - Torsten Gruner <simmphonie@opensuse.org>
|
Sat Sep 9 23:10:43 UTC 2023 - Torsten Gruner <simmphonie@opensuse.org>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-httpx%{psuffix}
|
Name: python-httpx%{psuffix}
|
||||||
Version: 0.24.1
|
Version: 0.25.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python HTTP client with async support
|
Summary: Python HTTP client with async support
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -43,7 +43,7 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-certifi
|
Requires: python-certifi
|
||||||
Requires: python-idna >= 2.0
|
Requires: python-idna >= 2.0
|
||||||
Requires: python-sniffio
|
Requires: python-sniffio
|
||||||
Requires: (python-httpcore >= 0.17.2 with python-httpcore < 0.18.0)
|
Requires: (python-httpcore >= 0.18.0 with python-httpcore < 0.19.0)
|
||||||
Recommends: python-Brotli
|
Recommends: python-Brotli
|
||||||
Recommends: python-Pygments >= 2
|
Recommends: python-Pygments >= 2
|
||||||
Recommends: python-click >= 8
|
Recommends: python-click >= 8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user