Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-watchdog for openSUSE:Factory 
checked in at 2022-12-15 19:25:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-watchdog (Old)
 and      /work/SRC/openSUSE:Factory/.python-watchdog.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-watchdog"

Thu Dec 15 19:25:51 2022 rev:16 rq:1043116 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-watchdog/python-watchdog.changes  
2022-07-26 19:44:04.731008924 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-watchdog.new.1835/python-watchdog.changes    
    2022-12-15 19:26:17.520427313 +0100
@@ -1,0 +2,14 @@
+Tue Dec 13 17:42:04 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 2.2.0 
+  * 2022-12-05 • full history
+    [build] Wheels are now available for Python 3.11 (#932)
+    [documentation] HTML documentation builds are now tested for errors (#902)
+    [documentation] Fix typos here, and there (#910)
+    [fsevents2] The fsevents2 observer is now deprecated (#909)
+    [tests] The error message returned by musl libc for error code -1 is now 
allowed (#923)
+    [utils] Remove unnecessary code in dirsnapshot.py (#930)
+    [watchmedo] Handle shutdown events from SIGHUP (#912)
+    Thanks to our beloved contributors: @kurtmckee, @babymastodon, 
@QuantumEnergyE, @timgates42, @BoboTiG
+
+-------------------------------------------------------------------

Old:
----
  watchdog-2.1.9.tar.gz

New:
----
  watchdog-2.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-watchdog.spec ++++++
--- /var/tmp/diff_new_pack.jmUjSx/_old  2022-12-15 19:26:18.016430135 +0100
+++ /var/tmp/diff_new_pack.jmUjSx/_new  2022-12-15 19:26:18.020430157 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:           python-watchdog
-Version:        2.1.9
+Version:        2.2.0
 Release:        0
 Summary:        Filesystem events monitoring
 License:        Apache-2.0

++++++ watchdog-2.1.9.tar.gz -> watchdog-2.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/AUTHORS new/watchdog-2.2.0/AUTHORS
--- old/watchdog-2.1.9/AUTHORS  2022-06-10 12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/AUTHORS  2022-12-05 12:17:28.000000000 +0100
@@ -17,6 +17,7 @@
 Gora Khargosh <[email protected]>
 Hannu Valtonen <[email protected]>
 Jesse Printz <[email protected]>
+Kurt McKee <[email protected]>
 Léa Klein <[email protected]>
 Luke McCarthy <[email protected]>
 Lukáš Lalinský <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/PKG-INFO new/watchdog-2.2.0/PKG-INFO
--- old/watchdog-2.1.9/PKG-INFO 2022-06-10 12:11:16.706554000 +0200
+++ new/watchdog-2.2.0/PKG-INFO 2022-12-05 12:17:32.416262100 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: watchdog
-Version: 2.1.9
+Version: 2.2.0
 Summary: Filesystem events monitoring
 Home-page: https://github.com/gorakhargosh/watchdog
 Author: Yesudeep Mangalapilly
@@ -11,7 +11,6 @@
 Project-URL: Issues, https://github.com/gorakhargosh/watchdog/issues
 Project-URL: Changelog, 
https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst
 Keywords: python filesystem monitoring monitor FSEvents kqueue inotify 
ReadDirectoryChangesW polling DirectorySnapshot
-Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
 Classifier: Environment :: Console
 Classifier: Intended Audience :: Developers
@@ -35,6 +34,7 @@
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Programming Language :: C
 Classifier: Topic :: Software Development :: Libraries
@@ -358,6 +358,20 @@
 Changelog
 ---------
 
+2.2.0
+~~~~~
+
+2022-12-05 • `full history 
<https://github.com/gorakhargosh/watchdog/compare/v2.1.9...v2.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
+
 2.1.9
 ~~~~~
 
@@ -714,5 +728,3 @@
 - [windows] Fixed octal usages to work with Python 3 as well (`#223 
<https://github.com/gorakhargosh/watchdog/issues/223>`__)
 - Thanks to our beloved contributors: @tamland, @Ormod, @berdario, @cro,
   @BernieSumption, @pypingou, @gotcha, @tommorris, @frewsxcv
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/changelog.rst 
new/watchdog-2.2.0/changelog.rst
--- old/watchdog-2.1.9/changelog.rst    2022-06-10 12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/changelog.rst    2022-12-05 12:17:28.000000000 +0100
@@ -3,6 +3,20 @@
 Changelog
 ---------
 
+2.2.0
+~~~~~
+
+2022-12-05 • `full history 
<https://github.com/gorakhargosh/watchdog/compare/v2.1.9...v2.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
+
 2.1.9
 ~~~~~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/docs/echo.py.txt 
new/watchdog-2.2.0/docs/echo.py.txt
--- old/watchdog-2.1.9/docs/echo.py.txt 2022-06-10 12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/docs/echo.py.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,143 +0,0 @@
-The echo module "echoes" calls to functions by tracing the arguments
-they're called with. It also supports echoing classes and modules by
-tracing all function calls made to them. Here's how.
-
->>> import echo
-
-Let's define a function and echo calls to it:
-
->>> def f(x, y, z):
-...     pass
->>> f = echo.echo(f)
->>> f(1, 2, 'three')
-f(x=1, y=2, z='three')
-
-We can also use decorator syntax:
-
->>> @echo.echo
-... def f(x, y, z):
-...     pass
-...
->>> f(1, 2, 'three')
-f(x=1, y=2, z='three')
-
-The decorated function maintain the undecorated function's attributes
-as far as possible:
-
->>> def f():
-...     " I'm f, don't change my docstring "
-...     pass
-...
->>> echo.echo(f).__doc__
-" I'm f, don't change my docstring "
-
-Default arguments are echoed:
-
->>> @echo.echo
-... def fn_with_defaults(x=1, y=None):
-...     pass
-...
->>> fn_with_defaults()
-fn_with_defaults(x=1, y=None)
-
-Arbitrary nameless arguments are echoed:
-
->>> @echo.echo
-... def fn_with_nameless_args(*args):
-...     pass
-...
->>> fn_with_nameless_args(1, 2, 3)
-fn_with_nameless_args(1, 2, 3)
->>> fn_with_nameless_args("abc", (1, 2, 3))
-fn_with_nameless_args('abc', (1, 2, 3))
-
-And so are keyword arguments (though note that the order of the output
-                              "arg=value" pairs is undefined).
-
->>> @echo.echo
-... def fn_with_keyword_args(**k):
-...     pass
-...
->>> fn_with_keyword_args(breakfast="spam")
-fn_with_keyword_args(breakfast='spam')
->>> fn_with_keyword_args(breakfast='spam', lunch='spam', dinner='spam')
-fn_with_keyword_args(...)
-
-You can mix default positional, arbitrary and keyword arguments:
->>> @echo.echo
-... def full_monty(x, y, z='muesli', *v, **k):
-...     pass
-...
->>> full_monty('spam', 'eggs', extra='more spam')
-full_monty(x='spam', y='eggs', z='muesli', extra='more spam')
->>> full_monty('spam', 'eggs', 'more spam', extra='even more spam')
-full_monty(x='spam', y='eggs', z='more spam', extra='even more spam')
-
-You can echo functions in a class by decorating them.
-
->>> class Example:
-...     @echo.echo
-...     def __init__(self): pass
-...     @echo.echo
-...     def m(self): pass
-...
->>> ex = Example()
-__init__(self=<Example object at ...>)
->>> ex.m()
-m(self=<Example object at ...>)
-
-This works equally well on classmethods and staticmethods, as well as
-on classic classes
-
->>> class AnotherExample:
-...    @classmethod
-...    @echo.echo
-...    def cm(klass): pass
-...    @staticmethod
-...    @echo.echo
-...    def sm(): pass
-...
->>> AnotherExample.cm()
-cm(klass=<class __builtin__.AnotherExample at ...>)
->>> AnotherExample.sm()
-sm()
->>> another_ex = AnotherExample()
->>> another_ex.cm()
-cm(klass=<class __builtin__.AnotherExample at ...>)
->>> another_ex.sm()
-sm()
-
-Alternatively, don't decorate the methods you want to echo up front,
-retrospectively decorate the whole class.
-
->>> class YetAnotherExample:
-...     def __init__(self): pass
-...     def m(self, x, y): pass
-...     @classmethod
-...     def cm(klass, x, y): pass
-...     @staticmethod
-...     def sm(x, y): pass
-...
->>> echo.echo_class(YetAnotherExample)
->>> y = YetAnotherExample()
-__init__(self=<YetAnotherExample object at ...>)
->>> y.m('echo', 'echo')
-m(self=<YetAnotherExample object at ...>, x='echo', y='echo')
->>> y.cm('echo', 'echo')
-cm(klass=<class 'YetAnotherExample'>, x='echo', y='echo')
->>> y.sm('echo', 'echo')
-sm(x='echo', y='echo')
-
-Private methods are echoed as well.
-
->>> class Privates:
-...    def __myob(self): pass
-...    def do_something(self): self.__myob()
-...
->>> Privates().do_something()
->>> echo.echo_class(Privates)
->>> Privates().do_something()
-do_something(self=<Privates object at ...>)
-__myob(self=<Privates object at ...>)
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/docs/source/conf.py 
new/watchdog-2.2.0/docs/source/conf.py
--- old/watchdog-2.1.9/docs/source/conf.py      2022-06-10 12:11:14.000000000 
+0200
+++ new/watchdog-2.2.0/docs/source/conf.py      2022-12-05 12:17:28.000000000 
+0100
@@ -25,7 +25,7 @@
 
 PROJECT_NAME = 'watchdog'
 AUTHOR_NAME = 'Yesudeep Mangalapilly and contributors'
-COPYRIGHT = '2010-2021, ' + AUTHOR_NAME
+COPYRIGHT = '2010-2022, ' + AUTHOR_NAME
 
 
 # -- General configuration 
-----------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/docs/source/global.rst.inc 
new/watchdog-2.2.0/docs/source/global.rst.inc
--- old/watchdog-2.1.9/docs/source/global.rst.inc       2022-06-10 
12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/docs/source/global.rst.inc       2022-12-05 
12:17:28.000000000 +0100
@@ -4,7 +4,7 @@
 .. |author_email| replace:: [email protected]
 .. |copyright| replace:: Copyright 2012 Google, Inc & contributors.
 .. |project_name| replace:: ``watchdog``
-.. |project_version| replace:: 2.1.9
+.. |project_version| replace:: 2.2.0
 
 .. _issue tracker: https://github.com/gorakhargosh/watchdog/issues
 .. _code repository: https://github.com/gorakhargosh/watchdog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/docs/source/installation.rst 
new/watchdog-2.2.0/docs/source/installation.rst
--- old/watchdog-2.1.9/docs/source/installation.rst     2022-06-10 
12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/docs/source/installation.rst     2022-12-05 
12:17:28.000000000 +0100
@@ -14,7 +14,7 @@
     $ python -m pip install -U |project_name|
 
     # or to install the watchmedo utility:
-    $ python -m pip install -U |project_name|[watchmedo]
+    $ python -m pip install -U |project_name|\[watchmedo]
 
 Installing from source tarballs
 -------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/setup.py new/watchdog-2.2.0/setup.py
--- old/watchdog-2.1.9/setup.py 2022-06-10 12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/setup.py 2022-12-05 12:17:28.000000000 +0100
@@ -132,6 +132,7 @@
           'Programming Language :: Python :: 3.8',
           'Programming Language :: Python :: 3.9',
           'Programming Language :: Python :: 3.10',
+          'Programming Language :: Python :: 3.11',
           'Programming Language :: Python :: Implementation :: PyPy',
           'Programming Language :: C',
           'Topic :: Software Development :: Libraries',
@@ -152,4 +153,4 @@
       ]},
       python_requires='>=3.6',
       zip_safe=False
-)
+      )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/src/watchdog/observers/__init__.py 
new/watchdog-2.2.0/src/watchdog/observers/__init__.py
--- old/watchdog-2.1.9/src/watchdog/observers/__init__.py       2022-06-10 
12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/src/watchdog/observers/__init__.py       2022-12-05 
12:17:28.000000000 +0100
@@ -77,8 +77,6 @@
     from .kqueue import KqueueObserver as Observer
 
 elif platform.is_windows():
-    # TODO: find a reliable way of checking Windows version and import
-    # polling explicitly for Windows XP
     try:
         from .read_directory_changes import WindowsApiObserver as Observer
     except Exception:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/src/watchdog/observers/fsevents2.py 
new/watchdog-2.2.0/src/watchdog/observers/fsevents2.py
--- old/watchdog-2.1.9/src/watchdog/observers/fsevents2.py      2022-06-10 
12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/src/watchdog/observers/fsevents2.py      2022-12-05 
12:17:28.000000000 +0100
@@ -24,6 +24,7 @@
 import logging
 import queue
 import unicodedata
+import warnings
 from threading import Thread
 
 from watchdog.events import (
@@ -77,6 +78,10 @@
 
 logger = logging.getLogger(__name__)
 
+message = "watchdog.observers.fsevents2 is deprecated and will be removed in a 
future release."
+warnings.warn(message, DeprecationWarning)
+logger.warning(message)
+
 
 class FSEventsQueue(Thread):
     """ Low level FSEvents client. """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/src/watchdog/utils/dirsnapshot.py 
new/watchdog-2.2.0/src/watchdog/utils/dirsnapshot.py
--- old/watchdog-2.1.9/src/watchdog/utils/dirsnapshot.py        2022-06-10 
12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/src/watchdog/utils/dirsnapshot.py        2022-12-05 
12:17:28.000000000 +0100
@@ -255,8 +255,7 @@
 
     def walk(self, root):
         try:
-            paths = [os.path.join(root, entry if isinstance(entry, str) else 
entry.name)
-                     for entry in self.listdir(root)]
+            paths = [os.path.join(root, entry.name) for entry in 
self.listdir(root)]
         except OSError as e:
             # Directory may have been deleted between finding it in the 
directory
             # list of its parent and trying to delete its contents. If this
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/src/watchdog/version.py 
new/watchdog-2.2.0/src/watchdog/version.py
--- old/watchdog-2.1.9/src/watchdog/version.py  2022-06-10 12:11:14.000000000 
+0200
+++ new/watchdog-2.2.0/src/watchdog/version.py  2022-12-05 12:17:28.000000000 
+0100
@@ -19,8 +19,8 @@
 # When updating this version number, please update the
 # ``docs/source/global.rst.inc`` file as well.
 VERSION_MAJOR = 2
-VERSION_MINOR = 1
-VERSION_BUILD = 9
+VERSION_MINOR = 2
+VERSION_BUILD = 0
 VERSION_INFO = (VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD)
 VERSION_STRING = "%d.%d.%d" % VERSION_INFO
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/src/watchdog/watchmedo.py 
new/watchdog-2.2.0/src/watchdog/watchmedo.py
--- old/watchdog-2.1.9/src/watchdog/watchmedo.py        2022-06-10 
12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/src/watchdog/watchmedo.py        2022-12-05 
12:17:28.000000000 +0100
@@ -610,7 +610,7 @@
 
     # Handle termination signals by raising a semantic exception which will
     # allow us to gracefully unwind and stop the observer
-    termination_signals = {signal.SIGTERM, signal.SIGINT}
+    termination_signals = {signal.SIGTERM, signal.SIGINT, signal.SIGHUP}
 
     def handler_termination_signal(_signum, _frame):
         # Neuter all signals so that we don't attempt a double shutdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/src/watchdog.egg-info/PKG-INFO 
new/watchdog-2.2.0/src/watchdog.egg-info/PKG-INFO
--- old/watchdog-2.1.9/src/watchdog.egg-info/PKG-INFO   2022-06-10 
12:11:16.000000000 +0200
+++ new/watchdog-2.2.0/src/watchdog.egg-info/PKG-INFO   2022-12-05 
12:17:32.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: watchdog
-Version: 2.1.9
+Version: 2.2.0
 Summary: Filesystem events monitoring
 Home-page: https://github.com/gorakhargosh/watchdog
 Author: Yesudeep Mangalapilly
@@ -11,7 +11,6 @@
 Project-URL: Issues, https://github.com/gorakhargosh/watchdog/issues
 Project-URL: Changelog, 
https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst
 Keywords: python filesystem monitoring monitor FSEvents kqueue inotify 
ReadDirectoryChangesW polling DirectorySnapshot
-Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
 Classifier: Environment :: Console
 Classifier: Intended Audience :: Developers
@@ -35,6 +34,7 @@
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Programming Language :: C
 Classifier: Topic :: Software Development :: Libraries
@@ -358,6 +358,20 @@
 Changelog
 ---------
 
+2.2.0
+~~~~~
+
+2022-12-05 • `full history 
<https://github.com/gorakhargosh/watchdog/compare/v2.1.9...v2.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
+
 2.1.9
 ~~~~~
 
@@ -714,5 +728,3 @@
 - [windows] Fixed octal usages to work with Python 3 as well (`#223 
<https://github.com/gorakhargosh/watchdog/issues/223>`__)
 - Thanks to our beloved contributors: @tamland, @Ormod, @berdario, @cro,
   @BernieSumption, @pypingou, @gotcha, @tommorris, @frewsxcv
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/src/watchdog.egg-info/SOURCES.txt 
new/watchdog-2.2.0/src/watchdog.egg-info/SOURCES.txt
--- old/watchdog-2.1.9/src/watchdog.egg-info/SOURCES.txt        2022-06-10 
12:11:16.000000000 +0200
+++ new/watchdog-2.2.0/src/watchdog.egg-info/SOURCES.txt        2022-12-05 
12:17:32.000000000 +0100
@@ -7,7 +7,6 @@
 setup.cfg
 setup.py
 docs/Makefile
-docs/echo.py.txt
 docs/eclipse_cdt_style.xml
 docs/make.bat
 docs/source/api.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/watchdog-2.1.9/src/watchdog.egg-info/entry_points.txt 
new/watchdog-2.2.0/src/watchdog.egg-info/entry_points.txt
--- old/watchdog-2.1.9/src/watchdog.egg-info/entry_points.txt   2022-06-10 
12:11:16.000000000 +0200
+++ new/watchdog-2.2.0/src/watchdog.egg-info/entry_points.txt   2022-12-05 
12:17:32.000000000 +0100
@@ -1,3 +1,2 @@
 [console_scripts]
 watchmedo = watchdog.watchmedo:main [watchmedo]
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/tests/test_inotify_c.py 
new/watchdog-2.2.0/tests/test_inotify_c.py
--- old/watchdog-2.1.9/tests/test_inotify_c.py  2022-06-10 12:11:14.000000000 
+0200
+++ new/watchdog-2.2.0/tests/test_inotify_c.py  2022-12-05 12:17:28.000000000 
+0100
@@ -135,18 +135,20 @@
     assert inotify_fd.wds == [2, 3]  # Only 1 is removed explicitly
 
 
[email protected]("error, pattern", [
-    (errno.ENOSPC, "inotify watch limit reached"),
-    (errno.EMFILE, "inotify instance limit reached"),
-    (errno.ENOENT, "No such file or directory"),
-    (-1, "Unknown error -1"),
[email protected]("error, patterns", [
+    (errno.ENOSPC, ("inotify watch limit reached",)),
+    (errno.EMFILE, ("inotify instance limit reached",)),
+    (errno.ENOENT, ("No such file or directory",)),
+    # Error messages for -1 are undocumented
+    # and vary between libc implementations.
+    (-1, ("Unknown error -1", "No error information")),
 ])
-def test_raise_error(error, pattern):
+def test_raise_error(error, patterns):
     with patch.object(ctypes, "get_errno", new=lambda: error):
         with pytest.raises(OSError) as exc:
             Inotify._raise_error()
     assert exc.value.errno == error
-    assert pattern in str(exc.value)
+    assert any(pattern in str(exc.value) for pattern in patterns)
 
 
 def test_non_ascii_path():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/tests/test_observer.py 
new/watchdog-2.2.0/tests/test_observer.py
--- old/watchdog-2.1.9/tests/test_observer.py   2022-06-10 12:11:14.000000000 
+0200
+++ new/watchdog-2.2.0/tests/test_observer.py   2022-12-05 12:17:28.000000000 
+0100
@@ -137,7 +137,7 @@
     observer.start()
     assert len(observer.emitters) == 0
 
-    # Re-schduling the watch should work
+    # Re-scheduling the watch should work
     observer.schedule(None, '')
     assert len(observer.emitters) == 1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/watchdog-2.1.9/tests/test_snapshot_diff.py 
new/watchdog-2.2.0/tests/test_snapshot_diff.py
--- old/watchdog-2.1.9/tests/test_snapshot_diff.py      2022-06-10 
12:11:14.000000000 +0200
+++ new/watchdog-2.2.0/tests/test_snapshot_diff.py      2022-12-05 
12:17:28.000000000 +0100
@@ -130,7 +130,7 @@
         if path == p("root", "dir"):
             rm(path, recursive=True)
             touch(path)
-        return os.listdir(path)
+        return os.scandir(path)
 
     mkdir(p('root'))
     mkdir(p('root', 'dir'))

Reply via email to