Accepting request 897159 from home:alarrosa:branches:devel:languages:python

- Update to v0.13.3
  * Added
    - Support HTTP/2 prior knowledge, using
      httpcore.SyncConnectionPool(http1=False). (Pull #333)
  * Fixed
    - Handle cases where environment does not provide select.poll
      support. (Pull #331)
- Update to v0.13.2
  * Added
    - Improve error message for specific case of
      RemoteProtocolError where server disconnects without
      sending a response. (Pull #313)
- Update to v0.13.1
  * Fixed
    - More resiliant testing for closed connections.
      (Pull #311)
    - Don't raise exceptions on ungraceful connection closes.
      (Pull #310)
- Update to v0.13.0
  * The 0.13 release updates the core API in order to match the
    HTTPX Transport API, introduced in HTTPX 0.18 onwards.
  * Changed
    - The .request() method is now handle_request(). (Pull #296)
    - The .arequest() method is now .handle_async_request().
      (Pull #296)
    - The headers argument is no longer optional. (Pull #296)
    - The stream argument is no longer optional. (Pull #296)
    - The ext argument is now named extensions, and is no longer
      optional. (Pull #296)
    - The "reason" extension keyword is now named "reason_phrase".

OBS-URL: https://build.opensuse.org/request/show/897159
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=2
This commit is contained in:
Matej Cepl 2021-06-03 12:45:31 +00:00 committed by Git OBS Bridge
parent 5999a45ce0
commit e94413919d
4 changed files with 72 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a3dd01e123e0916551485f52ac966aa6337324e9e35f8d1be28f23c0f2328a0
size 56120

3
httpcore-0.13.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d8d48d4309a59ebadddb3ae6d5aedd6b27d42c6d62814ecdc4ed6309aa2b4bc
size 64246

View File

@ -1,3 +1,63 @@
-------------------------------------------------------------------
Thu Jun 3 09:10:31 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- Update to v0.13.3
* Added
- Support HTTP/2 prior knowledge, using
httpcore.SyncConnectionPool(http1=False). (Pull #333)
* Fixed
- Handle cases where environment does not provide select.poll
support. (Pull #331)
- Update to v0.13.2
* Added
- Improve error message for specific case of
RemoteProtocolError where server disconnects without
sending a response. (Pull #313)
- Update to v0.13.1
* Fixed
- More resiliant testing for closed connections.
(Pull #311)
- Don't raise exceptions on ungraceful connection closes.
(Pull #310)
- Update to v0.13.0
* The 0.13 release updates the core API in order to match the
HTTPX Transport API, introduced in HTTPX 0.18 onwards.
* Changed
- The .request() method is now handle_request(). (Pull #296)
- The .arequest() method is now .handle_async_request().
(Pull #296)
- The headers argument is no longer optional. (Pull #296)
- The stream argument is no longer optional. (Pull #296)
- The ext argument is now named extensions, and is no longer
optional. (Pull #296)
- The "reason" extension keyword is now named "reason_phrase".
(Pull #296)
- The "reason_phrase" and "http_version" extensions now use
byte strings for their values. (Pull #296)
- The httpcore.PlainByteStream() class becomes
httpcore.ByteStream(). (Pull #296)
* Added
- Streams now support a .read() interface. (Pull #296)
* Fixed
- Task cancelation no longer leaks connections from the
connection pool. (Pull #305)
- Update to v0.12.3
* Fixed
- Abort SSL connections on close rather than waiting for remote
EOF when using asyncio. (Pull #167)
- Fix exception raised in case of connect timeouts when using
the anyio backend. (Pull #236)
- Fix Host header precedence for :authority in HTTP/2.
(Pull #241, #243)
- Handle extra edge case when detecting for socket readability
when using asyncio. (Pull #242, #244)
- Fix asyncio SSL warning when using proxy tunneling.
(Pull #249)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat May 1 20:32:11 UTC 2021 - Matej Cepl <mcepl@suse.com> Sat May 1 20:32:11 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -20,7 +20,7 @@
%define skip_python2 1 %define skip_python2 1
%define skip_python36 1 %define skip_python36 1
Name: python-httpcore Name: python-httpcore
Version: 0.12.2 Version: 0.13.3
Release: 0 Release: 0
Summary: Minimal low-level Python HTTP client Summary: Minimal low-level Python HTTP client
License: BSD-3-Clause License: BSD-3-Clause
@ -32,30 +32,30 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-certifi Requires: python-certifi
Requires: python-chardet >= 3.0 Requires: python-chardet >= 3.0
Requires: python-h11 >= 0.8.0 Requires: python-h11 >= 0.11.0
Requires: python-h2 >= 3.0 Requires: python-h2 >= 3.0
Requires: python-idna >= 2.0 Requires: python-idna >= 2.0
Requires: python-rfc3986 >= 1.0 Requires: python-rfc3986 >= 1.0
Requires: python-sniffio >= 1.0 Requires: python-sniffio >= 1.0
Recommends: python-anyio Recommends: python-anyio >= 3.0.1
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module anyio} BuildRequires: %{python_module anyio >= 3.0.1}
BuildRequires: %{python_module certifi} BuildRequires: %{python_module certifi}
BuildRequires: %{python_module chardet >= 3.0} BuildRequires: %{python_module chardet >= 3.0}
BuildRequires: %{python_module h11 >= 0.8.0} BuildRequires: %{python_module h11 >= 0.11.0}
BuildRequires: %{python_module h2 >= 3.0} BuildRequires: %{python_module h2 >= 3.0}
BuildRequires: %{python_module idna >= 2.0} BuildRequires: %{python_module idna >= 2.0}
BuildRequires: %{python_module mitmproxy} BuildRequires: %{python_module mitmproxy}
BuildRequires: %{python_module pproxy} BuildRequires: %{python_module pproxy >= 2.7.7}
BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest >= 6.2.3}
BuildRequires: %{python_module pytest-asyncio >= 0.15.1}
BuildRequires: %{python_module pytest-curio} BuildRequires: %{python_module pytest-curio}
BuildRequires: %{python_module pytest-tornasync} BuildRequires: %{python_module pytest-tornasync}
BuildRequires: %{python_module pytest-trio >= 0.7.0} BuildRequires: %{python_module pytest-trio >= 0.7.0}
BuildRequires: %{python_module pytest-twisted} BuildRequires: %{python_module pytest-twisted}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module rfc3986 >= 1.0} BuildRequires: %{python_module rfc3986 >= 1.0}
BuildRequires: %{python_module trustme >= 0.6.0} BuildRequires: %{python_module trustme >= 0.7.0}
BuildRequires: %{python_module uvicorn >= 0.12.1} BuildRequires: %{python_module uvicorn >= 0.12.1}
# /SECTION # /SECTION
%python_subpackages %python_subpackages