Compare commits

...

1 Commits
1.1 ... main

4 changed files with 41 additions and 9 deletions

BIN
httpx-0.27.2.tar.gz (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.

View File

@ -1,7 +1,38 @@
-------------------------------------------------------------------
Fri Jan 17 14:03:29 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
Wed Jan 15 13:25:11 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- 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 <code@bnavigator.de>
- 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=<ssl_context> 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 <dmueller@suse.com>

View File

@ -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