diff --git a/httpcore-0.13.6.tar.gz b/httpcore-0.13.6.tar.gz deleted file mode 100644 index f6e7ebe..0000000 --- a/httpcore-0.13.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:76250306b8ea9d1d03654ce59ff9f904f0a9e3a54d719bae0503b0cd55b87c3d -size 64716 diff --git a/httpcore-0.14.5.tar.gz b/httpcore-0.14.5.tar.gz new file mode 100644 index 0000000..6c3a941 --- /dev/null +++ b/httpcore-0.14.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77092ffaa4ae02c1b9ecc2b42ff452eac7111b4c35eea0616b6cf81a3f966e51 +size 74227 diff --git a/python-httpcore.changes b/python-httpcore.changes index 3430b0b..f4ac808 100644 --- a/python-httpcore.changes +++ b/python-httpcore.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Tue Feb 1 06:13:54 UTC 2022 - Steve Kowalik + +- 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) + ------------------------------------------------------------------- Tue Jul 13 13:42:56 UTC 2021 - Matej Cepl diff --git a/python-httpcore.spec b/python-httpcore.spec index df020a7..1f7d75f 100644 --- a/python-httpcore.spec +++ b/python-httpcore.spec @@ -1,7 +1,7 @@ # # spec file for package python-httpcore # -# 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,13 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define skip_python36 1 Name: python-httpcore -Version: 0.13.6 +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} @@ -51,6 +49,7 @@ BuildRequires: %{python_module pproxy >= 2.7.8} 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} @@ -78,7 +77,8 @@ Python minimal low-level HTTP client. # 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 +%pytest -rs -k 'not (test_interfaces or test_no_retries or test_retries or test_threadsafe_basic or socks5)' %files %{python_files} %doc README.md