From patchwork Sat May 20 16:44:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiasoc5 X-Patchwork-Id: 50172 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 626F627BBEA; Sat, 20 May 2023 17:45:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B723327BBE2 for ; Sat, 20 May 2023 17:45:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0PhX-0000h1-Nf; Sat, 20 May 2023 12:45:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0PhX-0000gc-28 for guix-patches@gnu.org; Sat, 20 May 2023 12:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0PhW-0006HI-PQ for guix-patches@gnu.org; Sat, 20 May 2023 12:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0PhW-0006ei-L3 for guix-patches@gnu.org; Sat, 20 May 2023 12:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63612] [PATCH 2/6] gnu: python-watchdog: Update to 3.0.0. Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 May 2023 16:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63612 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63612@debbugs.gnu.org Cc: kiasoc5 Received: via spool by 63612-submit@debbugs.gnu.org id=B63612.168460106425473 (code B ref 63612); Sat, 20 May 2023 16:45:02 +0000 Received: (at 63612) by debbugs.gnu.org; 20 May 2023 16:44:24 +0000 Received: from localhost ([127.0.0.1]:59268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Pgt-0006cb-J6 for submit@debbugs.gnu.org; Sat, 20 May 2023 12:44:24 -0400 Received: from knopi.disroot.org ([178.21.23.139]:52490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Pgr-0006c6-2q for 63612@debbugs.gnu.org; Sat, 20 May 2023 12:44:21 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 727CF4457A; Sat, 20 May 2023 18:44:20 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pTyxl765dE4I; Sat, 20 May 2023 18:44:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1684601059; bh=lZvCEgJTvPYaZdYcZ9zgAN97y3oXxMfzKKn8BDCLVUE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ShZDik7+ZUrRc679jIS2mzzQtaFsBBBGplYo4lp00rGtmAG5dFXC4/gVnhiq1mQi/ 9lAgV1cFDOplFFw+p5lZzIMkcDLANh318S0YwVB0OiWGMITi7fTNBkRQHyoJBoYwd7 Ew1W+stHdLJl/XVPYSlbEwwHskuvsi3Jl817UmWMfrlB5FLm3xC6Qhn/FLIeuLvPss S4LEL9iPy5kNLucgqu/J0mRzC/+VDNCJep/al1r/pCYKW+Y2u/zOn9hRvXpB8WqsD2 h4PGyuopLVH31LbPMqrsXEzEGhPhgq03bzRJ6YR1TVmy82r2sY8n+dHdTvo7qzuwmk ndTvE4p+fO6Zw== Date: Sat, 20 May 2023 12:44:08 -0400 Message-Id: <4526a21c0c97d1db4cfaa0b4f175cf7d97a32780.1684600821.git.kiasoc5@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches X-Patchwork-Original-From: kiasoc5 via Guix-patches via From: kiasoc5 Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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