15
0

- update to 10.0.0:

* Cheroot now accepts a ``reuse_port`` parameter on the
    ``HTTPServer`` object.
  * Subclasses overriding ``prepare_socket`` will no longer
    work and will need to adapt to the new interface.
- drop python-cheroot-no-six.patch (upstream)
    failing on some platforms presumably because of OBS specific
- Avoid possible race condition on persistent HTTP connections (bsc#1169604)
  * Remove custom setup.cfg parser handling, allowing the project (including sdist)
    to build/run on setuptools 41.4. Now building cheroot requires setuptools 30.3 or later

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=58
This commit is contained in:
2023-12-29 18:08:56 +00:00
committed by Git OBS Bridge
parent 0606f1d5a2
commit 3e070229ef
6 changed files with 33 additions and 48 deletions

View File

@@ -26,7 +26,7 @@
%bcond_with ringdisabled
%{?sle15_python_module_pythons}
Name: python-%{pypi_name}
Version: 9.0.0
Version: 10.0.0
Release: 0
Summary: Pure-python HTTP server
License: BSD-3-Clause
@@ -38,8 +38,6 @@ Source99: cheroot.rpmlintrc
Patch0: no-pypytools.patch
# PATCH-FIX-UPSTREAM no-relative-imports.patch bsc#[0-9]+ mcepl@suse.com
Patch1: no-relative-imports.patch
# https://github.com/cherrypy/cheroot/commit/f3170d40a699219345abb5813395ff39319fec86
Patch2: python-cheroot-no-six.patch
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module importlib-metadata if %python-base < 3.8}
BuildRequires: %{python_module jaraco.functools}
@@ -71,9 +69,6 @@ BuildRequires: %{python_module urllib3 >= 1.25}
# /SECTION
Requires: python-jaraco.functools
Requires: python-more-itertools >= 2.6
%if 0%{python_version_nodots} < 38
Requires: python-importlib-metadata
%endif
%if %{with libalternatives}
Requires: alts
BuildRequires: alts