From d9707f32ff302ce42b8636dd4b38a01c225fc857fde13fd9a953a21ff46b3775 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 3 May 2023 08:48:11 +0000 Subject: [PATCH] - 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 --- httpx-0.23.3.tar.gz | 3 --- httpx-0.24.0.tar.gz | 3 +++ python-httpx.changes | 27 +++++++++++++++++++++++++++ python-httpx.spec | 3 +-- 4 files changed, 31 insertions(+), 5 deletions(-) delete mode 100644 httpx-0.23.3.tar.gz create mode 100644 httpx-0.24.0.tar.gz diff --git a/httpx-0.23.3.tar.gz b/httpx-0.23.3.tar.gz deleted file mode 100644 index 388ebec..0000000 --- a/httpx-0.23.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d4ab899be10c968456708b4ea67b66f42eaeeee6c654903646e3b556a8de6096 -size 2163546 diff --git a/httpx-0.24.0.tar.gz b/httpx-0.24.0.tar.gz new file mode 100644 index 0000000..327f076 --- /dev/null +++ b/httpx-0.24.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21a4061ed649279bdc6188ec2c3549ac9c06d06ad3f0aa79043469475e28f346 +size 2167376 diff --git a/python-httpx.changes b/python-httpx.changes index 4868f07..5c8f7ed 100644 --- a/python-httpx.changes +++ b/python-httpx.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Wed May 3 08:47:43 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-httpx.spec b/python-httpx.spec index 2d5606d..216a05d 100644 --- a/python-httpx.spec +++ b/python-httpx.spec @@ -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