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-08-04 13:23:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpcore (Old)
and /work/SRC/openSUSE:Factory/.python-httpcore.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-httpcore"
Thu Aug 4 13:23:19 2022 rev:6 rq:990437 version:0.15.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-httpcore/python-httpcore.changes
2022-03-02 18:20:29.484654648 +0100
+++
/work/SRC/openSUSE:Factory/.python-httpcore.new.1521/python-httpcore.changes
2022-08-04 13:23:33.416514572 +0200
@@ -1,0 +2,11 @@
+Tue Jul 19 15:31:11 UTC 2022 - Ben Greiner <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
httpcore-0.14.7.tar.gz
New:
----
httpcore-0.15.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-httpcore.spec ++++++
--- /var/tmp/diff_new_pack.y2HEel/_old 2022-08-04 13:23:33.924516013 +0200
+++ /var/tmp/diff_new_pack.y2HEel/_new 2022-08-04 13:23:33.932516036 +0200
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -25,46 +24,35 @@
%define psuffix %{nil}
%bcond_with test
%endif
-%define skip_python2 1
+
Name: python-httpcore%{psuffix}
-Version: 0.14.7
+Version: 0.15.0
Release: 0
Summary: Minimal low-level Python HTTP client
License: BSD-3-Clause
URL: https://github.com/encode/httpcore
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: fdupes
BuildRequires: python-rpm-macros
-Requires: python-anyio >= 3.1.0
+Requires: python-anyio >= 3
Requires: python-certifi
-Requires: python-chardet >= 3.0
Requires: python-h11 >= 0.11.0
-Requires: python-idna >= 2.0
-Requires: python-rfc3986 >= 1.0
Requires: python-sniffio >= 1.0
Recommends: python-h2 >= 3.0
+Recommends: python-socksio >= 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}
-BuildRequires: %{python_module h11 >= 0.11.0}
+BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module h2 >= 3.0}
-BuildRequires: %{python_module idna >= 2.0}
-BuildRequires: %{python_module mitmproxy}
-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 httpcore = %{version}}
+BuildRequires: %{python_module pytest >= 7.0.1}
+BuildRequires: %{python_module pytest-asyncio >= 0.16.0}
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}
+BuildRequires: %{python_module trio >= 0.19.0}
%endif
# /SECTION
%python_subpackages
@@ -91,14 +79,15 @@
# tests/async_tests + tests/sync_tests causes open file limit
# 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)'
+%pytest -rs -k 'not (test_interfaces or test_no_retries or test_retries or
test_threadsafe_basic or socks5)' --asyncio-mode=strict
%endif
%if !%{with test}
%files %{python_files}
%doc README.md
%license LICENSE.md
-%{python_sitelib}/*
+%{python_sitelib}/httpcore
+%{python_sitelib}/httpcore-%{version}*-info
%endif
%changelog
++++++ httpcore-0.14.7.tar.gz -> httpcore-0.15.0.tar.gz ++++++
++++ 1650 lines of diff (skipped)