Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return from InotifyEmitter.queue_events() if not launched when thread is inactive #963

Merged
merged 3 commits into from
Mar 14, 2023

Conversation

altendky
Copy link
Contributor

This was pointed out by mypy but I wanted to separate it out for individual consideration. Existing behavior would have been to raise an AttributeError. Should this return as if there was no read event? Or raise? If raising, would WatchdogShutdown be appropriate or should we make something else? For example, this makes a difference to EventEmitter.run()

@BoboTiG
Copy link
Collaborator

BoboTiG commented Mar 13, 2023

Hm I do not have a strong opinion 🤔
WDYT about returning as if there were no events, and add an ERROR log line? Like that the issue is not completely silenced. And if the error can give insights to developers to help them preventing the error, that's even better.

(Note: I'll get back to your email tomorrow ;)

@altendky altendky mentioned this pull request Mar 14, 2023
3 tasks
@BoboTiG BoboTiG closed this Mar 14, 2023
@BoboTiG BoboTiG reopened this Mar 14, 2023
@BoboTiG BoboTiG merged commit e716122 into gorakhargosh:master Mar 14, 2023
wxx9248 pushed a commit to wxx9248/Pickle-Rush that referenced this pull request Mar 20, 2023
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.3.1 to
3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/releases">watchdog's
releases</a>.</em></p>
<blockquote>
<h2>3.0.0</h2>
<ul>
<li>Drop support for Python 3.6.</li>
<li><code>watchdog</code> is now PEP 561 compatible, and tested with
<code>mypy</code></li>
<li>Fix missing <code>&gt;</code> in
<code>FileSystemEvent.__repr__()</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/980">#980</a>)</li>
<li>[ci] Lots of improvements</li>
<li>[inotify] Return from <code>InotifyEmitter.queue_events()</code> if
not launched when thread is inactive (<a
href="https://github.com/gorakhargosh/watchdog/issues/963">#963</a>)</li>
<li>[tests] Stability improvements</li>
<li>[utils] Remove handling of <code>threading.Event.isSet</code>
spelling (<a
href="https://github.com/gorakhargosh/watchdog/issues/962">#962</a>)</li>
<li>[watchmedo] Fixed tricks YAML generation (<a
href="https://github.com/gorakhargosh/watchdog/issues/965">#965</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/altendky"><code>@​altendky</code></a>, <a
href="https://github.com/agroszer"><code>@​agroszer</code></a>, <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst">watchdog's
changelog</a>.</em></p>
<blockquote>
<p>3.0.0</p>
<pre><code>
2023-03-20 • `full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.3.1...v3.0.0&gt;`__
<ul>
<li>Drop support for Python 3.6.</li>
<li><code>watchdog</code> is now PEP 561 compatible, and tested with
<code>mypy</code></li>
<li>Fix missing <code>&amp;gt;</code> in
<code>FileSystemEvent.__repr__()</code>
(<code>[#980](gorakhargosh/watchdog#980)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/980&amp;gt;</code>__)</li>
<li>[ci] Lots of improvements</li>
<li>[inotify] Return from <code>InotifyEmitter.queue_events()</code> if
not launched when thread is inactive
(<code>[#963](gorakhargosh/watchdog#963)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/963&amp;gt;</code>__)</li>
<li>[tests] Stability improvements</li>
<li>[utils] Remove handling of <code>threading.Event.isSet</code>
spelling
(<code>[#962](gorakhargosh/watchdog#962)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/962&amp;gt;</code>__)</li>
<li>[watchmedo] Fixed tricks YAML generation
(<code>[#965](gorakhargosh/watchdog#965)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/965&amp;gt;</code>__)</li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/altendky"><code>@​altendky</code></a>, <a
href="https://github.com/agroszer"><code>@​agroszer</code></a>, <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>
</code></pre></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/da09c060a007fe7fddde27592e4f63ae1e8697bc"><code>da09c06</code></a>
Release 3.0.0</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/9fc1ce2eb04cbe9ca9321949c3962015c2699a06"><code>9fc1ce2</code></a>
fix: missing <code>&gt;</code> in
<code>FileSystemEvent.__repr__()</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/980">#980</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/1838e0b19df98c1ec82acd1d681b7092403e8848"><code>1838e0b</code></a>
doc: clean-up</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/ce6218cebbb17c39adfe35e69124dc3390368196"><code>ce6218c</code></a>
Update global.rst.inc</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/989fddcb3963781e702e7c688e3871b416e2b53e"><code>989fddc</code></a>
Update installation.rst</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/71f2df38b4092ba6674f59be10a91c51585d4aa7"><code>71f2df3</code></a>
Update README.rst</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/9c28c61d001a6c05d47e4c0bd852bbb1dac78e2e"><code>9c28c61</code></a>
mypy check_untyped_defs (<a
href="https://github.com/gorakhargosh/watchdog/issues/966">#966</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/764a23494b82e163b92617377d0347cf72e304d2"><code>764a234</code></a>
tests: refactor test setups towards fixtures and hinting (<a
href="https://github.com/gorakhargosh/watchdog/issues/968">#968</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/ddb9bd1ba10c1ecfc79e67730ea55bcc5c870809"><code>ddb9bd1</code></a>
tests: xfail tests until we work on them (<a
href="https://github.com/gorakhargosh/watchdog/issues/975">#975</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/344f342123e46aaac06a398b8b7b8592a1c5251d"><code>344f342</code></a>
tests: skip pypy on windows (<a
href="https://github.com/gorakhargosh/watchdog/issues/976">#976</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/gorakhargosh/watchdog/compare/v2.3.1...v3.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=watchdog&package-manager=pip&previous-version=2.3.1&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
netbsd-srcmastr referenced this pull request in NetBSD/pkgsrc May 5, 2023
3.0.0
~~~~~

- Drop support for Python 3.6.
- ``watchdog`` is now PEP 561 compatible, and tested with ``mypy``
- Fix missing ``>`` in ``FileSystemEvent.__repr__()``  (`#980 <https://github.com/gorakhargosh/watchdog/pull/980>`__)
- [ci] Lots of improvements
- [inotify] Return from ``InotifyEmitter.queue_events()`` if not launched when thread is inactive (`#963 <https://github.com/gorakhargosh/watchdog/pull/963>`__)
- [tests] Stability improvements
- [utils] Remove handling of ``threading.Event.isSet`` spelling (`#962 <https://github.com/gorakhargosh/watchdog/pull/962>`__)
- [watchmedo] Fixed tricks YAML generation (`#965 <https://github.com/gorakhargosh/watchdog/pull/965>`__)
- Thanks to our beloved contributors: @kurtmckee, @altendky, @agroszer, @BoboTiG

2.3.1
~~~~~

- Run ``black`` on the entire source code
- Bundle the ``requirements-tests.txt`` file in the source distribution (`#939 <https://github.com/gorakhargosh/watchdog/pull/939>`__)
- [watchmedo] Exclude ``FileOpenedEvent`` events from ``AutoRestartTrick``, and ``ShellCommandTrick``, to restore watchdog < 2.3.0 behavior. A better solution should be found in the future. (`#949 <https://github.com/gorakhargosh/watchdog/pull/949>`__)
- [watchmedo] Log ``FileOpenedEvent``, and ``FileClosedEvent``, events in ``LoggerTrick``
- Thanks to our beloved contributors: @BoboTiG

2.3.0
~~~~~

- [inotify] Add support for ``IN_OPEN`` events: a ``FileOpenedEvent`` event will be fired (`#941 <https://github.com/gorakhargosh/watchdog/pull/941>`__)
- [watchmedo] Add optional event debouncing for ``auto-restart``, only restarting once if many events happen in quick succession (``--debounce-interval``) (`#940 <https://github.com/gorakhargosh/watchdog/pull/940>`__)
- [watchmedo] Exit gracefully on ``KeyboardInterrupt`` exception (Ctrl+C) (`#945 <https://github.com/gorakhargosh/watchdog/pull/945>`__)
- [watchmedo] Add option to not auto-restart the command after it exits (``--no-restart-on-command-exit``) (`#946 <https://github.com/gorakhargosh/watchdog/pull/946>`__)
- Thanks to our beloved contributors: @BoboTiG, @dstaple, @taleinat, @cernekj

2.2.1
~~~~~

- Enable ``mypy`` to discover type hints as specified in PEP 561 (`#933 <https://github.com/gorakhargosh/watchdog/pull/933>`__)
- [ci] Set the expected Python version when building release files
- [ci] Update actions versions in use
- [watchmedo] [regression] Fix usage of missing ``signal.SIGHUP`` attribute on non-Unix OSes (`#935 <https://github.com/gorakhargosh/watchdog/pull/935>`__)
- Thanks to our beloved contributors: @BoboTiG, @simon04, @piotrpdev

2.2.0
~~~~~

- [build] Wheels are now available for Python 3.11 (`#932 <https://github.com/gorakhargosh/watchdog/pull/932>`__)
- [documentation] HTML documentation builds are now tested for errors (`#902 <https://github.com/gorakhargosh/watchdog/pull/902>`__)
- [documentation] Fix typos here, and there (`#910 <https://github.com/gorakhargosh/watchdog/pull/910>`__)
- [fsevents2] The ``fsevents2`` observer is now deprecated (`#909 <https://github.com/gorakhargosh/watchdog/pull/909>`__)
- [tests] The error message returned by musl libc for error code ``-1`` is now allowed (`#923 <https://github.com/gorakhargosh/watchdog/pull/923>`__)
- [utils] Remove unnecessary code in ``dirsnapshot.py`` (`#930 <https://github.com/gorakhargosh/watchdog/pull/930>`__)
- [watchmedo] Handle shutdown events from ``SIGHUP`` (`#912 <https://github.com/gorakhargosh/watchdog/pull/912>`__)
- Thanks to our beloved contributors: @kurtmckee, @babymastodon, @QuantumEnergyE, @timgates42, @BoboTiG
bmcutler pushed a commit to Submitty/Submitty that referenced this pull request Aug 9, 2023
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.3.0 to
3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/releases">watchdog's
releases</a>.</em></p>
<blockquote>
<h2>3.0.0</h2>
<ul>
<li>Drop support for Python 3.6.</li>
<li><code>watchdog</code> is now PEP 561 compatible, and tested with
<code>mypy</code></li>
<li>Fix missing <code>&gt;</code> in
<code>FileSystemEvent.__repr__()</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/980">#980</a>)</li>
<li>[ci] Lots of improvements</li>
<li>[inotify] Return from <code>InotifyEmitter.queue_events()</code> if
not launched when thread is inactive (<a
href="https://github.com/gorakhargosh/watchdog/issues/963">#963</a>)</li>
<li>[tests] Stability improvements</li>
<li>[utils] Remove handling of <code>threading.Event.isSet</code>
spelling (<a
href="https://github.com/gorakhargosh/watchdog/issues/962">#962</a>)</li>
<li>[watchmedo] Fixed tricks YAML generation (<a
href="https://github.com/gorakhargosh/watchdog/issues/965">#965</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/altendky"><code>@​altendky</code></a>, <a
href="https://github.com/agroszer"><code>@​agroszer</code></a>, <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></p>
<h2>2.3.1</h2>
<ul>
<li>Run <code>black</code> on the entire source code</li>
<li>Bundle the <code>requirements-tests.txt</code> file in the source
distribution (<a
href="https://github.com/gorakhargosh/watchdog/issues/939">#939</a>)</li>
<li>[watchmedo] Exclude <code>FileOpenedEvent</code> events from
<code>AutoRestartTrick</code>, and <code>ShellCommandTrick</code>, to
restore watchdog &lt; 2.3.0 behavior. A better solution should be found
in the future. (<a
href="https://github.com/gorakhargosh/watchdog/issues/949">#949</a>)</li>
<li>[watchmedo] Log <code>FileOpenedEvent</code>, and
<code>FileClosedEvent</code>, events in <code>LoggerTrick</code></li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst">watchdog's
changelog</a>.</em></p>
<blockquote>
<p>3.0.0</p>
<pre><code>
2023-03-20 • `full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.3.1...v3.0.0&gt;`__
<ul>
<li>Drop support for Python 3.6.</li>
<li><code>watchdog</code> is now PEP 561 compatible, and tested with
<code>mypy</code></li>
<li>Fix missing <code>&amp;gt;</code> in
<code>FileSystemEvent.__repr__()</code>
(<code>[#980](gorakhargosh/watchdog#980)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/980&amp;gt;</code>__)</li>
<li>[ci] Lots of improvements</li>
<li>[inotify] Return from <code>InotifyEmitter.queue_events()</code> if
not launched when thread is inactive
(<code>[#963](gorakhargosh/watchdog#963)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/963&amp;gt;</code>__)</li>
<li>[tests] Stability improvements</li>
<li>[utils] Remove handling of <code>threading.Event.isSet</code>
spelling
(<code>[#962](gorakhargosh/watchdog#962)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/962&amp;gt;</code>__)</li>
<li>[watchmedo] Fixed tricks YAML generation
(<code>[#965](gorakhargosh/watchdog#965)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/965&amp;gt;</code>__)</li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/altendky"><code>@​altendky</code></a>, <a
href="https://github.com/agroszer"><code>@​agroszer</code></a>, <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></li>
</ul>
<p>2.3.1
</code></pre></p>
<p>2023-02-28 • <code>full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.3.0...v2.3.1&gt;</code>__</p>
<ul>
<li>Run <code>black</code> on the entire source code</li>
<li>Bundle the <code>requirements-tests.txt</code> file in the source
distribution
(<code>[#939](gorakhargosh/watchdog#939)
&lt;https://github.com/gorakhargosh/watchdog/pull/939&gt;</code>__)</li>
<li>[watchmedo] Exclude <code>FileOpenedEvent</code> events from
<code>AutoRestartTrick</code>, and <code>ShellCommandTrick</code>, to
restore watchdog <!-- raw HTML omitted -->`__)</li>
<li>[watchmedo] Log <code>FileOpenedEvent</code>, and
<code>FileClosedEvent</code>, events in <code>LoggerTrick</code></li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/da09c060a007fe7fddde27592e4f63ae1e8697bc"><code>da09c06</code></a>
Release 3.0.0</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/9fc1ce2eb04cbe9ca9321949c3962015c2699a06"><code>9fc1ce2</code></a>
fix: missing <code>&gt;</code> in
<code>FileSystemEvent.__repr__()</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/980">#980</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/1838e0b19df98c1ec82acd1d681b7092403e8848"><code>1838e0b</code></a>
doc: clean-up</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/ce6218cebbb17c39adfe35e69124dc3390368196"><code>ce6218c</code></a>
Update global.rst.inc</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/989fddcb3963781e702e7c688e3871b416e2b53e"><code>989fddc</code></a>
Update installation.rst</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/71f2df38b4092ba6674f59be10a91c51585d4aa7"><code>71f2df3</code></a>
Update README.rst</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/9c28c61d001a6c05d47e4c0bd852bbb1dac78e2e"><code>9c28c61</code></a>
mypy check_untyped_defs (<a
href="https://github.com/gorakhargosh/watchdog/issues/966">#966</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/764a23494b82e163b92617377d0347cf72e304d2"><code>764a234</code></a>
tests: refactor test setups towards fixtures and hinting (<a
href="https://github.com/gorakhargosh/watchdog/issues/968">#968</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/ddb9bd1ba10c1ecfc79e67730ea55bcc5c870809"><code>ddb9bd1</code></a>
tests: xfail tests until we work on them (<a
href="https://github.com/gorakhargosh/watchdog/issues/975">#975</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/344f342123e46aaac06a398b8b7b8592a1c5251d"><code>344f342</code></a>
tests: skip pypy on windows (<a
href="https://github.com/gorakhargosh/watchdog/issues/976">#976</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/gorakhargosh/watchdog/compare/v2.3.0...v3.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=watchdog&package-manager=pip&previous-version=2.3.0&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions bot pushed a commit to bacalhau-project/bacalhau that referenced this pull request Oct 14, 2023
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 0.9.0 to
3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/releases">watchdog's
releases</a>.</em></p>
<blockquote>
<h2>3.0.0</h2>
<ul>
<li>Drop support for Python 3.6.</li>
<li><code>watchdog</code> is now PEP 561 compatible, and tested with
<code>mypy</code></li>
<li>Fix missing <code>&gt;</code> in
<code>FileSystemEvent.__repr__()</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/980">#980</a>)</li>
<li>[ci] Lots of improvements</li>
<li>[inotify] Return from <code>InotifyEmitter.queue_events()</code> if
not launched when thread is inactive (<a
href="https://github.com/gorakhargosh/watchdog/issues/963">#963</a>)</li>
<li>[tests] Stability improvements</li>
<li>[utils] Remove handling of <code>threading.Event.isSet</code>
spelling (<a
href="https://github.com/gorakhargosh/watchdog/issues/962">#962</a>)</li>
<li>[watchmedo] Fixed tricks YAML generation (<a
href="https://github.com/gorakhargosh/watchdog/issues/965">#965</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/altendky"><code>@​altendky</code></a>, <a
href="https://github.com/agroszer"><code>@​agroszer</code></a>, <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></p>
<h2>2.3.1</h2>
<ul>
<li>Run <code>black</code> on the entire source code</li>
<li>Bundle the <code>requirements-tests.txt</code> file in the source
distribution (<a
href="https://github.com/gorakhargosh/watchdog/issues/939">#939</a>)</li>
<li>[watchmedo] Exclude <code>FileOpenedEvent</code> events from
<code>AutoRestartTrick</code>, and <code>ShellCommandTrick</code>, to
restore watchdog &lt; 2.3.0 behavior. A better solution should be found
in the future. (<a
href="https://github.com/gorakhargosh/watchdog/issues/949">#949</a>)</li>
<li>[watchmedo] Log <code>FileOpenedEvent</code>, and
<code>FileClosedEvent</code>, events in <code>LoggerTrick</code></li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></p>
<h2>2.3.0</h2>
<ul>
<li>[inotify] Add support for <code>IN_OPEN</code> events: a
<code>FileOpenedEvent</code> event will be fired (<a
href="https://github.com/gorakhargosh/watchdog/issues/941">#941</a>)</li>
<li>[watchmedo] Add optional event debouncing for
<code>auto-restart</code>, only restarting once if many events happen in
quick succession (<code>--debounce-interval</code>) (<a
href="https://github.com/gorakhargosh/watchdog/issues/940">#940</a>)</li>
<li>[watchmedo] Add option to not auto-restart the command after it
exits (<code>--no-restart-on-command-exit</code>) (<a
href="https://github.com/gorakhargosh/watchdog/issues/946">#946</a>)</li>
<li>[watchmedo] Exit gracefully on <code>KeyboardInterrupt</code>
exception (Ctrl+C) (<a
href="https://github.com/gorakhargosh/watchdog/issues/945">#945</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/dstaple"><code>@​dstaple</code></a>, <a
href="https://github.com/taleinat"><code>@​taleinat</code></a>, <a
href="https://github.com/cernekj"><code>@​cernekj</code></a></p>
<h2>2.2.1</h2>
<ul>
<li>Enable mypy to discover type hints as specified in PEP 561 (<a
href="https://github.com/gorakhargosh/watchdog/issues/933">#933</a>)</li>
<li>[ci] Set the expected Python version when building release
files</li>
<li>[ci] Update actions versions in use</li>
<li>[watchmedo] [regression] Fix usage of missing
<code>signal.SIGHUP</code> attribute on non-Unix OSes (<a
href="https://github.com/gorakhargosh/watchdog/issues/935">#935</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/simon04"><code>@​simon04</code></a>, <a
href="https://github.com/piotrpdev"><code>@​piotrpdev</code></a></p>
<h2>2.2.0</h2>
<ul>
<li>[build] Wheels are now available for Python 3.11 (<a
href="https://github.com/gorakhargosh/watchdog/issues/932">#932</a>)</li>
<li>[documentation] HTML documentation builds are now tested for errors
(<a
href="https://github.com/gorakhargosh/watchdog/issues/902">#902</a>)</li>
<li>[documentation] Fix typos here, and there (<a
href="https://github.com/gorakhargosh/watchdog/issues/910">#910</a>)</li>
<li>[fsevents2] The <code>fsevents2</code> observer is now deprecated
(<a
href="https://github.com/gorakhargosh/watchdog/issues/909">#909</a>)</li>
<li>[tests] The error message returned by musl libc for error code
<code>-1</code> is now allowed (<a
href="https://github.com/gorakhargosh/watchdog/issues/923">#923</a>)</li>
<li>[utils] Remove unnecessary code in <code>dirsnapshot.py</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/930">#930</a>)</li>
<li>[watchmedo] Handle shutdown events from <code>SIGHUP</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/912">#912</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/babymastodon"><code>@​babymastodon</code></a>,
<a
href="https://github.com/QuantumEnergyE"><code>@​QuantumEnergyE</code></a>,
<a href="https://github.com/timgates42"><code>@​timgates42</code></a>,
<a href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></p>
<h2>2.1.9</h2>
<ul>
<li>[fsevents] Fix flakey test to assert that there are no errors when
stopping the emitter.</li>
<li>[inotify] Suppress occasional <code>OSError: [Errno 9] Bad file
descriptor</code> at shutdown. <a
href="https://github.com/gorakhargosh/watchdog/issues/805">#805</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst">watchdog's
changelog</a>.</em></p>
<blockquote>
<p>3.0.0</p>
<pre><code>
2023-03-20 • `full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.3.1...v3.0.0&gt;`__
<ul>
<li>Drop support for Python 3.6.</li>
<li><code>watchdog</code> is now PEP 561 compatible, and tested with
<code>mypy</code></li>
<li>Fix missing <code>&amp;gt;</code> in
<code>FileSystemEvent.__repr__()</code>
(<code>[#980](gorakhargosh/watchdog#980)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/980&amp;gt;</code>__)</li>
<li>[ci] Lots of improvements</li>
<li>[inotify] Return from <code>InotifyEmitter.queue_events()</code> if
not launched when thread is inactive
(<code>[#963](gorakhargosh/watchdog#963)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/963&amp;gt;</code>__)</li>
<li>[tests] Stability improvements</li>
<li>[utils] Remove handling of <code>threading.Event.isSet</code>
spelling
(<code>[#962](gorakhargosh/watchdog#962)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/962&amp;gt;</code>__)</li>
<li>[watchmedo] Fixed tricks YAML generation
(<code>[#965](gorakhargosh/watchdog#965)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/965&amp;gt;</code>__)</li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/altendky"><code>@​altendky</code></a>, <a
href="https://github.com/agroszer"><code>@​agroszer</code></a>, <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></li>
</ul>
<p>2.3.1
</code></pre></p>
<p>2023-02-28 • <code>full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.3.0...v2.3.1&gt;</code>__</p>
<ul>
<li>Run <code>black</code> on the entire source code</li>
<li>Bundle the <code>requirements-tests.txt</code> file in the source
distribution
(<code>[#939](gorakhargosh/watchdog#939)
&lt;https://github.com/gorakhargosh/watchdog/pull/939&gt;</code>__)</li>
<li>[watchmedo] Exclude <code>FileOpenedEvent</code> events from
<code>AutoRestartTrick</code>, and <code>ShellCommandTrick</code>, to
restore watchdog <!-- raw HTML omitted -->`__)</li>
<li>[watchmedo] Log <code>FileOpenedEvent</code>, and
<code>FileClosedEvent</code>, events in <code>LoggerTrick</code></li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></li>
</ul>
<p>2.3.0</p>
<pre><code>
2023-02-23 • `full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.2.1...v2.3.0&gt;`__
<ul>
<li>[inotify] Add support for <code>IN_OPEN</code> events: a
<code>FileOpenedEvent</code> event will be fired
(<code>[#941](gorakhargosh/watchdog#941)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/941&amp;gt;</code>__)</li>
<li>[watchmedo] Add optional event debouncing for
<code>auto-restart</code>, only restarting once if many events happen in
quick succession (<code>--debounce-interval</code>)
(<code>[#940](gorakhargosh/watchdog#940)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/940&amp;gt;</code>__)</li>
<li>[watchmedo] Exit gracefully on <code>KeyboardInterrupt</code>
exception (Ctrl+C)
(<code>[#945](gorakhargosh/watchdog#945)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/945&amp;gt;</code>__)</li>
<li>[watchmedo] Add option to not auto-restart the command after it
exits (<code>--no-restart-on-command-exit</code>)
(<code>[#946](gorakhargosh/watchdog#946)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/946&amp;gt;</code>__)</li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/dstaple"><code>@​dstaple</code></a>, <a
href="https://github.com/taleinat"><code>@​taleinat</code></a>, <a
href="https://github.com/cernekj"><code>@​cernekj</code></a></li>
</ul>
<p>2.2.1
</code></pre></p>
<p>2023-01-01 • <code>full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.2.0...v2.2.1&gt;</code>__</p>
<ul>
<li>Enable <code>mypy</code> to discover type hints as specified in PEP
561 (<code>[#933](gorakhargosh/watchdog#933)
&lt;https://github.com/gorakhargosh/watchdog/pull/933&gt;</code>__)</li>
<li>[ci] Set the expected Python version when building release
files</li>
<li>[ci] Update actions versions in use</li>
<li>[watchmedo] [regression] Fix usage of missing
<code>signal.SIGHUP</code> attribute on non-Unix OSes
(<code>[#935](gorakhargosh/watchdog#935)
&lt;https://github.com/gorakhargosh/watchdog/pull/935&gt;</code>__)</li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/simon04"><code>@​simon04</code></a>, <a
href="https://github.com/piotrpdev"><code>@​piotrpdev</code></a></li>
</ul>
<p>2.2.0</p>
<pre><code>&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/da09c060a007fe7fddde27592e4f63ae1e8697bc"><code>da09c06</code></a>
Release 3.0.0</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/9fc1ce2eb04cbe9ca9321949c3962015c2699a06"><code>9fc1ce2</code></a>
fix: missing <code>&gt;</code> in
<code>FileSystemEvent.__repr__()</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/980">#980</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/1838e0b19df98c1ec82acd1d681b7092403e8848"><code>1838e0b</code></a>
doc: clean-up</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/ce6218cebbb17c39adfe35e69124dc3390368196"><code>ce6218c</code></a>
Update global.rst.inc</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/989fddcb3963781e702e7c688e3871b416e2b53e"><code>989fddc</code></a>
Update installation.rst</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/71f2df38b4092ba6674f59be10a91c51585d4aa7"><code>71f2df3</code></a>
Update README.rst</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/9c28c61d001a6c05d47e4c0bd852bbb1dac78e2e"><code>9c28c61</code></a>
mypy check_untyped_defs (<a
href="https://github.com/gorakhargosh/watchdog/issues/966">#966</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/764a23494b82e163b92617377d0347cf72e304d2"><code>764a234</code></a>
tests: refactor test setups towards fixtures and hinting (<a
href="https://github.com/gorakhargosh/watchdog/issues/968">#968</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/ddb9bd1ba10c1ecfc79e67730ea55bcc5c870809"><code>ddb9bd1</code></a>
tests: xfail tests until we work on them (<a
href="https://github.com/gorakhargosh/watchdog/issues/975">#975</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/344f342123e46aaac06a398b8b7b8592a1c5251d"><code>344f342</code></a>
tests: skip pypy on windows (<a
href="https://github.com/gorakhargosh/watchdog/issues/976">#976</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/gorakhargosh/watchdog/compare/v0.9.0...v3.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=watchdog&package-manager=pip&previous-version=0.9.0&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
wdbaruni pushed a commit to bacalhau-project/bacalhau that referenced this pull request Oct 16, 2023
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 0.9.0 to
3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/releases">watchdog's
releases</a>.</em></p>
<blockquote>
<h2>3.0.0</h2>
<ul>
<li>Drop support for Python 3.6.</li>
<li><code>watchdog</code> is now PEP 561 compatible, and tested with
<code>mypy</code></li>
<li>Fix missing <code>&gt;</code> in
<code>FileSystemEvent.__repr__()</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/980">#980</a>)</li>
<li>[ci] Lots of improvements</li>
<li>[inotify] Return from <code>InotifyEmitter.queue_events()</code> if
not launched when thread is inactive (<a
href="https://github.com/gorakhargosh/watchdog/issues/963">#963</a>)</li>
<li>[tests] Stability improvements</li>
<li>[utils] Remove handling of <code>threading.Event.isSet</code>
spelling (<a
href="https://github.com/gorakhargosh/watchdog/issues/962">#962</a>)</li>
<li>[watchmedo] Fixed tricks YAML generation (<a
href="https://github.com/gorakhargosh/watchdog/issues/965">#965</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/altendky"><code>@​altendky</code></a>, <a
href="https://github.com/agroszer"><code>@​agroszer</code></a>, <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></p>
<h2>2.3.1</h2>
<ul>
<li>Run <code>black</code> on the entire source code</li>
<li>Bundle the <code>requirements-tests.txt</code> file in the source
distribution (<a
href="https://github.com/gorakhargosh/watchdog/issues/939">#939</a>)</li>
<li>[watchmedo] Exclude <code>FileOpenedEvent</code> events from
<code>AutoRestartTrick</code>, and <code>ShellCommandTrick</code>, to
restore watchdog &lt; 2.3.0 behavior. A better solution should be found
in the future. (<a
href="https://github.com/gorakhargosh/watchdog/issues/949">#949</a>)</li>
<li>[watchmedo] Log <code>FileOpenedEvent</code>, and
<code>FileClosedEvent</code>, events in <code>LoggerTrick</code></li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></p>
<h2>2.3.0</h2>
<ul>
<li>[inotify] Add support for <code>IN_OPEN</code> events: a
<code>FileOpenedEvent</code> event will be fired (<a
href="https://github.com/gorakhargosh/watchdog/issues/941">#941</a>)</li>
<li>[watchmedo] Add optional event debouncing for
<code>auto-restart</code>, only restarting once if many events happen in
quick succession (<code>--debounce-interval</code>) (<a
href="https://github.com/gorakhargosh/watchdog/issues/940">#940</a>)</li>
<li>[watchmedo] Add option to not auto-restart the command after it
exits (<code>--no-restart-on-command-exit</code>) (<a
href="https://github.com/gorakhargosh/watchdog/issues/946">#946</a>)</li>
<li>[watchmedo] Exit gracefully on <code>KeyboardInterrupt</code>
exception (Ctrl+C) (<a
href="https://github.com/gorakhargosh/watchdog/issues/945">#945</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/dstaple"><code>@​dstaple</code></a>, <a
href="https://github.com/taleinat"><code>@​taleinat</code></a>, <a
href="https://github.com/cernekj"><code>@​cernekj</code></a></p>
<h2>2.2.1</h2>
<ul>
<li>Enable mypy to discover type hints as specified in PEP 561 (<a
href="https://github.com/gorakhargosh/watchdog/issues/933">#933</a>)</li>
<li>[ci] Set the expected Python version when building release
files</li>
<li>[ci] Update actions versions in use</li>
<li>[watchmedo] [regression] Fix usage of missing
<code>signal.SIGHUP</code> attribute on non-Unix OSes (<a
href="https://github.com/gorakhargosh/watchdog/issues/935">#935</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/simon04"><code>@​simon04</code></a>, <a
href="https://github.com/piotrpdev"><code>@​piotrpdev</code></a></p>
<h2>2.2.0</h2>
<ul>
<li>[build] Wheels are now available for Python 3.11 (<a
href="https://github.com/gorakhargosh/watchdog/issues/932">#932</a>)</li>
<li>[documentation] HTML documentation builds are now tested for errors
(<a
href="https://github.com/gorakhargosh/watchdog/issues/902">#902</a>)</li>
<li>[documentation] Fix typos here, and there (<a
href="https://github.com/gorakhargosh/watchdog/issues/910">#910</a>)</li>
<li>[fsevents2] The <code>fsevents2</code> observer is now deprecated
(<a
href="https://github.com/gorakhargosh/watchdog/issues/909">#909</a>)</li>
<li>[tests] The error message returned by musl libc for error code
<code>-1</code> is now allowed (<a
href="https://github.com/gorakhargosh/watchdog/issues/923">#923</a>)</li>
<li>[utils] Remove unnecessary code in <code>dirsnapshot.py</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/930">#930</a>)</li>
<li>[watchmedo] Handle shutdown events from <code>SIGHUP</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/912">#912</a>)</li>
</ul>
<p>:heart_decoration: Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/babymastodon"><code>@​babymastodon</code></a>,
<a
href="https://github.com/QuantumEnergyE"><code>@​QuantumEnergyE</code></a>,
<a href="https://github.com/timgates42"><code>@​timgates42</code></a>,
<a href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></p>
<h2>2.1.9</h2>
<ul>
<li>[fsevents] Fix flakey test to assert that there are no errors when
stopping the emitter.</li>
<li>[inotify] Suppress occasional <code>OSError: [Errno 9] Bad file
descriptor</code> at shutdown. <a
href="https://github.com/gorakhargosh/watchdog/issues/805">#805</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst">watchdog's
changelog</a>.</em></p>
<blockquote>
<p>3.0.0</p>
<pre><code>
2023-03-20 • `full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.3.1...v3.0.0&gt;`__
<ul>
<li>Drop support for Python 3.6.</li>
<li><code>watchdog</code> is now PEP 561 compatible, and tested with
<code>mypy</code></li>
<li>Fix missing <code>&amp;gt;</code> in
<code>FileSystemEvent.__repr__()</code>
(<code>[#980](gorakhargosh/watchdog#980)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/980&amp;gt;</code>__)</li>
<li>[ci] Lots of improvements</li>
<li>[inotify] Return from <code>InotifyEmitter.queue_events()</code> if
not launched when thread is inactive
(<code>[#963](gorakhargosh/watchdog#963)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/963&amp;gt;</code>__)</li>
<li>[tests] Stability improvements</li>
<li>[utils] Remove handling of <code>threading.Event.isSet</code>
spelling
(<code>[#962](gorakhargosh/watchdog#962)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/962&amp;gt;</code>__)</li>
<li>[watchmedo] Fixed tricks YAML generation
(<code>[#965](gorakhargosh/watchdog#965)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/965&amp;gt;</code>__)</li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>, <a
href="https://github.com/altendky"><code>@​altendky</code></a>, <a
href="https://github.com/agroszer"><code>@​agroszer</code></a>, <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></li>
</ul>
<p>2.3.1
</code></pre></p>
<p>2023-02-28 • <code>full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.3.0...v2.3.1&gt;</code>__</p>
<ul>
<li>Run <code>black</code> on the entire source code</li>
<li>Bundle the <code>requirements-tests.txt</code> file in the source
distribution
(<code>[#939](gorakhargosh/watchdog#939)
&lt;https://github.com/gorakhargosh/watchdog/pull/939&gt;</code>__)</li>
<li>[watchmedo] Exclude <code>FileOpenedEvent</code> events from
<code>AutoRestartTrick</code>, and <code>ShellCommandTrick</code>, to
restore watchdog <!-- raw HTML omitted -->`__)</li>
<li>[watchmedo] Log <code>FileOpenedEvent</code>, and
<code>FileClosedEvent</code>, events in <code>LoggerTrick</code></li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a></li>
</ul>
<p>2.3.0</p>
<pre><code>
2023-02-23 • `full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.2.1...v2.3.0&gt;`__
<ul>
<li>[inotify] Add support for <code>IN_OPEN</code> events: a
<code>FileOpenedEvent</code> event will be fired
(<code>[#941](gorakhargosh/watchdog#941)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/941&amp;gt;</code>__)</li>
<li>[watchmedo] Add optional event debouncing for
<code>auto-restart</code>, only restarting once if many events happen in
quick succession (<code>--debounce-interval</code>)
(<code>[#940](gorakhargosh/watchdog#940)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/940&amp;gt;</code>__)</li>
<li>[watchmedo] Exit gracefully on <code>KeyboardInterrupt</code>
exception (Ctrl+C)
(<code>[#945](gorakhargosh/watchdog#945)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/945&amp;gt;</code>__)</li>
<li>[watchmedo] Add option to not auto-restart the command after it
exits (<code>--no-restart-on-command-exit</code>)
(<code>[#946](gorakhargosh/watchdog#946)
&amp;lt;https://github.com/gorakhargosh/watchdog/pull/946&amp;gt;</code>__)</li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/dstaple"><code>@​dstaple</code></a>, <a
href="https://github.com/taleinat"><code>@​taleinat</code></a>, <a
href="https://github.com/cernekj"><code>@​cernekj</code></a></li>
</ul>
<p>2.2.1
</code></pre></p>
<p>2023-01-01 • <code>full history
&lt;https://github.com/gorakhargosh/watchdog/compare/v2.2.0...v2.2.1&gt;</code>__</p>
<ul>
<li>Enable <code>mypy</code> to discover type hints as specified in PEP
561 (<code>[#933](gorakhargosh/watchdog#933)
&lt;https://github.com/gorakhargosh/watchdog/pull/933&gt;</code>__)</li>
<li>[ci] Set the expected Python version when building release
files</li>
<li>[ci] Update actions versions in use</li>
<li>[watchmedo] [regression] Fix usage of missing
<code>signal.SIGHUP</code> attribute on non-Unix OSes
(<code>[#935](gorakhargosh/watchdog#935)
&lt;https://github.com/gorakhargosh/watchdog/pull/935&gt;</code>__)</li>
<li>Thanks to our beloved contributors: <a
href="https://github.com/BoboTiG"><code>@​BoboTiG</code></a>, <a
href="https://github.com/simon04"><code>@​simon04</code></a>, <a
href="https://github.com/piotrpdev"><code>@​piotrpdev</code></a></li>
</ul>
<p>2.2.0</p>
<pre><code>&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/da09c060a007fe7fddde27592e4f63ae1e8697bc"><code>da09c06</code></a>
Release 3.0.0</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/9fc1ce2eb04cbe9ca9321949c3962015c2699a06"><code>9fc1ce2</code></a>
fix: missing <code>&gt;</code> in
<code>FileSystemEvent.__repr__()</code> (<a
href="https://github.com/gorakhargosh/watchdog/issues/980">#980</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/1838e0b19df98c1ec82acd1d681b7092403e8848"><code>1838e0b</code></a>
doc: clean-up</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/ce6218cebbb17c39adfe35e69124dc3390368196"><code>ce6218c</code></a>
Update global.rst.inc</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/989fddcb3963781e702e7c688e3871b416e2b53e"><code>989fddc</code></a>
Update installation.rst</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/71f2df38b4092ba6674f59be10a91c51585d4aa7"><code>71f2df3</code></a>
Update README.rst</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/9c28c61d001a6c05d47e4c0bd852bbb1dac78e2e"><code>9c28c61</code></a>
mypy check_untyped_defs (<a
href="https://github.com/gorakhargosh/watchdog/issues/966">#966</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/764a23494b82e163b92617377d0347cf72e304d2"><code>764a234</code></a>
tests: refactor test setups towards fixtures and hinting (<a
href="https://github.com/gorakhargosh/watchdog/issues/968">#968</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/ddb9bd1ba10c1ecfc79e67730ea55bcc5c870809"><code>ddb9bd1</code></a>
tests: xfail tests until we work on them (<a
href="https://github.com/gorakhargosh/watchdog/issues/975">#975</a>)</li>
<li><a
href="https://github.com/gorakhargosh/watchdog/commit/344f342123e46aaac06a398b8b7b8592a1c5251d"><code>344f342</code></a>
tests: skip pypy on windows (<a
href="https://github.com/gorakhargosh/watchdog/issues/976">#976</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/gorakhargosh/watchdog/compare/v0.9.0...v3.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=watchdog&package-manager=pip&previous-version=0.9.0&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants