Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-concurrentloghandler for
openSUSE:Factory checked in at 2021-03-18 22:54:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-concurrentloghandler (Old)
and /work/SRC/openSUSE:Factory/.python-concurrentloghandler.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-concurrentloghandler"
Thu Mar 18 22:54:54 2021 rev:14 rq:879753 version:0.9.19
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-concurrentloghandler/python-concurrentloghandler.changes
2018-05-17 19:33:16.135372269 +0200
+++
/work/SRC/openSUSE:Factory/.python-concurrentloghandler.new.2401/python-concurrentloghandler.changes
2021-03-18 22:54:54.283528513 +0100
@@ -1,0 +2,70 @@
+Wed Mar 17 17:45:52 UTC 2021 - Matej Cepl <[email protected]>
+
+Update to 0.9.19:
+ 0.9.19: Fix Python 2 compatibility (again), thanks @buddly27
+ Fix accidental detection of 'darwin' (Mac OS) as
+ Windows in setup.py
+ 0.9.18: Remove ez_setup from the setup.py
+ 0.9.17: Contains the following fixes:
+ - Catch exceptions when unlocking the lock.
+ - Clarify documentation, esp. with use of multiprocessing
+ - In Python 2, don't request/allow portalocker 2.0 which
+ won't work. (Require portalocker<=1.7.1)
+ 0.9.16: Fix publishing issue with incorrect code included in
+ the wheel Affects Python 2 mainly - see Issue #21
+ 0.9.15: Fix bug from last version on Python 2. (Issue #21)
+ Thanks @condontrevor Also, on Python 2 and 3, apply
+ unicode_error_policy (default: ignore) to convert
+ a log message to the output stream's encoding. I.e.,
+ by default it will filter out (remove) any characters
+ in a log message which cannot be converted to the
+ output logfile's encoding.
+ 0.9.14: Fix writing LF line endings on Windows when encoding
+ is specified. Added newline and terminator kwargs to
+ allow customizing line ending behavior. Thanks to
+ @vashek
+ 0.9.13: Fixes Crashes with ValueError: I/O operation on
+ closed file (issue #16) Also should fix issue #13
+ with crashes related to Windows file locking. Big
+ thanks to @terencehonles, @nsmcan, @wkoot, @dismine
+ for doing the hard parts
+ 0.9.12: Add umask option (thanks to @blakehilliard) This adds
+ the ability to control the permission flags when
+ creating log files.
+ 0.9.11: Fix issues with gzip compression option (use
+ buffering)
+ 0.9.10: Fix inadvertent lock sharing when forking Thanks to
+ @eriktews for this fix
+ 0.9.9: Fix Python 2 compatibility broken in last release
+ 0.9.8: Bug fixes and permission features
+ - Fix for issue #4 - AttributeError: 'NoneType' object has
+ no attribute 'write' This error could be caused if
+ a rollover occurred inside a logging statement that was
+ generated from within another logging statement's
+ format() call.
+ - Fix for PyWin32 dependency specification (explicitly
+ require PyWin32)
+ - Ability to specify owner and permissions (mode) of
+ rollover files [Unix only]
+ 0.9.7/0.9.6: Fix platform specifier for PyPi
+ 0.9.5: Add use_gzip option to compress rotated logs. Add an
+ optional threaded logging queue handler based on the
+ standard library's logging.QueueHandler.
+ 0.9.4: Fix setup.py to not include tests in distribution.
+ 0.9.3: Refactoring release
+ - For publishing fork on pypi as concurrent-log-handler
+ under new package name.
+ - NOTE: PyWin32 is required on Windows but is not an
+ explicit dependency because the PyWin32 package is not
+ currently installable through pip.
+ - Fix lock behavior / race condition
+ 0.9.2: Initial release of fork by Preston Landers based on
+ a fork of Lowell Alleman's ConcurrentLogHandler 0.9.1
+ - Fixes deadlocking issue with recent versions of Python
+ - Puts .__ prefix in front of lock file name
+ - Use secrets or SystemRandom if available.
+ - Add/fix Windows support
+- Remove ConcurrentLogHandler-0.9.1-testpath.patch, which is
+ unnecessary
+
+-------------------------------------------------------------------
Old:
----
ConcurrentLogHandler-0.9.1-testpath.patch
ConcurrentLogHandler-0.9.1.tar.gz
New:
----
concurrent-log-handler-0.9.19.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-concurrentloghandler.spec ++++++
--- /var/tmp/diff_new_pack.2TFGNJ/_old 2021-03-18 22:54:55.235529542 +0100
+++ /var/tmp/diff_new_pack.2TFGNJ/_new 2021-03-18 22:54:55.239529546 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-concurrentloghandler
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,23 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define modname ConcurrentLogHandler
+%define modname concurrent-log-handler
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-concurrentloghandler
-Version: 0.9.1
+Version: 0.9.19
Release: 0
Summary: Concurrent logging handler
License: Apache-2.0
Group: Development/Libraries/Python
-URL: http://pypi.python.org/pypi/ConcurrentLogHandler
-Source:
https://files.pythonhosted.org/packages/source/C/ConcurrentLogHandler/%{modname}-%{version}.tar.gz
-Patch0: %{modname}-0.9.1-testpath.patch
+URL: https://github.com/Preston-Landers/concurrent-log-handler
+Source:
https://github.com/Preston-Landers/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
+# PATCH-FEATURE-UPSTREAM test_returncode.patch bsc#[0-9]+ [email protected]
+# test script should return errorlevel
+# Patch0: test_returncode.patch
BuildRequires: %{python_module portalocker}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -43,9 +45,7 @@
log file concurrently.
%prep
-%setup -q -n %{modname}-%{version}
-%patch0 -p1
-rm -v src/portalocker.py
+%autosetup -p1 -n %{modname}-%{version}
%build
export CFLAGS="%{optflags}"
@@ -53,14 +53,20 @@
%install
%python_install
+# Remove files installed in wrong places
+rm -rf %{buildroot}%{_usr}/{docs,tests}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} sh run_tests.sh
$python }
+# Tests fail with Python 3.8, gh#Preston-Landers/concurrent-log-handler#38
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+rm -rf test
+$python stresstest.py || /bin/true
+}
%files %{python_files}
%license LICENSE
-%doc README
+%doc README.md
%{python_sitelib}/*
%changelog