- update to 6.0.0:
- Breaking Changes
- [inotify] Use of select.poll() instead of deprecated
select.select(), if available.
- [utils] Removed the unused echo_class() function from the
echo module.
- [utils] Removed the unused echo_instancemethod() function
from the echo module.
- [utils] Removed the unused echo_module() function from the
echo module.
- [utils] Removed the unused is_class_private_name() function
from the echo module.
- [utils] Removed the unused is_classmethod() function from
the echo module.
- [utils] Removed the unused is_method(met() function from
the echo module.
- [utils] Removed the unused method_name() function from the
echo module.
- [utils] Removed the unused name() function from the echo
module.
- [watchmedo] Removed the --trace CLI argument from the
watchmedo log command, useless since events are logged by
default at the LoggerTrick class level.
- Other Changes Pin test dependecies.
- [docs] Add typing info to quick start.
- [inotify] Fix reading inotify file descriptor after closing
it.
- [utils] The stop_signal keyword-argument type of the
AutoRestartTrick class can now be either a signal.Signals
or an int.
- [utils] Added the __repr__() method to the Trick class.
- [watchmedo] Fixed Mypy issues.
- [watchmedo] Added the __repr__() method to the
HelpFormatter class.
- [windows] Fixed Mypy issues.
- Switch off test coverage measurement.
- Skip test test_select_fd (gh#gorakhargosh/watchdog!1086 ?)
OBS-URL: https://build.opensuse.org/request/show/1235869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-watchdog?expand=0&rev=23
- [inotify] Use of select.poll() instead of deprecated
select.select(), if available.
- [utils] Removed the unused echo_class() function from the
echo module.
- [utils] Removed the unused echo_instancemethod() function
from the echo module.
- [utils] Removed the unused echo_module() function from the
echo module.
- [utils] Removed the unused is_class_private_name() function
from the echo module.
- [utils] Removed the unused is_classmethod() function from
the echo module.
- [utils] Removed the unused is_method(met() function from
the echo module.
- [utils] Removed the unused method_name() function from the
echo module.
- [utils] Removed the unused name() function from the echo
module.
- [watchmedo] Removed the --trace CLI argument from the
watchmedo log command, useless since events are logged by
default at the LoggerTrick class level.
- Other Changes Pin test dependecies.
- [docs] Add typing info to quick start.
- [inotify] Fix reading inotify file descriptor after closing
it.
- [utils] The stop_signal keyword-argument type of the
AutoRestartTrick class can now be either a signal.Signals
or an int.
- [utils] Added the __repr__() method to the Trick class.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=50
- 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
Generate doc only for Leap because it rise up an syntax error in
in the future.
- Update to version 2.2.0
* [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.
OBS-URL: https://build.opensuse.org/request/show/1158534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-watchdog?expand=0&rev=21
* 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
Generate doc only for Leap because it rise up an syntax error in
in the future.
- Update to version 2.2.0
* [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.
* Eliminate timeout in waiting on event queue.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=45
* Drop support for Python 3.6.
* ``watchdog`` is now PEP 561 compatible, and tested with
``mypy``
* Fix missing ``>`` in ``FileSystemEvent.__repr__()``
* [ci] Lots of improvements
* [inotify] Return from ``InotifyEmitter.queue_events()`` if
not launched when thread is inactive
* [tests] Stability improvements
* [utils] Remove handling of ``threading.Event.isSet`` spelling
* [watchmedo] Fixed tricks YAML generation
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=41
- update to 2.3.1:
* Run ``black`` on the entire source code
* Bundle the ``requirements-tests.txt`` file in the source
distribution
* [watchmedo] Exclude ``FileOpenedEvent`` events from
``AutoRestartTrick``, and ``ShellCommandTrick``, to restore
watchdog < 2.3.0 behavior. A better solution should be found
in the future.
* [watchmedo] Log ``FileOpenedEvent``, and ``FileClosedEvent``,
events in ``LoggerTrick``
* [inotify] Add support for ``IN_OPEN`` events: a
``FileOpenedEvent`` event will be fired
* [watchmedo] Add optional event debouncing for ``auto-
restart``, only restarting once if many events happen in
quick succession (``--debounce-interval``)
* [watchmedo] Exit gracefully on ``KeyboardInterrupt``
exception (Ctrl+C)
* [watchmedo] Add option to not auto-restart the command after
it exits (``--no-restart-on-command-exit``)
OBS-URL: https://build.opensuse.org/request/show/1068309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-watchdog?expand=0&rev=18
* Run ``black`` on the entire source code
* Bundle the ``requirements-tests.txt`` file in the source
distribution
* [watchmedo] Exclude ``FileOpenedEvent`` events from
``AutoRestartTrick``, and ``ShellCommandTrick``, to restore
watchdog < 2.3.0 behavior. A better solution should be found
in the future.
* [watchmedo] Log ``FileOpenedEvent``, and ``FileClosedEvent``,
events in ``LoggerTrick``
* [inotify] Add support for ``IN_OPEN`` events: a
``FileOpenedEvent`` event will be fired
* [watchmedo] Add optional event debouncing for ``auto-
restart``, only restarting once if many events happen in
quick succession (``--debounce-interval``)
* [watchmedo] Exit gracefully on ``KeyboardInterrupt``
exception (Ctrl+C)
* [watchmedo] Add option to not auto-restart the command after
it exits (``--no-restart-on-command-exit``)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=39
- 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)
[documentation] Fix typos here, and there (#910)
[fsevents2] The fsevents2 observer is now deprecated (#909)
[tests] The error message returned by musl libc for error code -1 is now allowed (#923)
[utils] Remove unnecessary code in dirsnapshot.py (#930)
[watchmedo] Handle shutdown events from SIGHUP (#912)
Thanks to our beloved contributors: @kurtmckee, @babymastodon, @QuantumEnergyE, @timgates42, @BoboTiG
OBS-URL: https://build.opensuse.org/request/show/1042764
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=35
- 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/request/show/990798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-watchdog?expand=0&rev=15
* [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
- Update to v2.1.6
* [bsd] Fixed returned paths in kqueue.py and restored the
overall results of the test suite. (#842)
* [bsd] Updated FreeBSD CI support .(#841)
* [watchmedo] Removed the argh dependency in favor of the builtin
argparse module. (#836)
* [watchmedo] Removed unexistant WindowsApiAsyncObserver
references and --debug-force-winapi-async arguments.
* [watchmedo] Improved the help output.
- Update to v2.1.5
* Convert regexes of type str to list. (#831)
* [watchmedo] Fix usage of os.setsid() and os.killpg() Unix-only
functions. (#809)
* Fix a possible AttributeError in SkipRepeatsQueue._put().
(#818)
* Allow overriding or adding custom event handlers to event
dispatch map. (#814) -- reverted (#830)
* Fix tests on big endian platforms. (#828)
OBS-URL: https://build.opensuse.org/request/show/924562
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=32
- Add missing BR on python-flaky.
- Update to v2.1.1
* [mac] Fix callback exceptions when the watcher is deleted but
still receiving events
- Update to v2.1.0
* [inotify] Simplify libc loading
* [mac] Add support for non-recursive watches in FSEventsEmitter
* [watchmedo] Add support for --debug-force-* arguments to tricks
- Update to v2.0.3
* [mac] Use logger.debug() instead of logger.info()
* Updated documentation links
- Update to v2.0.2
* [mac] Add missing exception objects
- Update to v2.0.1
* [mac] Fix a segmentation fault when dealing with unicode paths
* Moved the CI from Travis-CI to GitHub Actions
- Update to v2.0.0
* [mac] Drop support for macOS 10.12 and earlier
* [mac] Support coalesced filesystem events
* [mac] Fix an issue when renaming an item changes only the
casing
* [inotify] Add support for IN_CLOSE_WRITE events.
A FileCloseEvent event will be fired. Note that
IN_CLOSE_NOWRITE events are not handled to prevent much noise.
* [inotify] Allow to stop the emitter multiple times
* Avoid deprecated PyEval_InitThreads on Python 3.7+
OBS-URL: https://build.opensuse.org/request/show/893715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-watchdog?expand=0&rev=11
- Update to v2.1.1
* [mac] Fix callback exceptions when the watcher is deleted but
still receiving events
- Update to v2.1.0
* [inotify] Simplify libc loading
* [mac] Add support for non-recursive watches in FSEventsEmitter
* [watchmedo] Add support for --debug-force-* arguments to tricks
- Update to v2.0.3
* [mac] Use logger.debug() instead of logger.info()
* Updated documentation links
- Update to v2.0.2
* [mac] Add missing exception objects
- Update to v2.0.1
* [mac] Fix a segmentation fault when dealing with unicode paths
* Moved the CI from Travis-CI to GitHub Actions
- Update to v2.0.0
* [mac] Drop support for macOS 10.12 and earlier
* [mac] Support coalesced filesystem events
* [mac] Fix an issue when renaming an item changes only the
casing
* [inotify] Add support for IN_CLOSE_WRITE events.
A FileCloseEvent event will be fired. Note that
IN_CLOSE_NOWRITE events are not handled to prevent much noise.
* [inotify] Allow to stop the emitter multiple times
* Avoid deprecated PyEval_InitThreads on Python 3.7+
OBS-URL: https://build.opensuse.org/request/show/893701
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=26