Hello community, here is the log from the commit of package python-cheroot for openSUSE:Factory checked in at 2020-05-20 18:36:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cheroot (Old) and /work/SRC/openSUSE:Factory/.python-cheroot.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cheroot" Wed May 20 18:36:21 2020 rev:13 rq:807188 version:8.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cheroot/python-cheroot.changes 2020-05-09 19:52:21.736838897 +0200 +++ /work/SRC/openSUSE:Factory/.python-cheroot.new.2738/python-cheroot.changes 2020-05-20 18:36:25.268099786 +0200 @@ -1,0 +2,6 @@ +Tue May 19 10:35:40 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Add patch to fix build with python 3.8.3: + * python383.patch + +------------------------------------------------------------------- New: ---- python383.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cheroot.spec ++++++ --- /var/tmp/diff_new_pack.Iit79V/_old 2020-05-20 18:36:27.092103609 +0200 +++ /var/tmp/diff_new_pack.Iit79V/_new 2020-05-20 18:36:27.096103617 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cheroot # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,8 @@ Source: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz # PATCH-FIX_UPSTREAM //github.com/cherrypy/cheroot/pull/282 Patch1: 0001-Avoid-race-condition-on-persistent-HTTP-connections.patch - +# PATCH-FIX-UPSTREAM pr#280 +Patch2: python383.patch BuildRequires: %{python_module jaraco.functools} BuildRequires: %{python_module jaraco.text >= 3.1} BuildRequires: %{python_module more-itertools >= 2.6} ++++++ python383.patch ++++++ >From 554972e7c3142c4e82e2ac38a019ef403f8f4e3d Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" <[email protected]> Date: Sun, 12 Apr 2020 13:46:08 -0400 Subject: [PATCH 1/2] Remove fixture, undocumented and presumed unneeded. --- cheroot/test/test_server.py | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) Index: cheroot-8.3.0/cheroot/test/test_server.py =================================================================== --- cheroot-8.3.0.orig/cheroot/test/test_server.py +++ cheroot-8.3.0/cheroot/test/test_server.py @@ -23,7 +23,6 @@ from ..testing import ( ANY_INTERFACE_IPV4, ANY_INTERFACE_IPV6, EPHEMERAL_PORT, - get_server_client, ) @@ -167,19 +166,19 @@ class _TestGateway(Gateway): @pytest.fixture -def peercreds_enabled_server_and_client(http_server, unix_sock_file): +def peercreds_enabled_server(http_server, unix_sock_file): """Construct a test server with ``peercreds_enabled``.""" httpserver = http_server.send(unix_sock_file) httpserver.gateway = _TestGateway httpserver.peercreds_enabled = True - return httpserver, get_server_client(httpserver) + return httpserver @unix_only_sock_test @non_macos_sock_test -def test_peercreds_unix_sock(peercreds_enabled_server_and_client): +def test_peercreds_unix_sock(peercreds_enabled_server): """Check that ``PEERCRED`` lookup works when enabled.""" - httpserver, testclient = peercreds_enabled_server_and_client + httpserver = peercreds_enabled_server bind_addr = httpserver.bind_addr if isinstance(bind_addr, six.binary_type): @@ -208,9 +207,9 @@ def test_peercreds_unix_sock(peercreds_e ) @unix_only_sock_test @non_macos_sock_test -def test_peercreds_unix_sock_with_lookup(peercreds_enabled_server_and_client): +def test_peercreds_unix_sock_with_lookup(peercreds_enabled_server): """Check that ``PEERCRED`` resolution works when enabled.""" - httpserver, testclient = peercreds_enabled_server_and_client + httpserver = peercreds_enabled_server httpserver.peercreds_resolve_enabled = True bind_addr = httpserver.bind_addr
