Hello community,
here is the log from the commit of package python-waitress for openSUSE:Factory
checked in at 2020-06-23 21:03:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-waitress (Old)
and /work/SRC/openSUSE:Factory/.python-waitress.new.2956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-waitress"
Tue Jun 23 21:03:00 2020 rev:20 rq:815873 version:1.4.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-waitress/python-waitress.changes
2020-05-28 09:07:30.647733472 +0200
+++
/work/SRC/openSUSE:Factory/.python-waitress.new.2956/python-waitress.changes
2020-06-23 21:03:23.553609915 +0200
@@ -1,0 +2,8 @@
+Wed Jun 17 08:40:18 UTC 2020 - Jacek Tomasiak <[email protected]>
+
+- make sure UTF8 locale is used when runnning tests
+ * Sometimes functional tests executed in python3 failed if stdout was not
+ set to UTF-8. The error message was:
+ ValueError: underlying buffer has been detached
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-waitress.spec ++++++
--- /var/tmp/diff_new_pack.sYiyt8/_old 2020-06-23 21:03:24.489612926 +0200
+++ /var/tmp/diff_new_pack.sYiyt8/_new 2020-06-23 21:03:24.493612939 +0200
@@ -75,6 +75,9 @@
%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
%post