* 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
* 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
* [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
- 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
- Update to version 0.8.3
* Event emitters are no longer started on schedule if Observer is
not already running.
Changes from 0.8.0:
* DirectorySnapshot: methods returning internal stat info replaced
by mtime, inode and path methods.
* DirectorySnapshot: walker_callback parameter deprecated.
no more changelog available upstream
- Fix py compile mtime issue
- use record filelist feature of setup.py to gather proper filelist
OBS-URL: https://build.opensuse.org/request/show/369927
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-watchdog?expand=0&rev=3