- update to 0.24.0:

* The logging behaviour has been changed to be more in-line
    with other standard Python logging usages. We no longer have
    a custom `TRACE` log level, and we no longer use the
    `HTTPX_LOG_LEVEL` environment variable to auto-configure
    logging. We now have a significant amount of `DEBUG` logging
    available at the network level. Full documentation is
    available at https://www.python-httpx.org/logging/ (#2547,
    encode/httpcore#648)
  * The `Response.iter_lines()` method now matches the stdlib
    behaviour and does not include the newline characters. It
    also resolves a performance issue. (#2423)
  * Query parameter encoding switches from using + for spaces and
    %2F for forward slash, to instead using %20 for spaces and
    treating forward slash as a safe, unescaped character. This
    differs from `requests`, but is in line with browser behavior
    in Chrome, Safari, and Firefox. Both options are RFC valid.
    (#2543)
  * NetRC authentication is no longer automatically handled, but
    is instead supported by an explicit `httpx.NetRCAuth()`
    authentication class. See the documentation at
    https://www.python-httpx.org/advanced/#netrc-support (#2525)
  * The `rfc3986` dependancy has been removed. (#2252)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=18
This commit is contained in:
Dirk Mueller 2023-05-03 08:48:11 +00:00 committed by Git OBS Bridge
parent e70973f300
commit d9707f32ff
4 changed files with 31 additions and 5 deletions

View File

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

BIN
httpx-0.24.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Wed May 3 08:47:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.24.0:
* The logging behaviour has been changed to be more in-line
with other standard Python logging usages. We no longer have
a custom `TRACE` log level, and we no longer use the
`HTTPX_LOG_LEVEL` environment variable to auto-configure
logging. We now have a significant amount of `DEBUG` logging
available at the network level. Full documentation is
available at https://www.python-httpx.org/logging/ (#2547,
encode/httpcore#648)
* The `Response.iter_lines()` method now matches the stdlib
behaviour and does not include the newline characters. It
also resolves a performance issue. (#2423)
* Query parameter encoding switches from using + for spaces and
%2F for forward slash, to instead using %20 for spaces and
treating forward slash as a safe, unescaped character. This
differs from `requests`, but is in line with browser behavior
in Chrome, Safari, and Firefox. Both options are RFC valid.
(#2543)
* NetRC authentication is no longer automatically handled, but
is instead supported by an explicit `httpx.NetRCAuth()`
authentication class. See the documentation at
https://www.python-httpx.org/advanced/#netrc-support (#2525)
* The `rfc3986` dependancy has been removed. (#2252)
-------------------------------------------------------------------
Fri Apr 21 12:26:25 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-httpx%{psuffix}
Version: 0.23.3
Version: 0.24.0
Release: 0
Summary: Python HTTP client with async support
License: BSD-3-Clause
@ -43,7 +43,6 @@ BuildRequires: python-rpm-macros
Requires: python-certifi
Requires: python-httpcore >= 0.15.0
Requires: python-idna >= 2.0
Requires: python-rfc3986 >= 1.3
Requires: python-sniffio
Recommends: python-Brotli
Recommends: python-Pygments >= 2