forked from pool/python-httpcore
Accepting request 990282 from home:bnavigator:branches:devel:languages:python
- Update to 0.15.0 * Drop Python 3.6 support (#535) * Ensure HTTP proxy CONNECT requests include timeout configuration. (#506) * Switch to explicit typing.Optional for type hints (#513) * For trio map OSError exceptions to ConnectError (#543) - Fix forgotten test package dep drops -- gh#encode/httpcore#473 OBS-URL: https://build.opensuse.org/request/show/990282 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=13
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7f5736b3d1a2382d3b137c8f77d19229f3742789447ef1c1a55bb95918c02277
|
|
||||||
size 75844
|
|
3
httpcore-0.15.0.tar.gz
Normal file
3
httpcore-0.15.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e5458b6342fb6a0cdd58b86c1336516b90ad8879dedc24a9667f9fdf7b4081ea
|
||||||
|
size 76220
|
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 19 15:31:11 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.15.0
|
||||||
|
* Drop Python 3.6 support (#535)
|
||||||
|
* Ensure HTTP proxy CONNECT requests include timeout
|
||||||
|
configuration. (#506)
|
||||||
|
* Switch to explicit typing.Optional for type hints (#513)
|
||||||
|
* For trio map OSError exceptions to ConnectError (#543)
|
||||||
|
- Fix forgotten test package dep drops -- gh#encode/httpcore#473
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 21 10:54:40 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
Mon Feb 21 10:54:40 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@@ -25,46 +24,35 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-httpcore%{psuffix}
|
Name: python-httpcore%{psuffix}
|
||||||
Version: 0.14.7
|
Version: 0.15.0
|
||||||
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
|
||||||
URL: https://github.com/encode/httpcore
|
URL: https://github.com/encode/httpcore
|
||||||
Source: https://github.com/encode/httpcore/archive/%{version}.tar.gz#/httpcore-%{version}.tar.gz
|
Source: https://github.com/encode/httpcore/archive/%{version}.tar.gz#/httpcore-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-anyio >= 3.1.0
|
Requires: python-anyio >= 3
|
||||||
Requires: python-certifi
|
Requires: python-certifi
|
||||||
Requires: python-chardet >= 3.0
|
|
||||||
Requires: python-h11 >= 0.11.0
|
Requires: python-h11 >= 0.11.0
|
||||||
Requires: python-idna >= 2.0
|
|
||||||
Requires: python-rfc3986 >= 1.0
|
|
||||||
Requires: python-sniffio >= 1.0
|
Requires: python-sniffio >= 1.0
|
||||||
Recommends: python-h2 >= 3.0
|
Recommends: python-h2 >= 3.0
|
||||||
|
Recommends: python-socksio >= 1.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module anyio >= 3.1.0}
|
BuildRequires: %{python_module Werkzeug}
|
||||||
BuildRequires: %{python_module certifi}
|
|
||||||
BuildRequires: %{python_module chardet >= 3.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 httpcore = %{version}}
|
||||||
BuildRequires: %{python_module mitmproxy}
|
BuildRequires: %{python_module pytest >= 7.0.1}
|
||||||
BuildRequires: %{python_module pproxy >= 2.7.8}
|
BuildRequires: %{python_module pytest-asyncio >= 0.16.0}
|
||||||
BuildRequires: %{python_module pytest >= 6.2.4}
|
|
||||||
BuildRequires: %{python_module pytest-asyncio >= 0.15.1}
|
|
||||||
BuildRequires: %{python_module pytest-curio}
|
|
||||||
BuildRequires: %{python_module pytest-httpbin}
|
BuildRequires: %{python_module pytest-httpbin}
|
||||||
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 trio >= 0.19.0}
|
||||||
BuildRequires: %{python_module rfc3986 >= 1.0}
|
|
||||||
BuildRequires: %{python_module trustme >= 0.7.0}
|
|
||||||
BuildRequires: %{python_module uvicorn >= 0.12.1}
|
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -91,14 +79,15 @@ Python minimal low-level HTTP client.
|
|||||||
# tests/async_tests + tests/sync_tests causes open file limit
|
# tests/async_tests + tests/sync_tests causes open file limit
|
||||||
# socks5 -- we don't ship socksio
|
# socks5 -- we don't ship socksio
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%pytest -rs -k 'not (test_interfaces or test_no_retries or test_retries or test_threadsafe_basic or socks5)'
|
%pytest -rs -k 'not (test_interfaces or test_no_retries or test_retries or test_threadsafe_basic or socks5)' --asyncio-mode=strict
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/httpcore
|
||||||
|
%{python_sitelib}/httpcore-%{version}*-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user