From 545734e84c19af28cee671abd4f2fc654a0fa60e42d8b2420bcfafa64101c0ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 17 May 2025 15:43:26 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-httpx revision 8965f6118df17c823540ccc462d6d59d --- httpx-0.27.2.tar.gz | 3 --- httpx-0.28.1.tar.gz | 3 +++ python-httpx.changes | 33 ++++++++++++++++++++++++++++++++- python-httpx.spec | 11 ++++++----- 4 files changed, 41 insertions(+), 9 deletions(-) delete mode 100644 httpx-0.27.2.tar.gz create mode 100644 httpx-0.28.1.tar.gz diff --git a/httpx-0.27.2.tar.gz b/httpx-0.27.2.tar.gz deleted file mode 100644 index f075dba..0000000 --- a/httpx-0.27.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:deeb35d578415665a576fd16b6c986bbf4146dcbec0385e56a299c7cf05d7f5e -size 2185609 diff --git a/httpx-0.28.1.tar.gz b/httpx-0.28.1.tar.gz new file mode 100644 index 0000000..43b4149 --- /dev/null +++ b/httpx-0.28.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61fe412dd34b6d95197feb9dbfb6a6e2c749197b67287b2f75925ec257bb41ae +size 4118011 diff --git a/python-httpx.changes b/python-httpx.changes index d0493ba..c50d8ad 100644 --- a/python-httpx.changes +++ b/python-httpx.changes @@ -1,7 +1,38 @@ ------------------------------------------------------------------- -Fri Jan 17 14:03:29 UTC 2025 - Nico Krapp +Wed Jan 15 13:25:11 UTC 2025 - Nico Krapp - Use libalternatives instead of update-alternatives, bsc#1235784 +- don't run tests in strict async mode, upstream doesn't either +- disable flaky test + +------------------------------------------------------------------- +Sat Dec 7 13:27:08 UTC 2024 - Ben Greiner + +- Update to 0.28.1 + * Fix SSL case where verify=False together with client side + certificates. +- Release 0.28.0 + ## Deprecations: + * We are working towards a simplified SSL configuration API. + * For users of the standard verify=True or verify=False cases, or + verify= case this should require no changes. The + following cases have been deprecated... + - The verify argument as a string argument is now deprecated + and will raise warnings. + - The cert argument is now deprecated and will raise warnings. + * Our revised SSL documentation covers how to implement the same + behaviour with a more constrained API. + ## The following changes are also included: + * The deprecated proxies argument has now been removed. + * The deprecated app argument has now been removed. + * JSON request bodies use a compact representation. (#3363) + * Review URL percent escape sets, based on WHATWG spec. (#3371, + #3373) + * Ensure certifi and httpcore are only imported if required. + (#3377) + * Treat socks5h as a valid proxy scheme. (#3178) + * Cleanup Request() method signature in line with + client.request() and httpx.request(). (#3378) ------------------------------------------------------------------- Sun Sep 8 13:05:12 UTC 2024 - Dirk Müller diff --git a/python-httpx.spec b/python-httpx.spec index 5917845..33291c5 100644 --- a/python-httpx.spec +++ b/python-httpx.spec @@ -1,7 +1,7 @@ # # spec file for package python-httpx # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,7 @@ %{?sle15_python_module_pythons} Name: python-httpx%{psuffix} -Version: 0.27.2 +Version: 0.28.1 Release: 0 Summary: Python HTTP client with async support License: BSD-3-Clause @@ -50,7 +50,6 @@ Requires: python-anyio Requires: python-certifi Requires: python-httpcore >= 0.18.0 Requires: python-idna >= 2.0 -Requires: python-sniffio Recommends: python-Brotli Recommends: python-Pygments >= 2 Recommends: python-click >= 8 @@ -107,7 +106,9 @@ Python HTTP client with async support. donttest="network" # no socksio donttest="$donttest or socks" -%pytest -vv -k "not ($donttest)" --asyncio-mode=strict +# test is hardware dependent, fails on OBS +donttest="$donttest or test_write_timeout[trio]" +%pytest -vv -k "not ($donttest)" %endif %pre @@ -126,7 +127,7 @@ donttest="$donttest or socks" %license LICENSE.md %python_alternative %{_bindir}/httpx %{python_sitelib}/httpx -%{python_sitelib}/httpx-%{version}*-info +%{python_sitelib}/httpx-%{version}.dist-info %endif %changelog