all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kiasoc5 via Guix-patches via <guix-patches@gnu.org>
To: 63612@debbugs.gnu.org
Cc: kiasoc5 <kiasoc5@disroot.org>
Subject: [bug#63612] [PATCH 2/6] gnu: python-watchdog: Update to 3.0.0.
Date: Sat, 20 May 2023 12:44:08 -0400	[thread overview]
Message-ID: <4526a21c0c97d1db4cfaa0b4f175cf7d97a32780.1684600821.git.kiasoc5@disroot.org> (raw)
In-Reply-To: <cover.1684600821.git.kiasoc5@disroot.org>

* gnu/packages/python-xyz.scm (python-watchdog): Update to 3.0.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Delete check phase. Add #:test-flags. Skip more tests.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f7e3f6f538..80d5085f3b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26953,24 +26953,23 @@ (define-public python-android-stringslib
 (define-public python-watchdog
   (package
     (name "python-watchdog")
-    (version "2.1.6")
+    (version "3.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "watchdog" version))
        (sha256
-        (base32 "1rx2nyl0cyj0v4ja795cl3gi26577c5wg48syr3byz3ndkgpavm3"))))
-    (build-system python-build-system)
+        (base32 "1y9kk9hbyhidyhpaqg7rg3d3rry26fv8ri4gl72sg9sxb4ha762d"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "-m" "pytest" "-k"
-                       ;; This test failed.
-                       "not test_kill_auto_restart")))))))
+     (list
+      #:test-flags
+      '(list "-k"
+             (string-join '("not test_inotify_buffer"
+                            "test_unmount_watched_directory_filesystem"
+                            "test_auto_restart_on_file_change_debounce"
+                            "test_kill_auto_restart")
+                          " and not "))))
     (propagated-inputs
      (list python-pathtools python-pyyaml))
     (native-inputs
-- 
2.40.1





  parent reply	other threads:[~2023-05-20 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-20 16:42 [bug#63612] [PATCH 0/6] Update searx and dependencies kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 1/6] gnu: Add python-ephemeral-port-reserve kiasoc5 via Guix-patches via
2023-05-20 16:44 ` kiasoc5 via Guix-patches via [this message]
2023-05-20 16:44 ` [bug#63612] [PATCH 3/6] gnu: python-jinja2: Update to 3.1.2 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 4/6] gnu: python-werkzeug: Update to 2.2.3 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 5/6] gnu: python-flask: Update to 2.2.2 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 6/6] gnu: searx: Update to 1.1.0 kiasoc5 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4526a21c0c97d1db4cfaa0b4f175cf7d97a32780.1684600821.git.kiasoc5@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=63612@debbugs.gnu.org \
    --cc=kiasoc5@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.