Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-httpcore for openSUSE:Factory checked in at 2022-02-03 23:16:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-httpcore (Old) and /work/SRC/openSUSE:Factory/.python-httpcore.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-httpcore" Thu Feb 3 23:16:13 2022 rev:3 rq:950355 version:0.14.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-httpcore/python-httpcore.changes 2021-07-21 19:07:31.911411585 +0200 +++ /work/SRC/openSUSE:Factory/.python-httpcore.new.1898/python-httpcore.changes 2022-02-03 23:16:45.628500552 +0100 @@ -1,0 +2,26 @@ +Tue Feb 1 07:47:22 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 0.14.5: + * SOCKS proxy support. (#478) + * Add proxy_auth argument to HTTPProxy (#481) + * Improve error message on 'RemoteProtocolError' exception when server + disconnects without sending a response (#479) + * Support HTTP/2 on HTTPS tunnelling proxies. (#468) + * Fix proxy headers missing on HTTP forwarding. (#456) + * Only instantiate SSL context if required. (#457) + * More robust HTTP/2 handling. (#253, #439, #440, #441) + * Fix race condition when removing closed connections from the pool (#437) + * Failed connections no longer remain in the pool. (Pull #433) + * max_connections becomes optional. (Pull #429) + * certifi is now included in the install dependancies. (Pull #428) + * h2 is now strictly optional. (Pull #428) + * Log the point at which the connection is established, and the IP/port + on which it is made. + * Determine if the outgoing request should log as HTTP/1.1 or HTTP/2, + rather than having to assume it's HTTP/2 if the --http2 flag was passed. + * Log SSL version info / certificate info. + * Fix broken error messaging when URL scheme is missing, or a non HTTP(S) + scheme is used. (Pull #403) +- Inject multibuild to stop a build loop + +------------------------------------------------------------------- Old: ---- httpcore-0.13.6.tar.gz New: ---- _multibuild httpcore-0.14.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-httpcore.spec ++++++ --- /var/tmp/diff_new_pack.gkmWP5/_old 2022-02-03 23:16:46.124497166 +0100 +++ /var/tmp/diff_new_pack.gkmWP5/_new 2022-02-03 23:16:46.128497139 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-httpcore +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,21 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif %define skip_python2 1 -%define skip_python36 1 -Name: python-httpcore -Version: 0.13.6 +Name: python-httpcore%{psuffix} +Version: 0.14.5 Release: 0 Summary: Minimal low-level Python HTTP client License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/encode/httpcore Source: https://github.com/encode/httpcore/archive/%{version}.tar.gz#/httpcore-%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -40,6 +46,7 @@ Requires: python-sniffio >= 1.0 BuildArch: noarch # SECTION test requirements +%if %{with test} BuildRequires: %{python_module anyio >= 3.1.0} BuildRequires: %{python_module certifi} BuildRequires: %{python_module chardet >= 3.0} @@ -51,12 +58,14 @@ 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-tornasync} BuildRequires: %{python_module pytest-trio >= 0.7.0} BuildRequires: %{python_module pytest-twisted} BuildRequires: %{python_module rfc3986 >= 1.0} BuildRequires: %{python_module trustme >= 0.7.0} BuildRequires: %{python_module uvicorn >= 0.12.1} +%endif # /SECTION %python_subpackages @@ -71,18 +80,25 @@ %python_build %install +%if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif %check # ulimit -n 50000 # test_no_retries and test_retries are very slow and fails # tests/async_tests + tests/sync_tests causes open file limit -%pytest -rs -k 'not (test_interfaces or test_no_retries or test_retries or test_threadsafe_basic)' +# socks5 -- we don't ship socksio +%if %{with test} +%pytest -rs -k 'not (test_interfaces or test_no_retries or test_retries or test_threadsafe_basic or socks5)' +%endif +%if !%{with test} %files %{python_files} %doc README.md %license LICENSE.md %{python_sitelib}/* +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ httpcore-0.13.6.tar.gz -> httpcore-0.14.5.tar.gz ++++++ ++++ 19622 lines of diff (skipped)