Sync from SUSE:SLFO:Main python-watchdog revision 31888fbf2d4724d7b7b543086f72bf68

This commit is contained in:
Adrian Schröter 2024-12-13 12:36:53 +01:00
parent 388eb11ce0
commit 4b3f36d74b
4 changed files with 51 additions and 24 deletions

View File

@ -1,9 +1,36 @@
-------------------------------------------------------------------
Thu Jun 13 15:32:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.0.1:
* [inotify] Fix missing event_filter for the full emitter
-------------------------------------------------------------------
Sat Mar 16 16:27:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.0.0:
* Drop support for Python 3.7.
* Add support for Python 3.12.
* [snapshot] Add typing to dirsnapshot
* [snapshot] Added DirectorySnapshotDiff.ContextManager
* [events] FileSystemEvent, and subclasses, are now
dataclass``es, and their ``repr() has changed
* [windows] WinAPINativeEvent is now a dataclass, and its
repr() has changed
* [events] Log FileOpenedEvent, and FileClosedEvent, events in
LoggingEventHandler
* [tests] Improve FileSystemEvent coverage
* [watchmedo] Log all events in LoggerTrick
* [windows] The observers.read_directory_changes.WATCHDOG_TRAVE
RSE_MOVED_DIR_DELAY hack was removed. The constant will be
kept to prevent breaking other softwares.
* Thanks to our beloved contributors: @BoboTiG, @msabramo
-------------------------------------------------------------------
Sun Jun 11 09:16:06 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
- Fix build error for Leap
Generate doc only for Leap because it rise up an syntax error in
Generate doc only for Leap because it rise up an syntax error in
version.py
-------------------------------------------------------------------
@ -31,7 +58,7 @@ Tue Feb 28 20:02:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
* [watchmedo] Exclude ``FileOpenedEvent`` events from
``AutoRestartTrick``, and ``ShellCommandTrick``, to restore
watchdog < 2.3.0 behavior. A better solution should be found
in the future.
in the future.
* [watchmedo] Log ``FileOpenedEvent``, and ``FileClosedEvent``,
events in ``LoggerTrick``
* [inotify] Add support for ``IN_OPEN`` events: a
@ -56,7 +83,7 @@ Mon Jan 2 10:15:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
-------------------------------------------------------------------
Tue Dec 13 17:42:04 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 2.2.0
- Update to version 2.2.0
* 2022-12-05 • full history
[build] Wheels are now available for Python 3.11 (#932)
[documentation] HTML documentation builds are now tested for errors (#902)
@ -72,19 +99,19 @@ 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.
* [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.
* 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.
-------------------------------------------------------------------
@ -198,9 +225,9 @@ Wed Jan 13 05:45:12 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
Wed Jul 22 10:26:11 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 0.10.3
* Ensure ``ObservedWatch.path`` is a string
* [inotify] Allow to monitor single file
* [inotify] Prevent raising an exception when a file in a monitored folder has no permissions
* Ensure ``ObservedWatch.path`` is a string
* [inotify] Allow to monitor single file
* [inotify] Prevent raising an exception when a file in a monitored folder has no permissions
-------------------------------------------------------------------
Wed Jun 3 07:50:43 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-watchdog
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 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 @@
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-watchdog
Version: 3.0.0
Version: 4.0.1
Release: 0
Summary: Filesystem events monitoring
License: Apache-2.0
@ -33,7 +33,7 @@ BuildRequires: python3-Sphinx
Requires: python-PyYAML >= 3.10
Requires: python-pathtools >= 0.1.1
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pathtools >= 0.1.1}

BIN
watchdog-3.0.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
watchdog-4.0.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.