- update to 2.1.9:

* [fsevents] Fix flakey test to assert that there are no errors when stopping the emitter.
  * [inotify] Suppress occasional ``OSError: [Errno 9] Bad file descriptor`` at shutdown. 
  * [watchmedo] Make ``auto-restart`` restart the sub-process if it terminates. 
  * [watchmedo] Avoid zombie sub-processes when running ``shell-command`` without ``--wait``. 
  * Fix adding failed emitters on observer schedule. 
  * [inotify] Fix hang when unscheduling watch on a path in an unmounted filesystem. 
  * [watchmedo] Fix broken parsing of ``--kill-after`` argument for the ``auto-restart`` command. 
  * [watchmedo] Fix broken parsing of boolean arguments. 
  * [watchmedo] Fix broken parsing of commands from ``auto-restart``, and ``shell-command``. 
  * [watchmedo] Support setting verbosity level via ``-q/--quiet`` and ``-v/--verbose`` arguments. 
  * Thanks to our beloved contributors: @taleinat, @kianmeng, @palfrey, @IlayRosenberg, @BoboTiG
  * Eliminate timeout in waiting on event queue. 
  * [inotify] Fix ``not`` equality implementation for ``InotifyEvent``. 
  * [watchmedo] Fix calling commands from within a Python script. 
  * [watchmedo] ``PyYAML`` is loaded only when strictly necessary.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=33
This commit is contained in:
Dirk Mueller 2022-07-23 11:36:22 +00:00 committed by Git OBS Bridge
parent 0b237d30c8
commit 66b84eb373
4 changed files with 27 additions and 6 deletions

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sat Jul 23 11:29:19 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.1.9:
* [fsevents] Fix flakey test to assert that there are no errors when stopping the emitter.
* [inotify] Suppress occasional ``OSError: [Errno 9] Bad file descriptor`` at shutdown.
* [watchmedo] Make ``auto-restart`` restart the sub-process if it terminates.
* [watchmedo] Avoid zombie sub-processes when running ``shell-command`` without ``--wait``.
* Fix adding failed emitters on observer schedule.
* [inotify] Fix hang when unscheduling watch on a path in an unmounted filesystem.
* [watchmedo] Fix broken parsing of ``--kill-after`` argument for the ``auto-restart`` command.
* [watchmedo] Fix broken parsing of boolean arguments.
* [watchmedo] Fix broken parsing of commands from ``auto-restart``, and ``shell-command``.
* [watchmedo] Support setting verbosity level via ``-q/--quiet`` and ``-v/--verbose`` arguments.
* Thanks to our beloved contributors: @taleinat, @kianmeng, @palfrey, @IlayRosenberg, @BoboTiG
* Eliminate timeout in waiting on event queue.
* [inotify] Fix ``not`` equality implementation for ``InotifyEvent``.
* [watchmedo] Fix calling commands from within a Python script.
* [watchmedo] ``PyYAML`` is loaded only when strictly necessary.
-------------------------------------------------------------------
Sun Oct 10 19:18:31 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-watchdog
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-watchdog
Version: 2.1.6
Version: 2.1.9
Release: 0
Summary: Filesystem events monitoring
License: Apache-2.0
@ -70,7 +70,8 @@ cd docs && make html && rm -r build/html/.buildinfo build/html/objects.inv # Bui
sed -i '/--cov/d' setup.cfg
export LANG=en_US.UTF-8
# test_event_dispatcher randomly fails on SLE15
%pytest -k 'not test_event_dispatcher'
# test_unmount_watched_directory_filesystem requires sudo/root which is not available
%pytest -k 'not test_event_dispatcher and not test_unmount_watched_directory_filesystem'
%post
%python_install_alternative watchmedo

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a36e75df6c767cbf46f61a91c70b3ba71811dfa0aca4a324d9407a06a8b7a2e7
size 107292

3
watchdog-2.1.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43ce20ebb36a51f21fa376f76d1d4692452b2527ccd601950d69ed36b9e21609
size 119171