Sync from SUSE:SLFO:Main python-httpx revision fb70144100b7252d5c3e1de432b3c138
This commit is contained in:
parent
177b579780
commit
843d59b528
BIN
httpx-0.24.0.tar.gz
(Stored with Git LFS)
BIN
httpx-0.24.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
httpx-0.27.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
httpx-0.27.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,92 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 8 13:05:12 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.27.2:
|
||||
* Reintroduced supposedly-private `URLTypes` shortcut.
|
||||
* Support for `zstd` content decoding using the python
|
||||
`zstandard` package is added. Installable using
|
||||
`httpx[zstd]`.
|
||||
* Improved error messaging for `InvalidURL` exceptions.
|
||||
* Fix `app` type signature in `ASGITransport`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 09:57:30 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 0.27.0
|
||||
* The app=... shortcut has been deprecated. Use the explicit style of
|
||||
transport=httpx.WSGITransport() or transport=httpx.ASGITransport() instead.
|
||||
* Respect the http1 argument while configuring proxy transports. (#3023)
|
||||
* Fix RFC 2069 mode digest authentication. (#3045)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 6 17:14:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.26.0:
|
||||
* The `proxy` argument was added. You should use the `proxy`
|
||||
argument instead of the deprecated `proxies`, or use
|
||||
`mounts=` for more complex configurations.
|
||||
* The `proxies` argument is now deprecated. It will still
|
||||
continue to work, but it will be removed in the future.
|
||||
* Fix cases of double escaping of URL path components. Allow /
|
||||
as a safe character in the query portion.
|
||||
* Handle `NO_PROXY` envvar cases when a fully qualified URL is
|
||||
supplied as the value.
|
||||
* Allow URLs where username or password contains unescaped '@'.
|
||||
* Ensure ASGI `raw_path` does not include URL query component.
|
||||
* Ensure `Response.iter_text()` cannot yield empty strings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 15:50:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.25.2:
|
||||
* Add missing type hints to few `__init__()` methods. (#2938)
|
||||
* Add support for Python 3.12. (#2854)
|
||||
* Add support for httpcore 1.0 (#2885)
|
||||
* Raise `ValueError` on `Response.encoding` being set after
|
||||
`Response.text` has been accessed. (#2852)
|
||||
- drop newer-httpcore.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 31 10:55:34 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Add upstream newer-httpcore.patch
|
||||
* it only allows httpcore 1.0.0 in the pyproject.toml, no code changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- update to 0.24.1
|
||||
* Provide additional context in some InvalidURL exceptions. (#2675)
|
||||
* Fix optional percent-encoding behaviour. (#2671)
|
||||
* More robust checking for opening upload files in binary mode. (#2630)
|
||||
* Properly support IP addresses in NO_PROXY environment variable. (#2659)
|
||||
* Set default file for NetRCAuth() to None to use the stdlib default. (#2667)
|
||||
* Set logging request lines to INFO level for async requests, in line
|
||||
with sync requests. (#2656)
|
||||
* Fix which gen-delims need to be escaped for path/query/fragment
|
||||
components in URL. (#2701)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 3 08:47:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-httpx
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-httpx%{psuffix}
|
||||
Version: 0.24.0
|
||||
Version: 0.27.2
|
||||
Release: 0
|
||||
Summary: Python HTTP client with async support
|
||||
License: BSD-3-Clause
|
||||
@ -40,8 +40,9 @@ BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-anyio
|
||||
Requires: python-certifi
|
||||
Requires: python-httpcore >= 0.15.0
|
||||
Requires: python-httpcore >= 0.18.0
|
||||
Requires: python-idna >= 2.0
|
||||
Requires: python-sniffio
|
||||
Recommends: python-Brotli
|
||||
@ -50,7 +51,7 @@ Recommends: python-click >= 8
|
||||
Recommends: python-h2 >= 3.0
|
||||
Recommends: python-rich >= 10
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
%if %{with test}
|
||||
@ -68,6 +69,7 @@ BuildRequires: %{python_module trio}
|
||||
BuildRequires: %{python_module trustme}
|
||||
# uvicorn 0.18 fixed an issue in the test suite where http-headers wer not all lowercase as expected
|
||||
BuildRequires: %{python_module uvicorn >= 0.18}
|
||||
BuildRequires: %{python_module zstandard}
|
||||
%endif
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@ -77,8 +79,6 @@ Python HTTP client with async support.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n httpx-%{version}
|
||||
# remove turning pytest warnings into error
|
||||
sed -i '/tool.pytest/,$ {/error/d}' setup.cfg
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
Loading…
Reference in New Issue
Block a user