Update dependency watchdog to v6 #7

Open
renovate wants to merge 1 commit from renovate/watchdog-6.x into main
Contributor

This PR contains the following updates:

Package Type Update Change
watchdog (changelog) dependencies major ^2.1.6 -> ^6.0.0

Release Notes

gorakhargosh/watchdog (watchdog)

v6.0.0: 6.0.0

Compare Source

Breaking Changes

  • [inotify] Use of select.poll() instead of deprecated select.select(), if available. (#​1078)
  • [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. (#​1082)
  • [inotify] Fix reading inotify file descriptor after closing it. (#​1081)
  • [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.

💟 Thanks to our beloved contributors: @​g-pichler, @​ethan-vanderheijden, @​nhairs, @​BoboTiG

v5.0.3: 5.0.3

Compare Source

  • [inotify] Improve cleaning up Inotify threads, and add eventlet test cases (#​1070)

💟 Thanks to our beloved contributors: @​ethan-vanderheijden, @​BoboTiG

v5.0.2: 5.0.2

Compare Source

  • Enable OS specific Mypy checks (#​1064)
  • [watchmedo] Fix tricks argument type of schedule_tricks() (#​1063)

💟 Thanks to our beloved contributors: @​gnought, @​BoboTiG

v5.0.1: 5.0.1

Compare Source

  • [kqueue] Fix TypeError: kqueue.control() only accepts positional parameters (#​1062)

💟 Thanks to our beloved contributors: @​apoirier, @​BoboTiG

v5.0.0: 5.0.0

Compare Source

Breaking Changes

  • Drop support for Python 3.8 (#​1055)
  • [core] Enforced usage of proper keyword-arguments (#​1057)
  • [core] Renamed the BaseObserverSubclassCallable class to ObserverType (#​1055)
  • [inotify] Renamed the inotify_event_struct class to InotifyEventStruct (#​1055)
  • [inotify] Renamed the UnsupportedLibc exception to UnsupportedLibcError (#​1057)
  • [inotify] Removed the InotifyConstants.IN_CLOSE constant (#​1046)
  • [watchmedo] Renamed the LogLevelException exception to LogLevelError (#​1057)
  • [watchmedo] Renamed the WatchdogShutdown exception to WatchdogShutdownError (#​1057)
  • [windows] Renamed the FILE_NOTIFY_INFORMATION class to FileNotifyInformation (#​1055)
  • [windows] Removed the unused WATCHDOG_TRAVERSE_MOVED_DIR_DELAY constant (#​1057)

Other Changes

  • [core] Enable disallow_untyped_calls Mypy rule (#​1055)
  • [core] Enable disallow_untyped_defs Mypy rule (#​1060)
  • [core] Improve typing references for events (#​1040)
  • [inotify] Add support for IN_CLOSE_NOWRITE events. A FileClosedNoWriteEvent event will be fired, and its on_closed_no_write() dispatcher has been introduced (#​1046)

💟 Thanks to our beloved contributors: @​BoboTiG

v4.0.2: 4.0.2

Compare Source

  • Add support for Python 3.13 (#​1052)
  • [core] Run ruff, apply several fixes (#​1033)
  • [core] Remove execution rights from events.py
  • [documentation] Update PatternMatchingEventHandler docstrings (#​1048)
  • [documentation] Simplify the quickstart example (#​1047)
  • [fsevents] Add missing event_filter keyword-argument to FSEventsObserver.schedule() (#​1049)
  • [utils] Fix a possible race condition in AutoRestartTrick (#​1002)
  • [watchmedo] Remove execution rights from watchmedo.py

💟 Thanks to our beloved contributors: @​BoboTiG, @​nbelakovski, @​ivg

v4.0.1: 4.0.1

Compare Source

  • [inotify] Fix missing event_filter for the full emitter (#​1032)

💟 Thanks to our beloved contributors: @​mraspaud, @​BoboTiG

v4.0.0: 4.0.0

Compare Source

Breaking Changes

  • Drop support for Python 3.7.
  • [events] FileSystemEvent, and subclasses, are now dataclasses, and their repr() has changed
  • [windows] WinAPINativeEvent is now a dataclass, and its repr() has changed
  • [windows] The observers.read_directory_changes.WATCHDOG_TRAVERSE_MOVED_DIR_DELAY hack was removed. The constant will be kept to prevent breaking other softwares.

Other Changes

  • Add support for Python 3.12.
  • [snapshot] Add typing to dirsnapshot (#​1012)
  • [snapshot] Added DirectorySnapshotDiff.ContextManager (#​1011)
  • [events] Log FileOpenedEvent, and FileClosedEvent, events in LoggingEventHandler
  • [tests] Improve FileSystemEvent coverage
  • [watchmedo] Log all events in LoggerTrick

💟 Thanks to our beloved contributors: @​BoboTiG, @​msabramo

v3.0.0: 3.0.0

Compare Source

Breaking Changes

  • Drop support for Python 3.6.

Other Changes

  • watchdog is now PEP 561 compatible, and tested with mypy
  • Fix missing > in FileSystemEvent.__repr__() (#​980)
  • [ci] Lots of improvements
  • [inotify] Return from InotifyEmitter.queue_events() if not launched when thread is inactive (#​963)
  • [tests] Stability improvements
  • [utils] Remove handling of threading.Event.isSet spelling (#​962)
  • [watchmedo] Fixed tricks YAML generation (#​965)

💟 Thanks to our beloved contributors: @​kurtmckee, @​altendky, @​agroszer, @​BoboTiG


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [watchdog](https://github.com/gorakhargosh/watchdog) ([changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)) | dependencies | major | `^2.1.6` -> `^6.0.0` | --- ### Release Notes <details> <summary>gorakhargosh/watchdog (watchdog)</summary> ### [`v6.0.0`](https://github.com/gorakhargosh/watchdog/releases/tag/v6.0.0): 6.0.0 [Compare Source](https://github.com/gorakhargosh/watchdog/compare/v5.0.3...v6.0.0) #### Breaking Changes - \[inotify] Use of `select.poll()` instead of deprecated `select.select()`, if available. ([#&#8203;1078](https://github.com/gorakhargosh/watchdog/issues/1078)) - \[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. ([#&#8203;1082](https://github.com/gorakhargosh/watchdog/issues/1082)) - \[inotify] Fix reading inotify file descriptor after closing it. ([#&#8203;1081](https://github.com/gorakhargosh/watchdog/issues/1081)) - \[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. 💟 Thanks to our beloved contributors: [@&#8203;g-pichler](https://github.com/g-pichler), [@&#8203;ethan-vanderheijden](https://github.com/ethan-vanderheijden), [@&#8203;nhairs](https://github.com/nhairs), [@&#8203;BoboTiG](https://github.com/BoboTiG) ### [`v5.0.3`](https://github.com/gorakhargosh/watchdog/releases/tag/v5.0.3): 5.0.3 [Compare Source](https://github.com/gorakhargosh/watchdog/compare/v5.0.2...v5.0.3) - \[inotify] Improve cleaning up `Inotify` threads, and add `eventlet` test cases ([#&#8203;1070](https://github.com/gorakhargosh/watchdog/issues/1070)) 💟 Thanks to our beloved contributors: [@&#8203;ethan-vanderheijden](https://github.com/ethan-vanderheijden), [@&#8203;BoboTiG](https://github.com/BoboTiG) ### [`v5.0.2`](https://github.com/gorakhargosh/watchdog/releases/tag/v5.0.2): 5.0.2 [Compare Source](https://github.com/gorakhargosh/watchdog/compare/v5.0.1...v5.0.2) - Enable OS specific Mypy checks ([#&#8203;1064](https://github.com/gorakhargosh/watchdog/issues/1064)) - \[watchmedo] Fix `tricks` argument type of `schedule_tricks()` ([#&#8203;1063](https://github.com/gorakhargosh/watchdog/issues/1063)) 💟 Thanks to our beloved contributors: [@&#8203;gnought](https://github.com/gnought), [@&#8203;BoboTiG](https://github.com/BoboTiG) ### [`v5.0.1`](https://github.com/gorakhargosh/watchdog/releases/tag/v5.0.1): 5.0.1 [Compare Source](https://github.com/gorakhargosh/watchdog/compare/v5.0.0...v5.0.1) - \[kqueue] Fix `TypeError: kqueue.control() only accepts positional parameters` ([#&#8203;1062](https://github.com/gorakhargosh/watchdog/issues/1062)) 💟 Thanks to our beloved contributors: [@&#8203;apoirier](https://github.com/apoirier), [@&#8203;BoboTiG](https://github.com/BoboTiG) ### [`v5.0.0`](https://github.com/gorakhargosh/watchdog/releases/tag/v5.0.0): 5.0.0 [Compare Source](https://github.com/gorakhargosh/watchdog/compare/v4.0.2...v5.0.0) #### Breaking Changes - Drop support for Python 3.8 ([#&#8203;1055](https://github.com/gorakhargosh/watchdog/issues/1055)) - \[core] Enforced usage of proper keyword-arguments ([#&#8203;1057](https://github.com/gorakhargosh/watchdog/issues/1057)) - \[core] Renamed the `BaseObserverSubclassCallable` class to `ObserverType` ([#&#8203;1055](https://github.com/gorakhargosh/watchdog/issues/1055)) - \[inotify] Renamed the `inotify_event_struct` class to `InotifyEventStruct` ([#&#8203;1055](https://github.com/gorakhargosh/watchdog/issues/1055)) - \[inotify] Renamed the `UnsupportedLibc` exception to `UnsupportedLibcError` ([#&#8203;1057](https://github.com/gorakhargosh/watchdog/issues/1057)) - \[inotify] Removed the `InotifyConstants.IN_CLOSE` constant ([#&#8203;1046](https://github.com/gorakhargosh/watchdog/issues/1046)) - \[watchmedo] Renamed the `LogLevelException` exception to `LogLevelError` ([#&#8203;1057](https://github.com/gorakhargosh/watchdog/issues/1057)) - \[watchmedo] Renamed the `WatchdogShutdown` exception to `WatchdogShutdownError` ([#&#8203;1057](https://github.com/gorakhargosh/watchdog/issues/1057)) - \[windows] Renamed the `FILE_NOTIFY_INFORMATION` class to `FileNotifyInformation` ([#&#8203;1055](https://github.com/gorakhargosh/watchdog/issues/1055)) - \[windows] Removed the unused `WATCHDOG_TRAVERSE_MOVED_DIR_DELAY` constant ([#&#8203;1057](https://github.com/gorakhargosh/watchdog/issues/1057)) #### Other Changes - \[core] Enable `disallow_untyped_calls` Mypy rule ([#&#8203;1055](https://github.com/gorakhargosh/watchdog/issues/1055)) - \[core] Enable `disallow_untyped_defs` Mypy rule ([#&#8203;1060](https://github.com/gorakhargosh/watchdog/issues/1060)) - \[core] Improve typing references for events ([#&#8203;1040](https://github.com/gorakhargosh/watchdog/issues/1040)) - \[inotify] Add support for `IN_CLOSE_NOWRITE` events. A `FileClosedNoWriteEvent` event will be fired, and its `on_closed_no_write()` dispatcher has been introduced ([#&#8203;1046](https://github.com/gorakhargosh/watchdog/issues/1046)) :heart\_decoration: Thanks to our beloved contributors: [@&#8203;BoboTiG](https://github.com/BoboTiG) ### [`v4.0.2`](https://github.com/gorakhargosh/watchdog/releases/tag/v4.0.2): 4.0.2 [Compare Source](https://github.com/gorakhargosh/watchdog/compare/v4.0.1...v4.0.2) - Add support for Python 3.13 ([#&#8203;1052](https://github.com/gorakhargosh/watchdog/issues/1052)) - \[core] Run `ruff`, apply several fixes ([#&#8203;1033](https://github.com/gorakhargosh/watchdog/issues/1033)) - \[core] Remove execution rights from `events.py` - \[documentation] Update `PatternMatchingEventHandler` docstrings ([#&#8203;1048](https://github.com/gorakhargosh/watchdog/issues/1048)) - \[documentation] Simplify the quickstart example ([#&#8203;1047](https://github.com/gorakhargosh/watchdog/issues/1047)) - \[fsevents] Add missing `event_filter` keyword-argument to `FSEventsObserver.schedule()` ([#&#8203;1049](https://github.com/gorakhargosh/watchdog/issues/1049)) - \[utils] Fix a possible race condition in `AutoRestartTrick` ([#&#8203;1002](https://github.com/gorakhargosh/watchdog/issues/1002)) - \[watchmedo] Remove execution rights from `watchmedo.py` :heart\_decoration: Thanks to our beloved contributors: [@&#8203;BoboTiG](https://github.com/BoboTiG), [@&#8203;nbelakovski](https://github.com/nbelakovski), [@&#8203;ivg](https://github.com/ivg) ### [`v4.0.1`](https://github.com/gorakhargosh/watchdog/releases/tag/v4.0.1): 4.0.1 [Compare Source](https://github.com/gorakhargosh/watchdog/compare/v4.0.0...v4.0.1) - \[inotify] Fix missing `event_filter` for the full emitter ([#&#8203;1032](https://github.com/gorakhargosh/watchdog/issues/1032)) 💟 Thanks to our beloved contributors: [@&#8203;mraspaud](https://github.com/mraspaud), [@&#8203;BoboTiG](https://github.com/BoboTiG) ### [`v4.0.0`](https://github.com/gorakhargosh/watchdog/releases/tag/v4.0.0): 4.0.0 [Compare Source](https://github.com/gorakhargosh/watchdog/compare/v3.0.0...v4.0.0) #### Breaking Changes - Drop support for Python 3.7. - \[events] `FileSystemEvent`, and subclasses, are now `dataclass`es, and their `repr()` has changed - \[windows] `WinAPINativeEvent` is now a `dataclass`, and its `repr()` has changed - \[windows] The `observers.read_directory_changes.WATCHDOG_TRAVERSE_MOVED_DIR_DELAY` hack was removed. The constant will be kept to prevent breaking other softwares. #### Other Changes - Add support for Python 3.12. - \[snapshot] Add typing to `dirsnapshot` ([#&#8203;1012](https://github.com/gorakhargosh/watchdog/issues/1012)) - \[snapshot] Added `DirectorySnapshotDiff.ContextManager` ([#&#8203;1011](https://github.com/gorakhargosh/watchdog/issues/1011)) - \[events] Log `FileOpenedEvent`, and `FileClosedEvent`, events in `LoggingEventHandler` - \[tests] Improve `FileSystemEvent` coverage - \[watchmedo] Log all events in `LoggerTrick` 💟 Thanks to our beloved contributors: [@&#8203;BoboTiG](https://github.com/BoboTiG), [@&#8203;msabramo](https://github.com/msabramo) ### [`v3.0.0`](https://github.com/gorakhargosh/watchdog/releases/tag/v3.0.0): 3.0.0 [Compare Source](https://github.com/gorakhargosh/watchdog/compare/v2.3.1...v3.0.0) #### Breaking Changes - Drop support for Python 3.6. #### Other Changes - `watchdog` is now PEP 561 compatible, and tested with `mypy` - Fix missing `>` in `FileSystemEvent.__repr__()` ([#&#8203;980](https://github.com/gorakhargosh/watchdog/issues/980)) - \[ci] Lots of improvements - \[inotify] Return from `InotifyEmitter.queue_events()` if not launched when thread is inactive ([#&#8203;963](https://github.com/gorakhargosh/watchdog/issues/963)) - \[tests] Stability improvements - \[utils] Remove handling of `threading.Event.isSet` spelling ([#&#8203;962](https://github.com/gorakhargosh/watchdog/issues/962)) - \[watchmedo] Fixed tricks YAML generation ([#&#8203;965](https://github.com/gorakhargosh/watchdog/issues/965)) :heart\_decoration: Thanks to our beloved contributors: [@&#8203;kurtmckee](https://github.com/kurtmckee), [@&#8203;altendky](https://github.com/altendky), [@&#8203;agroszer](https://github.com/agroszer), [@&#8203;BoboTiG](https://github.com/BoboTiG) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzAuMCIsInVwZGF0ZWRJblZlciI6IjQxLjEzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate scheduled this pull request to auto merge when all checks succeed 2025-12-06 06:01:15 +00:00
This pull request has changes conflicting with the target branch.
  • pyproject.toml
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/watchdog-6.x:renovate/watchdog-6.x
git switch renovate/watchdog-6.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/watchdog-6.x
git switch renovate/watchdog-6.x
git rebase main
git switch main
git merge --ff-only renovate/watchdog-6.x
git switch renovate/watchdog-6.x
git rebase main
git switch main
git merge --no-ff renovate/watchdog-6.x
git switch main
git merge --squash renovate/watchdog-6.x
git switch main
git merge --ff-only renovate/watchdog-6.x
git switch main
git merge renovate/watchdog-6.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fleaz/potato!7
No description provided.