forked from pool/python-cheroot
Accepting request 742154 from home:mcalabkova:branches:devel:languages:python
- Update to 8.2.1
* Deprecated use of negative timeouts as alias for infinite timeouts in ThreadPool.stop.
* For OPTION requests, bypass URI as path if it does not appear absolute.
* Workers are now request-based, addressing the long-standing issue with keep-alive connections
* 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
(for declarative config support) and preferably 34.4 or later (as indicated in pyproject.toml).
OBS-URL: https://build.opensuse.org/request/show/742154
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=20
This commit is contained in:
committed by
Git OBS Bridge
parent
2620961588
commit
ea3ff973e6
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define pypi_name cheroot
|
||||
Name: python-%{pypi_name}
|
||||
Version: 7.0.0
|
||||
Version: 8.2.1
|
||||
Release: 0
|
||||
Summary: Pure-python HTTP server
|
||||
License: BSD-3-Clause
|
||||
@@ -32,9 +32,9 @@ BuildRequires: %{python_module pytest >= 2.8}
|
||||
BuildRequires: %{python_module pytest-mock >= 1.10.4}
|
||||
BuildRequires: %{python_module requests-unixsocket}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools >= 34.4}
|
||||
BuildRequires: %{python_module setuptools_scm >= 1.15.0}
|
||||
BuildRequires: %{python_module setuptools_scm_git_archive >= 1.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.11.0}
|
||||
BuildRequires: %{python_module trustme}
|
||||
BuildRequires: fdupes
|
||||
@@ -63,10 +63,6 @@ Cheroot is the pure-Python HTTP server used by CherryPy.
|
||||
%autosetup -n cheroot-%{version} -p1
|
||||
# do not require cov/xdist/etc
|
||||
sed -i -e '/addopts/d' pytest.ini
|
||||
for file in "%{pypi_name}.egg-info/requires.txt" "setup.cfg"; do
|
||||
sed -i "s/backports.functools_lru_cache$/backports.functools_lru_cache ; python_version < '3.3'/" \
|
||||
"${file}"
|
||||
done
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user