Hello community,

here is the log from the commit of package python-waitress for openSUSE:Factory 
checked in at 2020-10-29 09:46:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-waitress (Old)
 and      /work/SRC/openSUSE:Factory/.python-waitress.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-waitress"

Thu Oct 29 09:46:26 2020 rev:21 rq:839291 version:1.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-waitress/python-waitress.changes  
2020-06-23 21:03:23.553609915 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-waitress.new.3463/python-waitress.changes    
    2020-10-29 09:46:32.396068515 +0100
@@ -1,0 +2,19 @@
+Thu Oct  1 13:33:24 UTC 2020 - Hans-Peter Jansen <[email protected]>
+
+- Update to version 1.4.4 (2020-06-01)
+  + Fix an issue with keep-alive connections in which memory usage
+    was higher than expected because output buffers were being
+    reused across requests on a long-lived connection and each
+    buffer would not be freed until it was full or the connection
+    was closed. Buffers are now rotated per-request to stabilize
+    their behavior.
+  + See https://github.com/Pylons/waitress/pull/300
+  + Waitress threads have been updated to contain their thread
+    number. This will allow loggers that use that information to
+    print the thread that the log is coming from.
+  + See https://github.com/Pylons/waitress/pull/302
+- Switch to pytest, disable one test, that requires network
+- Create _multibuild for doc package
+  It requires installation of base package now
+
+-------------------------------------------------------------------

Old:
----
  waitress-1.4.3.tar.gz

New:
----
  _multibuild
  waitress-1.4.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-waitress.spec ++++++
--- /var/tmp/diff_new_pack.Q3vQkJ/_old  2020-10-29 09:46:35.348071303 +0100
+++ /var/tmp/diff_new_pack.Q3vQkJ/_new  2020-10-29 09:46:35.352071307 +0100
@@ -16,9 +16,18 @@
 #
 
 
+%global flavor @BUILD_FLAVOR@%{nil}
+
+%if "%{flavor}" == "doc"
+%define psuffix -doc
+%endif
+%if "%{flavor}" == ""
+%define psuffix %{nil}
+%endif
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-waitress
-Version:        1.4.3
+Name:           python-waitress%{psuffix}
+Version:        1.4.4
 Release:        0
 Summary:        Waitress WSGI server
 License:        ZPL-2.1
@@ -29,19 +38,26 @@
 # https://docs.python.org/3/objects.inv -> python3.inv
 Source1:        python3.inv
 Source2:        fetch-intersphinx-inventories.sh
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+%if "%{flavor}" == ""
+BuildRequires:  %{python_module pytest-cov}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
-BuildArch:      noarch
-# SECTION documentation requirements
+%else
+# Documentation requirements
 BuildRequires:  python3-Sphinx
 BuildRequires:  python3-docutils
 BuildRequires:  python3-pylons-sphinx-themes
-# /SECTION
+BuildRequires:  python3-waitress = %{version}
+Recommends:     python3-waitress = %{version}
+%endif
+BuildArch:      noarch
 %python_subpackages
 
+%if "%{flavor}" == ""
 %description
 Waitress is a pure-Python WSGI server. It has no dependencies except
 ones which live in the Python standard library. It supports HTTP/1.0
@@ -50,22 +66,11 @@
 For more information, see the "docs" directory of the Waitress package or
 http://docs.pylonsproject.org/projects/waitress/en/latest/ .
 
-%package doc
-Summary:        Documentation for %{name}
-Group:          Documentation/HTML
-Requires:       %{name} = %{version}
-
-%description doc
-This package contains documentation files for %{name}.
-
 %prep
 %setup -q -n waitress-%{version}
-cp %{SOURCE1} docs/
 
 %build
 %python_build
-export SPHINXOPTS=-vvv
-python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
 
 %install
 %python_install
@@ -73,12 +78,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Tests require a network connection
-rm waitress/tests/test_adjustments.py
-# make sure utf8 locale is set or tests could fail with:
-#    ValueError: underlying buffer has been detached
-export LANG=en_US.UTF8
-%python_exec setup.py test
+# disable one test, that requires network
+%pytest -k 'not test_service_port'
 
 %post
 %python_install_alternative waitress-serve
@@ -92,8 +93,22 @@
 %python_alternative %{_bindir}/waitress-serve
 %{python_sitelib}/*
 
-%files %{python_files doc}
+%else
+# doc flavor
+%description
+This package contains documentation files for %{name}.
+
+%prep
+%setup -q -n waitress-%{version}
+# python3.inv
+cp %{SOURCE1} docs/
+
+%build
+python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
+
+%files %{python_files}
 %license LICENSE.txt
 %doc build/sphinx/html
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>doc</package>
</multibuild>
++++++ python3.inv ++++++
Binary files /var/tmp/diff_new_pack.Q3vQkJ/_old and 
/var/tmp/diff_new_pack.Q3vQkJ/_new differ

++++++ waitress-1.4.3.tar.gz -> waitress-1.4.4.tar.gz ++++++
++++ 30912 lines of diff (skipped)


Reply via email to