Skip to content

chore(deps): bump watchdog from 6.0.0 to 7.1.1 in /backend - #85

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/backend/watchdog-7.1.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/backend/watchdog-7.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps watchdog from 6.0.0 to 7.1.1.

Release notes

Sourced from watchdog's releases.

7.1.1

  • [core] Allow pattern matching to evaluate relative paths against the watched root directory, supporting intuitive non-recursive patterns (e.g. *.json, logs/*.log) under full_match(). (#1430 Thanks to @​prateek-dagar)
  • [core] RegexMatchingEventHandler now accepts a single string for ignore_regexes, as it already does for regexes, instead of compiling each character as a separate regex. (#1419, thanks to @​arieleven)
  • [observers] Fix race condition between Observer.start() and Observer.schedule(), and release observer lock during event handler dispatch to prevent blocking concurrent schedule() and unschedule() calls. (#1044, thanks to @​prateek-dagar)
  • [fsevents] Fix compiler warnings in the C extension. (#1411, thanks to @​BoboTiG)
  • [inotify] A recursive watch that hits the inotify watch or instance limit (ENOSPC, EMFILE) on a subdirectory raises OSError from start() and schedule() again, as in 6.0.0, instead of silently watching part of the tree. A subdirectory created later that cannot be watched is logged as a warning. (#1454, thanks to @​Kernel-Hunter)
  • [inotify] Defer allocating an observer's inotify instance and reader thread until its first scheduled watch. Empty observers no longer consume inotify instances; resource-limit errors are raised by schedule() rather than construction. (#1432, thanks to @​kushaldave002)
  • [inotify] Do not log an error when InotifyEmitter.queue_events() is invoked while the emitter is inactive. (#1462, thanks to @​prateek-dagar)
  • [inotify] Events read before a kernel queue overflow are delivered instead of discarded, ahead of the EventsLostEvent. (#1440, thanks to @​KurathSec and @​fstrasz)
  • [inotify] Properly format the duplicate-callback RuntimeWarning message. (#1435, thanks to @​BoboTiG)
  • [inotify] Refactor watch tracking from flat string path dictionaries to a hierarchical directory tree (DirNode), making recursive subtree moves atomic operations with cycle detection and ancestor placeholder pruning. ("1459, thanks to @​prateek-dagar)
  • [inotify] Report lost events: after a kernel queue overflow, each watch gets an EventsLostEvent for its directory or file, dispatched to the new FileSystemEventHandler.on_events_lost() once the watches are repaired. Pattern and regex handlers (and so tricks) receive it only through on_events_lost(). (#1440, thanks to @​fstrasz)
  • [inotify] Stop watching directories moved out of a watched tree and emit synthetic deletion/moved events for their subdirectories. (#354, thanks to @​prateek-dagar)
  • [kqueue] Queue each event once per kqueue wakeup. A move reported the parent DirModifiedEvent twice, and a write reported FileModifiedEvent twice. (#1442, thanks to @​karolyi)
  • [kqueue] Register the kevents when the emitter is created, not on the emitter thread's first kqueue.control() call. Deletes, renames and attribute changes made in between were lost, every time on free-threaded Python. (#1445, thanks to @​karolyi)
  • [kqueue] Stop the emitter with a DirDeletedEvent when the watched directory is removed or moved, instead of letting its thread die with FileNotFoundError. The kevents read in the same batch are still reported. (#1436, thanks to @​karolyi)
  • [windows] A ReadDirectoryChangesW or ReadDirectoryChangesExW buffer overflow is now signalled instead of being silently dropped as zero events. (#1019, thanks to @​MohammedAlkindi)
  • [windows] Deliver events while the watched tree keeps changing: DirectoryChangeReader.get_events() now returns within its timeout instead of waiting until no buffer has arrived for a full timeout. (#1469, thanks to @​zzoraemon043)
  • [windows] Make the DirectoryChangeReader thread a daemon so an unstopped observer does not block interpreter exit. (#1470, thanks to @​devskad)
  • [windows] Report lost events: when the ReadDirectoryChangesW buffer of a watch overflows, the watch gets an EventsLostEvent, dispatched to FileSystemEventHandler.on_events_lost(), as on inotify. (#1440, thanks to @​fstrasz)
  • [windows] WindowsApiObserver, WindowsApiEmitter, and DirectoryChangeReader accept a notify_filter bitmask, the dwNotifyFilter passed to ReadDirectoryChangesW and ReadDirectoryChangesExW. The default is still WATCHDOG_FILE_NOTIFY_FLAGS, including FILE_NOTIFY_CHANGE_LAST_ACCESS. Mask that flag out (WATCHDOG_FILE_NOTIFY_FLAGS & ~FILE_NOTIFY_CHANGE_LAST_ACCESS) when access-time updates are not useful. (#1447, thanks to @​gero-robert)
  • [dirsnapshot] Avoid duplicate create or delete events when a renamed file has another hard link in the watched directory. (#1425, thanks to @​parijat1222q)
  • [dirsnapshot] Capture Linux birth times while taking a snapshot so deleted paths retain their historical identity during move detection. (#1429, thanks to @​FFspiky)
  • [dirsnapshot] Detect replacements at the same path when an inode is reused but the entry type or available birth time changes, instead of missing the replacement or reporting it as a modification. (#1464, thanks to @​anticipate218)
  • [dirsnapshot] Fix false move detection on inode recycling by verifying file type, birth time, and nanosecond stat invariants. (#992, #303, thanks to @​prateek-dagar)
  • [watchmedo] Without --command, shell-command printed every event as "<type> <object> from <src> to" with an empty destination. It now prints the destination for moved events only. (#1448, thanks to @​Kernel-Hunter)
  • [ci] Run the test suite in FreeBSD 14 (kqueue, also on free-threaded 3.13t) and FreeBSD 15 (inotify) VMs on pull requests. (#1445, thanks to @​karolyi)

7.1.0

  • [fsevents] Fix building the extension on PyPy 3.12 by updating the bundled pythoncapi_compat.h. (#1397)
  • [inotify] Create the inotify instance lazily so observer and polling imports succeed when the inotify instance limit is reached. (#1389)
  • [inotify] Reconcile recursively watched directories renamed before their source watch was registered, and simulate existing descendants so their initial changes are reported. (#1383)
  • [inotify] Reconcile recursive watches after the kernel reports an inotify queue overflow so subsequent filesystem changes are observed. (#654)
  • [inotify] Watch directories moved into a recursively watched directory from outside of it, so that changes inside them are reported. (#1094)
  • [inotify] Fix the inotify thread dying with a KeyError when a directory tree is copied or extracted into a recursively watched directory, which stopped all inotify observers in the process. (#1388)
  • [observers] Align BaseObserver with BaseThread by using on_thread_start() instead of overriding start(). (#286)
  • [watchmedo] Fix watchmedo generate-tricks-yaml output so that watchmedo tricks can load it: trick options are now nested under the trick name instead of under unsupported args/kwargs keys. (#1403)

💟 Thanks to our beloved contributors: @​BoboTiG, @​prateek-dagar, @​monosans, @​taltal-beep, @​Aschenbath, @​yangfan-yf-yf, @​alexruperez, @​PDGGK, @​Skeletor-Pirate

7.0.0

Breaking Changes

  • Drop support for Python 3.9 and 3.10.
  • [core] Changed pattern matching mechanism from using path.match() to path.full_match(). Users must update patterns to glob-like syntax: e.g., *.py to **/*.py. (#1101)
  • [core] Added FileAttribEvent and DirAttribEvent for file and directory metadata modifications (such as permissions or timestamps), separate from content modifications. These events no longer trigger on_modified(); implement on_attrib() to handle them. On Windows 10 (1709+) and Windows Server 2016+, ReadDirectoryChangesExW is used to differentiate attribute modifications, with fallback to ReadDirectoryChangesW on older versions or unsupported file shares. (#260)
  • [watchmedo] Changed the default --patterns value from "*" to "**", so the default matches absolute paths at any depth under the full_match() semantics introduced by #1101, and updated the CLI help text and docs to the **/ glob syntax. (#1212)

Other Changes

... (truncated)

Changelog

Sourced from watchdog's changelog.

7.1.1


2026-11-20 • `full history <https://github.com/gorakhargosh/watchdog/compare/v7.1.0...v7.1.1>`__

Other Changes

  • [core] Allow pattern matching to evaluate relative paths against the watched root directory, supporting intuitive non-recursive patterns (e.g. *.json, logs/*.log) under full_match(). ([#1430](https://github.com/gorakhargosh/watchdog/issues/1430) &lt;https://github.com/gorakhargosh/watchdog/issues/1430&gt;__ Thanks to @​prateek-dagar)
  • [core] RegexMatchingEventHandler now accepts a single string for ignore_regexes, as it already does for regexes, instead of compiling each character as a separate regex. ([#1419](https://github.com/gorakhargosh/watchdog/issues/1419) &lt;https://github.com/gorakhargosh/watchdog/pull/1419&gt;__, thanks to @​arieleven)
  • [observers] Fix race condition between Observer.start() and Observer.schedule(), and release observer lock during event handler dispatch to prevent blocking concurrent schedule() and unschedule() calls. ([#1044](https://github.com/gorakhargosh/watchdog/issues/1044) &lt;https://github.com/gorakhargosh/watchdog/issues/1044&gt;__, thanks to @​prateek-dagar)
  • [fsevents] Fix compiler warnings in the C extension. ([#1411](https://github.com/gorakhargosh/watchdog/issues/1411) &lt;https://github.com/gorakhargosh/watchdog/issues/1411&gt;__, thanks to @​BoboTiG)
  • [inotify] A recursive watch that hits the inotify watch or instance limit (ENOSPC, EMFILE) on a subdirectory raises OSError from start() and schedule() again, as in 6.0.0, instead of silently watching part of the tree. A subdirectory created later that cannot be watched is logged as a warning. ([#1454](https://github.com/gorakhargosh/watchdog/issues/1454) &lt;https://github.com/gorakhargosh/watchdog/issues/1454&gt;__, thanks to @​Kernel-Hunter)
  • [inotify] Defer allocating an observer's inotify instance and reader thread until its first scheduled watch. Empty observers no longer consume inotify instances; resource-limit errors are raised by schedule() rather than construction. ([#1432](https://github.com/gorakhargosh/watchdog/issues/1432) &lt;https://github.com/gorakhargosh/watchdog/issues/1432&gt;__, thanks to @​kushaldave002)
  • [inotify] Do not log an error when InotifyEmitter.queue_events() is invoked while the emitter is inactive. ([#1462](https://github.com/gorakhargosh/watchdog/issues/1462) &lt;https://github.com/gorakhargosh/watchdog/issues/1462&gt;__, thanks to @​prateek-dagar)
  • [inotify] Events read before a kernel queue overflow are delivered instead of discarded, ahead of the EventsLostEvent. ([#1440](https://github.com/gorakhargosh/watchdog/issues/1440) &lt;https://github.com/gorakhargosh/watchdog/issues/1440&gt;__, thanks to @​KurathSec and @​fstrasz)
  • [inotify] Properly format the duplicate-callback RuntimeWarning message. ([#1435](https://github.com/gorakhargosh/watchdog/issues/1435) &lt;https://github.com/gorakhargosh/watchdog/issues/1435&gt;__, thanks to @​BoboTiG)
  • [inotify] Refactor watch tracking from flat string path dictionaries to a hierarchical directory tree (DirNode), making recursive subtree moves atomic operations with cycle detection and ancestor placeholder pruning. ([#1459](https://github.com/gorakhargosh/watchdog/issues/1459) &lt;https://github.com/gorakhargosh/watchdog/pull/1459&gt;__, thanks to @​prateek-dagar)
  • [inotify] Report lost events: after a kernel queue overflow, each watch gets an EventsLostEvent for its directory or file, dispatched to the new FileSystemEventHandler.on_events_lost() once the watches are repaired. Pattern and regex handlers (and so tricks) receive it only through on_events_lost(). ([#1440](https://github.com/gorakhargosh/watchdog/issues/1440) &lt;https://github.com/gorakhargosh/watchdog/issues/1440&gt;__, thanks to @​fstrasz)
  • [inotify] Stop watching directories moved out of a watched tree and emit synthetic deletion/moved events for their subdirectories. ([#354](https://github.com/gorakhargosh/watchdog/issues/354) &lt;https://github.com/gorakhargosh/watchdog/issues/354&gt;__, thanks to @​prateek-dagar)
  • [kqueue] Queue each event once per kqueue wakeup. A move reported the parent DirModifiedEvent twice, and a write reported FileModifiedEvent twice. ([#1442](https://github.com/gorakhargosh/watchdog/issues/1442) &lt;https://github.com/gorakhargosh/watchdog/issues/1442&gt;__, thanks to @​karolyi)
  • [kqueue] Register the kevents when the emitter is created, not on the emitter thread's first kqueue.control() call. Deletes, renames and attribute changes made in between were lost, every time on free-threaded Python. ([#1445](https://github.com/gorakhargosh/watchdog/issues/1445) &lt;https://github.com/gorakhargosh/watchdog/pull/1445&gt;__, thanks to @​karolyi)
  • [kqueue] Stop the emitter with a DirDeletedEvent when the watched directory is removed or moved, instead of letting its thread die with FileNotFoundError. The kevents read in the same batch are still reported. ([#1436](https://github.com/gorakhargosh/watchdog/issues/1436) &lt;https://github.com/gorakhargosh/watchdog/issues/1436&gt;__, thanks to @​karolyi)
  • [windows] A ReadDirectoryChangesW or ReadDirectoryChangesExW buffer overflow is now signalled instead of being silently dropped as zero events. ([#1019](https://github.com/gorakhargosh/watchdog/issues/1019) &lt;https://github.com/gorakhargosh/watchdog/issues/1019&gt;__, thanks to @​MohammedAlkindi)
  • [windows] Deliver events while the watched tree keeps changing: DirectoryChangeReader.get_events() now returns within its timeout instead of waiting until no buffer has arrived for a full timeout. ([#1469](https://github.com/gorakhargosh/watchdog/issues/1469) &lt;https://github.com/gorakhargosh/watchdog/issues/1469&gt;__, thanks to @​zzoraemon043)
  • [windows] Make the DirectoryChangeReader thread a daemon so an unstopped observer does not block interpreter exit. ([#1470](https://github.com/gorakhargosh/watchdog/issues/1470) &lt;https://github.com/gorakhargosh/watchdog/issues/1470&gt;__, thanks to @​devskad)
  • [windows] Report lost events: when the ReadDirectoryChangesW buffer of a watch overflows, the watch gets an EventsLostEvent, dispatched to FileSystemEventHandler.on_events_lost(), as on inotify. ([#1440](https://github.com/gorakhargosh/watchdog/issues/1440) &lt;https://github.com/gorakhargosh/watchdog/issues/1440&gt;__, thanks to @​fstrasz)
  • [windows] WindowsApiObserver, WindowsApiEmitter, and DirectoryChangeReader accept a notify_filter bitmask, the dwNotifyFilter passed to ReadDirectoryChangesW and ReadDirectoryChangesExW. The default is still WATCHDOG_FILE_NOTIFY_FLAGS, including FILE_NOTIFY_CHANGE_LAST_ACCESS. Mask that flag out (WATCHDOG_FILE_NOTIFY_FLAGS &amp; ~FILE_NOTIFY_CHANGE_LAST_ACCESS) when access-time updates are not useful. ([#1447](https://github.com/gorakhargosh/watchdog/issues/1447) &lt;https://github.com/gorakhargosh/watchdog/issues/1447&gt;__, thanks to @​gero-robert)
  • [dirsnapshot] Avoid duplicate create or delete events when a renamed file has another hard link in the watched directory. ([#1425](https://github.com/gorakhargosh/watchdog/issues/1425) &lt;https://github.com/gorakhargosh/watchdog/issues/1425&gt;__, thanks to @​parijat1222q)
  • [dirsnapshot] Capture Linux birth times while taking a snapshot so deleted paths retain their historical identity during move detection. ([#1429](https://github.com/gorakhargosh/watchdog/issues/1429) &lt;https://github.com/gorakhargosh/watchdog/issues/1429&gt;__, thanks to @​FFspiky)
  • [dirsnapshot] Detect replacements at the same path when an inode is reused but the entry type or available birth time changes, instead of missing the replacement or reporting it as a modification. ([#1464](https://github.com/gorakhargosh/watchdog/issues/1464) &lt;https://github.com/gorakhargosh/watchdog/pull/1464&gt;__, thanks to @​anticipate218)
  • [dirsnapshot] Fix false move detection on inode recycling by verifying file type, birth time, and nanosecond stat invariants. ([#992](https://github.com/gorakhargosh/watchdog/issues/992) &lt;https://github.com/gorakhargosh/watchdog/issues/992&gt;, [#303](https://github.com/gorakhargosh/watchdog/issues/303) &lt;https://github.com/gorakhargosh/watchdog/issues/303&gt; Thanks to @​prateek-dagar)
  • [watchmedo] Without --command, shell-command printed every event as "<type> <object> from <src> to" with an empty destination. It now prints the destination for moved events only. ([#1448](https://github.com/gorakhargosh/watchdog/issues/1448) &lt;https://github.com/gorakhargosh/watchdog/pull/1448&gt;__, thanks to @​Kernel-Hunter)
  • [ci] Run the test suite in FreeBSD 14 (kqueue, also on free-threaded 3.13t) and FreeBSD 15 (inotify) VMs on pull requests. ([#1445](https://github.com/gorakhargosh/watchdog/issues/1445) &lt;https://github.com/gorakhargosh/watchdog/pull/1445&gt;__, thanks to @​karolyi)

7.1.0

2026-11-04 • full history <https://github.com/gorakhargosh/watchdog/compare/v7.0.0...v7.1.0>__

Other Changes

  • [fsevents] Fix building the extension on PyPy 3.12 by updating the bundled pythoncapi_compat.h. ([#1397](https://github.com/gorakhargosh/watchdog/issues/1397) <https://github.com/gorakhargosh/watchdog/issues/1397>__)
  • [inotify] Create the inotify instance lazily so observer and polling imports succeed when the inotify instance limit is reached. ([#1389](https://github.com/gorakhargosh/watchdog/issues/1389) <https://github.com/gorakhargosh/watchdog/issues/1389>__)
  • [inotify] Reconcile recursively watched directories renamed before their source watch was registered, and simulate existing descendants so their initial changes are reported. ([#1383](https://github.com/gorakhargosh/watchdog/issues/1383) <https://github.com/gorakhargosh/watchdog/pull/1383>__)
  • [inotify] Reconcile recursive watches after the kernel reports an inotify queue overflow so subsequent filesystem changes are observed. ([#654](https://github.com/gorakhargosh/watchdog/issues/654) <https://github.com/gorakhargosh/watchdog/pull/654>__)
  • [inotify] Watch directories moved into a recursively watched directory from outside of it, so that changes inside them are reported. ([#1094](https://github.com/gorakhargosh/watchdog/issues/1094) <https://github.com/gorakhargosh/watchdog/issues/1094>__)
  • [inotify] Fix the inotify thread dying with a KeyError when a directory tree is copied or extracted into a recursively watched directory, which stopped all inotify observers in the process. ([#1388](https://github.com/gorakhargosh/watchdog/issues/1388) <https://github.com/gorakhargosh/watchdog/pull/1388>__)
  • [observers] Align BaseObserver with BaseThread by using on_thread_start() instead of overriding start(). ([#286](https://github.com/gorakhargosh/watchdog/issues/286) <https://github.com/gorakhargosh/watchdog/issues/286>__)
  • [watchmedo] Fix watchmedo generate-tricks-yaml output so that watchmedo tricks can load it: trick options are now nested under the trick name instead of under unsupported args/kwargs keys. ([#1403](https://github.com/gorakhargosh/watchdog/issues/1403) <https://github.com/gorakhargosh/watchdog/pull/1403>__)

... (truncated)

Commits
  • c012432 feat: version v7.1.1 [skip ci] (#1474)
  • d7cc7a3 [macOS] Fix compiler warnings in the C extension (#1475)
  • ad97276 chore(deps): bump types-pyyaml from 6.0.12.20261103 to 6.0.12.20261113 (#23)
  • 746c36d chore(deps): bump ruff from 0.17.4 to 0.17.5 (#24)
  • d0c1ca6 fix(windows): bound get_events() by its timeout while buffers keep arriving (...
  • a051cca fix(windows): make the DirectoryChangeReader thread a daemon (#1472)
  • 7cd20d2 feat(utils): add removed_in target version to deprecation helpers (#1473)
  • 19bc342 fix(inotify): stop watching directories moved out of the tree (#1468)
  • 6fd883a fix(inotify): demote inactive emitter queue_events log to debug (#1467)
  • 625b036 fix: snapshot detection of same-path replacements (#1464)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 6.0.0 to 7.1.1.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases)
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)
- [Commits](gorakhargosh/watchdog@v6.0.0...v7.1.1)

---
updated-dependencies:
- dependency-name: watchdog
  dependency-version: 7.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants