Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5e3007e683 | |||
| 51cf5812d4 | |||
| 75cdb5a91d | |||
| 12eff59f5f | |||
| f0485b4f2e | |||
| 721293fa1b | |||
| 4eb79c2680 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b7ad539016912567002a5358ad8f0dbf5873d963467f9bd2af6ba37eddc13c6e
|
|
||||||
size 2168004
|
|
||||||
BIN
httpx-0.28.1.tar.gz
LFS
Normal file
BIN
httpx-0.28.1.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,8 +1,55 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- 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>
|
Fri Mar 22 09:57:30 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
- Update to 0.27.0
|
- Update to 0.27.0
|
||||||
* The app=... shortcut has been deprecated. Use the explicit style of
|
* The app=... shortcut has been deprecated. Use the explicit style of
|
||||||
transport=httpx.WSGITransport() or transport=httpx.ASGITransport() instead.
|
transport=httpx.WSGITransport() or transport=httpx.ASGITransport() instead.
|
||||||
* Respect the http1 argument while configuring proxy transports. (#3023)
|
* Respect the http1 argument while configuring proxy transports. (#3023)
|
||||||
* Fix RFC 2069 mode digest authentication. (#3045)
|
* Fix RFC 2069 mode digest authentication. (#3045)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-httpx
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,9 +25,15 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-httpx%{psuffix}
|
Name: python-httpx%{psuffix}
|
||||||
Version: 0.27.0
|
Version: 0.28.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python HTTP client with async support
|
Summary: Python HTTP client with async support
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -44,14 +50,18 @@ Requires: python-anyio
|
|||||||
Requires: python-certifi
|
Requires: python-certifi
|
||||||
Requires: python-httpcore >= 0.18.0
|
Requires: python-httpcore >= 0.18.0
|
||||||
Requires: python-idna >= 2.0
|
Requires: python-idna >= 2.0
|
||||||
Requires: python-sniffio
|
|
||||||
Recommends: python-Brotli
|
Recommends: python-Brotli
|
||||||
Recommends: python-Pygments >= 2
|
Recommends: python-Pygments >= 2
|
||||||
Recommends: python-click >= 8
|
Recommends: python-click >= 8
|
||||||
Recommends: python-h2 >= 3.0
|
Recommends: python-h2 >= 3.0
|
||||||
Recommends: python-rich >= 10
|
Recommends: python-rich >= 10
|
||||||
|
%if %{with libalternatives}
|
||||||
|
Requires: alts
|
||||||
|
BuildRequires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@@ -69,6 +79,7 @@ BuildRequires: %{python_module trio}
|
|||||||
BuildRequires: %{python_module trustme}
|
BuildRequires: %{python_module trustme}
|
||||||
# uvicorn 0.18 fixed an issue in the test suite where http-headers wer not all lowercase as expected
|
# 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 uvicorn >= 0.18}
|
||||||
|
BuildRequires: %{python_module zstandard}
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -95,9 +106,15 @@ Python HTTP client with async support.
|
|||||||
donttest="network"
|
donttest="network"
|
||||||
# no socksio
|
# no socksio
|
||||||
donttest="$donttest or socks"
|
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
|
%endif
|
||||||
|
|
||||||
|
%pre
|
||||||
|
# If libalternatives is used: Removing old update-alternatives entries.
|
||||||
|
%python_libalternatives_reset_alternative httpx
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative httpx
|
%python_install_alternative httpx
|
||||||
|
|
||||||
@@ -110,7 +127,7 @@ donttest="$donttest or socks"
|
|||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%python_alternative %{_bindir}/httpx
|
%python_alternative %{_bindir}/httpx
|
||||||
%{python_sitelib}/httpx
|
%{python_sitelib}/httpx
|
||||||
%{python_sitelib}/httpx-%{version}*-info
|
%{python_sitelib}/httpx-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user