pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/py-watchdog py-watchdog: update to 2.1.9.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58dceaa4c1a1
branches:  trunk
changeset: 388163:58dceaa4c1a1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 14 17:24:37 2022 +0000

description:
py-watchdog: update to 2.1.9.

2.1.9

    [fsevents] Fix flakey test to assert that there are no errors when stopping the emitter.
    [inotify] Suppress occasional OSError: [Errno 9] Bad file descriptor at shutdown. #805
    [watchmedo] Make auto-restart restart the sub-process if it terminates. #896
    [watchmedo] Avoid zombie sub-processes when running shell-command without --wait. #405

2.1.8

    Fix adding failed emitters on observer schedule. (#872)
    [inotify] Fix hang when unscheduling watch on a path in an unmounted filesystem. (#869)
    [watchmedo] Fix broken parsing of --kill-after argument for the auto-restart command. (#870)
    [watchmedo] Fix broken parsing of boolean arguments. (#887)
    [watchmedo] Fix broken parsing of commands from auto-restart, and shell-command. (#888)
    [watchmedo] Support setting verbosity level via -q/--quiet and -v/--verbose arguments. (#889)

2.1.7

    Eliminate timeout in waiting on event queue. (#861)
    [inotify] Fix not equality implementation for InotifyEvent. (#848)
    [watchmedo] Fix calling commands from within a Python script. (#879)
    [watchmedo] PyYAML is loaded only when strictly necessary. Simple usages of watchmedo are possible without the module being installed. (#847)

2.1.6

    [bsd] Fixed returned paths in kqueue.py and restored the overall results of the test suite. (#842)
    [bsd] Updated FreeBSD CI support .(#841)
    [watchmedo] Removed the argh dependency in favor of the builtin argparse module. (#836)
    [watchmedo] Removed unexistant WindowsApiAsyncObserver references and --debug-force-winapi-async arguments.
    [watchmedo] Improved the help output.

2.1.5

    Fix regression introduced in 2.1.4 (reverted "Allow overriding or adding custom event handlers to event dispatch map. (#814)"). (#830)
    Convert regexes of type str to list. (#831)

2.1.4

    [watchmedo] Fix usage of os.setsid() and os.killpg() Unix-only functions. (#809)
    [mac] Fix missing FileModifiedEvent on permission or ownership changes of a file. (#815)
    [mac] Convert absolute watch path in FSEeventsEmitter with os.path.realpath(). (#822)
    Fix a possible AttributeError in SkipRepeatsQueue._put(). (#818)
    Allow overriding or adding custom event handlers to event dispatch map. (#814)
    Fix tests on big endian platforms. (#828)

2.1.3

    Publish macOS arm64 and universal2 wheels. (#740)

2.1.2

    [mac] Fix relative path handling for non-recursive watch. (#797)
    [windows] On PyPy, events happening right after start() were missed. Add a workaround for that. (#796)

2.1.1

    [mac] Fix callback exceptions when the watcher is deleted but still receiving events (#786)

2.1.0

    [inotify] Simplify libc loading (#776)
    [mac] Add support for non-recursive watches in FSEventsEmitter (#779)
    [watchmedo] Add support for --debug-force-* arguments to tricks (#781)

2.0.3

    [mac] Use logger.debug() instead of logger.info() (#774)
    Updated documentation links (#777)

2.0.2

    [mac] Add missing exception objects (#766)

2.0.1

    [mac] Fix a segmentation fault when dealing with unicode paths (#763)
    Moved the CI from Travis-CI to GitHub Actions (#764)

2.0.0

    ⚠️ [mac] Drop support for macOS 10.12 and earlier (#750)
    [mac] Support coalesced filesystem events (#734)
    [mac] Fix an issue when renaming an item changes only the casing (#750)
    [inotify] Add support for IN_CLOSE_WRITE events. A FileCloseEvent event will be fired. Note that IN_CLOSE_NOWRITE events are not handled to prevent much noise. (#184, #245, #280, #313, #690)
    [inotify] Allow to stop the emitter multiple times (#760)
    Avoid deprecated PyEval_InitThreads on Python 3.7+ (#746)

1.0.2

    Wheels are published for GNU/Linux, macOS and Windows (#739)
    [mac] Fix missing event_id attribute in fsevents (#721)
    [mac] Return byte paths if a byte path was given in fsevents (#726)
    [mac] Add compatibility with old macOS versions (#733)
    Uniformize event for deletion of watched dir (#727)

1.0.0

    Versioning is now following the semver
    Drop support for Python 2.7, 3.4 and 3.5
    [mac] Regression fixes for native fsevents (#717)
    [windows] winapi.BUFFER_SIZE now defaults to 64000 (instead of 2048) (#700)
    [windows] Introduced winapi.PATH_BUFFER_SIZE (defaults to 2048) to keep the old behavior with path-realted functions (#700)
    Use pathlib from the standard library, instead of pathtools (#556)
    Allow file paths on Unix that don't follow the file system encoding (#703)
    Removed the long-time deprecated events.LoggingFileSystemEventHandler class, use LoggingEventHandler instead

0.10.5

    [mac] Regression fixes for native fsevents (#716)

diffstat:

 sysutils/py-watchdog/Makefile |  16 +++++++---------
 sysutils/py-watchdog/PLIST    |  17 +++++++----------
 sysutils/py-watchdog/distinfo |   8 ++++----
 3 files changed, 18 insertions(+), 23 deletions(-)

diffs (96 lines):

diff -r 10767cf25af5 -r 58dceaa4c1a1 sysutils/py-watchdog/Makefile
--- a/sysutils/py-watchdog/Makefile     Mon Nov 14 17:16:04 2022 +0000
+++ b/sysutils/py-watchdog/Makefile     Mon Nov 14 17:24:37 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2022/08/24 08:41:09 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2022/11/14 17:24:37 wiz Exp $
 
-DISTNAME=      watchdog-0.10.4
+DISTNAME=      watchdog-2.1.9
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/watchdog/}
 
@@ -11,15 +10,15 @@
 COMMENT=       Filesystem events monitoring
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-argh>=0.24.1:../../devel/py-argh
-DEPENDS+=      ${PYPKGPREFIX}-pathtools>=0.1.1:../../sysutils/py-pathtools
 DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0.3:../../devel/py-test-timeout
 
-PYSETUPTESTTARGET=     pytest
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-PYTHON_VERSIONED_DEPENDENCIES+=        test:test test-cov:test
+# 3 failed, 135 passed, 13 skipped, 20 warnings
+PYSETUPTESTTARGET=     pytest
 
 USE_PKG_RESOURCES=     yes
 
@@ -27,6 +26,5 @@
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} watchmedo watchmedo-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 10767cf25af5 -r 58dceaa4c1a1 sysutils/py-watchdog/PLIST
--- a/sysutils/py-watchdog/PLIST        Mon Nov 14 17:16:04 2022 +0000
+++ b/sysutils/py-watchdog/PLIST        Mon Nov 14 17:24:37 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/02/06 20:56:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/11/14 17:24:37 wiz Exp $
 bin/watchmedo-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -55,9 +55,6 @@
 ${PYSITELIB}/watchdog/utils/bricks.py
 ${PYSITELIB}/watchdog/utils/bricks.pyc
 ${PYSITELIB}/watchdog/utils/bricks.pyo
-${PYSITELIB}/watchdog/utils/compat.py
-${PYSITELIB}/watchdog/utils/compat.pyc
-${PYSITELIB}/watchdog/utils/compat.pyo
 ${PYSITELIB}/watchdog/utils/delayed_queue.py
 ${PYSITELIB}/watchdog/utils/delayed_queue.pyc
 ${PYSITELIB}/watchdog/utils/delayed_queue.pyo
@@ -67,15 +64,15 @@
 ${PYSITELIB}/watchdog/utils/echo.py
 ${PYSITELIB}/watchdog/utils/echo.pyc
 ${PYSITELIB}/watchdog/utils/echo.pyo
+${PYSITELIB}/watchdog/utils/patterns.py
+${PYSITELIB}/watchdog/utils/patterns.pyc
+${PYSITELIB}/watchdog/utils/patterns.pyo
 ${PYSITELIB}/watchdog/utils/platform.py
 ${PYSITELIB}/watchdog/utils/platform.pyc
 ${PYSITELIB}/watchdog/utils/platform.pyo
-${PYSITELIB}/watchdog/utils/unicode_paths.py
-${PYSITELIB}/watchdog/utils/unicode_paths.pyc
-${PYSITELIB}/watchdog/utils/unicode_paths.pyo
-${PYSITELIB}/watchdog/utils/win32stat.py
-${PYSITELIB}/watchdog/utils/win32stat.pyc
-${PYSITELIB}/watchdog/utils/win32stat.pyo
+${PYSITELIB}/watchdog/utils/process_watcher.py
+${PYSITELIB}/watchdog/utils/process_watcher.pyc
+${PYSITELIB}/watchdog/utils/process_watcher.pyo
 ${PYSITELIB}/watchdog/version.py
 ${PYSITELIB}/watchdog/version.pyc
 ${PYSITELIB}/watchdog/version.pyo
diff -r 10767cf25af5 -r 58dceaa4c1a1 sysutils/py-watchdog/distinfo
--- a/sysutils/py-watchdog/distinfo     Mon Nov 14 17:16:04 2022 +0000
+++ b/sysutils/py-watchdog/distinfo     Mon Nov 14 17:24:37 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:20:05 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/11/14 17:24:37 wiz Exp $
 
-BLAKE2s (watchdog-0.10.4.tar.gz) = d4b3506c50374c2f3fbd06d01c8017ca9c23db536b395c161f692d651502c081
-SHA512 (watchdog-0.10.4.tar.gz) = d602b54c855f0d1a8107a43e685f605db4f440d379e0bca3da71e14be4db93a6bb50bd376fc4ec70018534aec28b208d1bcddd61796260f08dff4c4597a00d81
-Size (watchdog-0.10.4.tar.gz) = 98042 bytes
+BLAKE2s (watchdog-2.1.9.tar.gz) = 4dae6dac7cefa2ddc701867c180bd0b3f9b945258554fb2eb39b9859533b93d9
+SHA512 (watchdog-2.1.9.tar.gz) = 677aa6d066d7fc6b68ed4a78811aeb0340f02133a64e4f4923996dcdbcae99ef7d1acc224604bcbc6f374d1843ac0faf8f8bce797b68d44ed178cf35dfc3e4c7
+Size (watchdog-2.1.9.tar.gz) = 119171 bytes


Home | Main Index | Thread Index | Old Index