- Update to 0.23.3
* Version 0.23.2 accidentally included stricter type checking on query parameters. This shouldn've have been included in a minor version bump, and is now reverted. (#2523, #2539) - 0.23.2 (2nd Jan, 2023) * Support digest auth nonce counting to avoid multiple auth requests. (#2463) * Multipart file uploads where the file length cannot be determine now use chunked transfer encoding, rather than loading the entire file into memory in order to determine the `Content-Length`. (#2382) * Raise `TypeError` if content is passed a dict-instance. (#2495) * Partially revert the API breaking change in 0.23.1, which removed `RawURL`. We continue to expose a `url.raw` property which is now a plain named-tuple. This API is still expected to be deprecated, but we will do so with a major version bump. (#2481) - 0.23.1 (18th Nov, 2022) **Note**: The 0.23.1 release should have used a proper version bump, rather than a minor point release. There are API surface area changes that may affect some users. See the "Removed" section of these release notes for details. ### Added * Support for Python 3.11. (#2420) * Allow setting an explicit multipart boundary in `Content-Type` header. (#2278) * Allow `tuple` or `list` for multipart values, not just `list`. (#2355) * Allow `str` content for multipart upload files. (#2400) * Support connection upgrades. See https://www.encode.io/httpcore/extensions/#upgrade-requests ### Fixed * Don't drop empty query parameters. (#2354) ### Removed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpx?expand=0&rev=14
This commit is contained in:
parent
0d51b60ee9
commit
c1be1d19cd
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5eed3072c79769acb9e05d80354596e8350a4dda762cc8d5545b1cc204a42d9d
|
||||
size 2160686
|
3
httpx-0.23.3.tar.gz
Normal file
3
httpx-0.23.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4ab899be10c968456708b4ea67b66f42eaeeee6c654903646e3b556a8de6096
|
||||
size 2163546
|
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 16 10:33:05 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update to 0.23.3
|
||||
* Version 0.23.2 accidentally included stricter type checking on query
|
||||
parameters. This shouldn've have been included in a minor version bump, and
|
||||
is now reverted. (#2523, #2539)
|
||||
- 0.23.2 (2nd Jan, 2023)
|
||||
* Support digest auth nonce counting to avoid multiple auth requests. (#2463)
|
||||
* Multipart file uploads where the file length cannot be determine now use
|
||||
chunked transfer encoding, rather than loading the entire file into memory
|
||||
in order to determine the `Content-Length`. (#2382)
|
||||
* Raise `TypeError` if content is passed a dict-instance. (#2495)
|
||||
* Partially revert the API breaking change in 0.23.1, which removed `RawURL`.
|
||||
We continue to expose a `url.raw` property which is now a plain
|
||||
named-tuple. This API is still expected to be deprecated, but we will do so
|
||||
with a major version bump. (#2481)
|
||||
- 0.23.1 (18th Nov, 2022)
|
||||
**Note**: The 0.23.1 release should have used a proper version bump, rather
|
||||
than a minor point release. There are API surface area changes
|
||||
that may affect some users. See the "Removed" section of these
|
||||
release notes for details.
|
||||
### Added
|
||||
* Support for Python 3.11. (#2420)
|
||||
* Allow setting an explicit multipart boundary in `Content-Type` header.
|
||||
(#2278)
|
||||
* Allow `tuple` or `list` for multipart values, not just `list`. (#2355)
|
||||
* Allow `str` content for multipart upload files. (#2400)
|
||||
* Support connection upgrades. See
|
||||
https://www.encode.io/httpcore/extensions/#upgrade-requests
|
||||
### Fixed
|
||||
* Don't drop empty query parameters. (#2354)
|
||||
### Removed
|
||||
* Upload files *must* always be opened in binary mode. (#2400)
|
||||
* Drop `.read`/`.aread` from `SyncByteStream`/`AsyncByteStream`. (#2407)
|
||||
* Drop `RawURL`. (#2241)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 10:25:32 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -26,14 +26,17 @@
|
||||
%endif
|
||||
|
||||
Name: python-httpx%{psuffix}
|
||||
Version: 0.23.0
|
||||
Version: 0.23.3
|
||||
Release: 0
|
||||
Summary: Python HTTP client with async support
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/encode/httpx
|
||||
Source: https://github.com/encode/httpx/archive/%{version}.tar.gz#/httpx-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module hatch-fancy-pypi-readme}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-certifi
|
||||
@ -78,11 +81,11 @@ Python HTTP client with async support.
|
||||
sed -i '/tool.pytest/,$ {/error/d}' setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/httpx
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user