From patchwork Wed Feb 19 22:30:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 38864 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 3BF1627BBE9; Thu, 20 Feb 2025 08:08:25 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 347C027BBE2 for ; Thu, 20 Feb 2025 08:08:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tl1bJ-0001eB-GV; Thu, 20 Feb 2025 03:08:05 -0500 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 1tl1bH-0001du-AX for guix-patches@gnu.org; Thu, 20 Feb 2025 03:08:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tl1bH-000600-12 for guix-patches@gnu.org; Thu, 20 Feb 2025 03:08:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=+48Vd4wDANA/soKxl9dL4Uil7cvX3UTgC07fjoAU/Sk=; b=OxX7TTvN32LMBG3h9PoMCWKlOyTAON6yhxORXiUZaZps5NiIjDbJEIhtAqtXIiIO9BRrJXDI1PaTm64GPoXMuqSsIKl80iLZP+9efbVcN1VnmQDyTKi8+j4qt7F2PHfxUMS7FQZbS7UNwks8kslQtoVzZ7qeg25s3EA8MIC29+PlbNN18+OZdnLsnIfEEur8/o52GAc3itLNwV6IMfSpzogQlgtNL2ocDVwx7G/nqZlH7IYZpqjbhBGN/A10weKDhoXP0FVXANP9IinuvS1QbbcolJ0QS4FLPzHoIPyCu9mANxmYVvOOgXlSGX8/52uOkZpAG2WbRogz6npUW6G0yg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tl1bG-0003Gr-QB for guix-patches@gnu.org; Thu, 20 Feb 2025 03:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76436] [PATCH python-team 1/3] gnu: Add rust-notify-types-1. References: <87o6yxoxg8.fsf@ngraves.fr> In-Reply-To: <87o6yxoxg8.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Feb 2025 08:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76436 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76436@debbugs.gnu.org Received: via spool by 76436-submit@debbugs.gnu.org id=B76436.174003887612519 (code B ref 76436); Thu, 20 Feb 2025 08:08:02 +0000 Received: (at 76436) by debbugs.gnu.org; 20 Feb 2025 08:07:56 +0000 Received: from localhost ([127.0.0.1]:59365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tl1b9-0003Fn-Ep for submit@debbugs.gnu.org; Thu, 20 Feb 2025 03:07:56 -0500 Received: from 3.mo560.mail-out.ovh.net ([46.105.58.226]:59375) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tl1b6-0003FF-4R for 76436@debbugs.gnu.org; Thu, 20 Feb 2025 03:07:53 -0500 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.140.54]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4Yz5Ty0YLGz1kMD for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 08:07:49 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-mdsks (unknown [10.111.174.63]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 79FBD1FD72 for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 08:07:49 +0000 (UTC) Received: from ngraves.fr ([37.59.142.113]) by ghost-submission-5b5ff79f4f-mdsks with ESMTPSA id JWLXCNXitmc/OQAAsBQKZw (envelope-from ) for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 08:07:49 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-113S00730b457b6-a259-43fb-a550-39e240fcac3b, 3504AAD960A9D73423D68DF730709AC4C04CB632) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Wed, 19 Feb 2025 23:30:49 +0100 Message-ID: <87ikp5ox7v.fsf@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 16344970424340963938 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeiieeigecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkfggtgesthdtredttddttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetfeeukeehledtffdvieeuleejkefhudeuhfdukefgtdevgeetgedtkeehueeivdenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejieegfeeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=+48Vd4wDANA/soKxl9dL4Uil7cvX3UTgC07fjoAU/Sk=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1740038870; v=1; b=cRDTcI2uZUrtZ1q7bZ0lvqvdoNmC2JPG0fIkPfxJ6ivQAv51D6Y59LwejafTiYVcpkn/g3ZQ WhhxcdR5puATn2kbXTqzcHs8jKMGHPgJf9HfEQxk/DxRVslqg2VTRjVvknSUqHRZgytctqpfdG9 98OgmuXEwaUHb6iuRh+ZG48hNNVuKfPpLhZ38bOXThMP5y4J3rVvraoFCZLVcFhKQZeYLZAeLph sTPgwq30qKqtMFohGS582Q5hDn3yVp+kadQ53E2/3WOpCmJJvtZdNooWsIEtYq7kySQ//ARY7io 9uoz7svh07au3n7I/I/8vWHZSMJSyjVmU+q8OnkDw33Rw== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-notify-types-1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9bbc8a93b3..ce284ffcfe 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47492,6 +47492,29 @@ (define-public rust-notify-rust-4 Rust dbus client and server.") (license (list license:expat license:asl2.0)))) +(define-public rust-notify-types-1 + (package + (name "rust-notify-types") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "notify-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x5idrpxzf70ng88rz28dqmgx1jyddf0vxx1x3csw09fw6skqpaq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-instant" ,rust-instant-0.1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1) + ("rust-rstest" ,rust-rstest-0.21) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/notify-rs/notify") + (synopsis "Types used by the notify crate") + (description "This package provides rust types used by the notify crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-notmuch-0.8 (package (name "rust-notmuch") From patchwork Wed Feb 19 22:31:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 38866 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 A096327BBEA; Thu, 20 Feb 2025 08:09:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 33B7C27BBE2 for ; Thu, 20 Feb 2025 08:09:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tl1cH-0001mQ-0t; Thu, 20 Feb 2025 03:09:05 -0500 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 1tl1cF-0001m4-Ew for guix-patches@gnu.org; Thu, 20 Feb 2025 03:09:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tl1cE-00068j-MC for guix-patches@gnu.org; Thu, 20 Feb 2025 03:09:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=5V2DTCMUaDv8NgpHNHDDQV/+0s8GrC6vaZaoh/Q8Cuo=; b=nmh+oerPXsPbbZheMWjAaeLbLUS/NrOx6ZoqVwewFXaMoLGQgYFH9k2wDHB19zHLDCiSPNOP29p7lYXVUxxuSW8zO4wnzNc+SVDB1VfE8RmzPN+9ZIWE0r8PGYY2m1Elf2rwGOMeoNQAnmnO0sSdLYhrnZNO8Whve8Er9BJFRIKqgHebF21p06NQAPKZ3uqUcBYmsMb8kSCaNnLaum5B94cnnrVGQawQDttdubBWw7IElznpcaRWO2l8SBT6BO3aSUcZQIJti03F0I29njiu7XfuEwMPMPH5wuIN7Ogx2RgYLKu+zej0Y/mOD4+ouWqWW6YVUYuLzBwQwlJWUj6NhA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tl1cE-0003Mq-Gk for guix-patches@gnu.org; Thu, 20 Feb 2025 03:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76436] [PATCH python-team 2/3] gnu: Add rust-notify-7. References: <87o6yxoxg8.fsf@ngraves.fr> In-Reply-To: <87o6yxoxg8.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Feb 2025 08:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76436 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76436@debbugs.gnu.org Received: via spool by 76436-submit@debbugs.gnu.org id=B76436.174003888312590 (code B ref 76436); Thu, 20 Feb 2025 08:09:02 +0000 Received: (at 76436) by debbugs.gnu.org; 20 Feb 2025 08:08:03 +0000 Received: from localhost ([127.0.0.1]:59369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tl1bG-0003Gm-4h for submit@debbugs.gnu.org; Thu, 20 Feb 2025 03:08:02 -0500 Received: from 15.mo583.mail-out.ovh.net ([178.33.107.29]:49721) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tl1b8-0003FQ-Hq for 76436@debbugs.gnu.org; Thu, 20 Feb 2025 03:07:56 -0500 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.148.12]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Yz5V06VwRz1ZJs for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 08:07:52 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-htvd6 (unknown [10.111.182.20]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 895AB1FD2B for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 08:07:52 +0000 (UTC) Received: from ngraves.fr ([37.59.142.108]) by ghost-submission-5b5ff79f4f-htvd6 with ESMTPSA id 6+xbD9jitmfKOQAAVjfFfw (envelope-from ) for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 08:07:52 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-108S00289194608-abab-4702-ace3-7226b467e829, 3504AAD960A9D73423D68DF730709AC4C04CB632) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Wed, 19 Feb 2025 23:31:28 +0100 Message-ID: <87h64pox7s.fsf@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 16345814849046569570 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeiieeigecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkfggtgesthdtredttddttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetfeeukeehledtffdvieeuleejkefhudeuhfdukefgtdevgeetgedtkeehueeivdenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejieegfeeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=5V2DTCMUaDv8NgpHNHDDQV/+0s8GrC6vaZaoh/Q8Cuo=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1740038873; v=1; b=VNYAaMKlv8x5pp0AVH2XOdqHjL3vrFv6wCWCA8SKSC5ZtIIcxvy5MGpot2suQfyG9At6BGVK gBlB4/XHxXiNg75r+jd9jxyQhRS4OmMyyoT/bCpW3X8TBMe9KPa7i4f24zjUee5Rw/Go1xoS+o2 TUqvSbAPyHAUQyb+z4+YeYdl4DeLX9rKza1nz33UfcQl74s0CF6s04PyknwassWjrs6Eu1uK/U/ 4aYwE1g5jXaxeItugkz2tyIZoCePLDQPDRVHwWsSGRp7bMjuqA9wp9oaTMskFu2o9UbU/iZjQWb MRmuHBxFdeTngICVV9JGoe4BX1mfDs8Dc7Aqfug5Qk6Ww== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-notify-7): New variable. (rust-notify-6): Inherit from rust-notify-7. --- gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ce284ffcfe..21809ec22b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47297,8 +47297,45 @@ (define-public rust-normpath-0.2 ("rust-rustversion" ,rust-rustversion-1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-notify-7 + (package + (name "rust-notify") + (version "7.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "notify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02a0a1n0raxqslwhfprwmz7w34v54r42006q0m8bmy89jz1v8cy5")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs (list rust-bitflags-2 + rust-crossbeam-channel-0.5 + rust-filetime-0.2 + rust-fsevent-sys-4 + rust-inotify-0.10 + rust-kqueue-1 + rust-libc-0.2 + rust-log-0.4 + rust-mio-1 + rust-notify-types-1 + rust-walkdir-2 + rust-windows-sys-0.52) + #:cargo-development-inputs (list rust-insta-1 + rust-nix-0.27 + rust-serde-json-1 + rust-tempfile-3))) + (home-page "https://github.com/notify-rs/notify") + (synopsis "Cross-platform filesystem notification library") + (description "This package contains a cross-platform filesystem +notification library.") + (license license:cc0))) + (define-public rust-notify-6 (package + (inherit rust-notify-7) (name "rust-notify") (version "6.1.1") (source @@ -47308,7 +47345,6 @@ (define-public rust-notify-6 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0bad98r0ilkhhq2jg3zs11zcqasgbvxia8224wpasm74n65vs1b2")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) @@ -47324,12 +47360,7 @@ (define-public rust-notify-6 ("rust-windows-sys" ,rust-windows-sys-0.48)) #:cargo-development-inputs (("rust-nix" ,rust-nix-0.23) ("rust-serde-json" ,rust-serde-json-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/notify-rs/notify") - (synopsis "Cross-platform filesystem notification library") - (description "This package contains a cross-platform filesystem -notification library.") - (license license:cc0))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-notify-5 (package From patchwork Thu Feb 20 07:53:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 38865 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 AB1B127BBEA; Thu, 20 Feb 2025 08:09:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 1EA8E27BBE2 for ; Thu, 20 Feb 2025 08:09:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tl1cH-0001mr-SU; Thu, 20 Feb 2025 03:09:05 -0500 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 1tl1cF-0001m5-GO for guix-patches@gnu.org; Thu, 20 Feb 2025 03:09:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tl1cF-00068m-7V for guix-patches@gnu.org; Thu, 20 Feb 2025 03:09:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=TdR8qwgoFRV+wdarrJySKa3sdE1L/bRMeu44tMrNQ2I=; b=K4NqQgZrDlFO+EzIH6Q6UwVgAah1jE2c0IGnX2aKn/zZgtjGxk1G/rJA07xpbkC0CB+AOp2h6ziSO6I46LSa8PtTucytr7EfpHPKEIzxGtTt912e0qiD7lDcjqeWKOaZt0sasxSy5S1mL4Ih50z1k+UhM6dKtK4OAnyA0DimwS1+nI1WCzpxbbHMfBW/VrePFCXhJVaw4akEcGZz5a2EN88sHXVWPsfq85LGn87JpcBPSNTijILOT76BAxsDnksMDzc+AYcfrWcnQJp/OI8w0CwcCbtyO7PNG++NJje0VqAoTwuIGL9CHHkkIMhJY6pP29S8yCgpXZdoJ5WwP8t/rQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tl1cF-0003N0-0i for guix-patches@gnu.org; Thu, 20 Feb 2025 03:09:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76436] [PATCH python-team 3/3] gnu: python-watchgod: Rename package to python-watchfiles. References: <87o6yxoxg8.fsf@ngraves.fr> In-Reply-To: <87o6yxoxg8.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Feb 2025 08:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76436 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76436@debbugs.gnu.org Received: via spool by 76436-submit@debbugs.gnu.org id=B76436.174003888412611 (code B ref 76436); Thu, 20 Feb 2025 08:09:02 +0000 Received: (at 76436) by debbugs.gnu.org; 20 Feb 2025 08:08:04 +0000 Received: from localhost ([127.0.0.1]:59372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tl1bH-0003H1-0X for submit@debbugs.gnu.org; Thu, 20 Feb 2025 03:08:03 -0500 Received: from 4.mo576.mail-out.ovh.net ([46.105.42.102]:49797) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tl1bB-0003Fr-89 for 76436@debbugs.gnu.org; Thu, 20 Feb 2025 03:07:58 -0500 Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.140.5]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Yz5V33zvtz270F for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 08:07:55 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-ns7pn (unknown [10.110.118.186]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 070431FEA0 for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 08:07:54 +0000 (UTC) Received: from ngraves.fr ([37.59.142.104]) by ghost-submission-5b5ff79f4f-ns7pn with ESMTPSA id yr/cL9ritmeNZxsAHWSBhQ (envelope-from ) for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 08:07:54 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-104R005f35fcabb-40f1-4fec-81f9-1898b7562cd8, 3504AAD960A9D73423D68DF730709AC4C04CB632) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Thu, 20 Feb 2025 08:53:26 +0100 Message-ID: <87frk9ox7p.fsf@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 16346659276034728546 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeiieeigecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkfggtgesthdtredttddttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetfeeukeehledtffdvieeuleejkefhudeuhfdukefgtdevgeetgedtkeehueeivdenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrddutdegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejieegfeeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeimgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=TdR8qwgoFRV+wdarrJySKa3sdE1L/bRMeu44tMrNQ2I=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1740038875; v=1; b=iMW3XZ0WGH64bfdbUFZ1OG3rORaDZT3Nt20YbxXs3tsBoHDX9YfosIdQq07vE4rDXlbM2zSD sXWWDNxE0NiNlb/pYraN+hTJv7ibk1gfBiVQjrnxfBzLB00axTAzgFSmUv9nTt7WIFv6CrB3FDY 28/ibIVJIcJX5t9C2tIyrJowPBxuan1OY9sfjDbx5H1r1ruusr2OQ3hSWWyQOnHeBVioMOv5pZR hqpmtt5CCyihowt9R/AkROYW6p20EpM7mcIdxN4CBFMEz7TCttpcweAvAyjtyaYEnMo7+Fytkwx BkaPfptlzG+1oYM4lRe00mJ2xQV78UrR8W0YPiQNfd6cw== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-watchgod): Define in terms of 'deprecated-package'. [version]: Update to 1.0.4. [build-system]: Switch to cargo-build-system. [arguments]: Likewise. [native-inputs]: Add maturin, python-dirty-equals, python-pytest-timeout, python-wrapper. Remove python-pygments, python-pytest-sygar, python-setuptools and python-wheel. (python-watchfiles): New variable, formerly known as "python-watchgod". --- gnu/packages/python-xyz.scm | 58 +++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 18 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f738b2b00c..2d86cc010a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32455,37 +32455,56 @@ (define-public python-watchdog but portable.") (license license:asl2.0))) -(define-public python-watchgod +(define-public python-watchfiles (package - (name "python-watchgod") - (version "0.8.1") + (name "python-watchfiles") + (version "1.0.4") (source (origin ;; There are no tests in the PyPI tarball. (method git-fetch) (uri (git-reference - (url "https://github.com/samuelcolvin/watchgod") + (url "https://github.com/samuelcolvin/watchfiles") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0zm9xd2qf3d74l67yv8j3zhhhvi0vp25vhkg46l9d7flh9m04qrp")))) - (build-system pyproject-build-system) + (base32 "1kaxq0drjwlvcsg4in25w1bhjjgm1zlz06rr2macyi6s5x96g46h")))) + (build-system cargo-build-system) (arguments - (list #:test-flags '(list "-o" "asyncio_mode=auto" - ;; PytestUnraisableExceptionWarning - "-k" "not test_watch_log and not test_awatch") - #:phases #~(modify-phases %standard-phases - (delete 'sanity-check)))) + (list + #:install-source? #f + #:imported-modules `(,@%cargo-build-system-modules + ,@%pyproject-build-system-modules) + #:modules '((guix build cargo-build-system) + ((guix build pyproject-build-system) #:prefix py:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (replace 'build + (assoc-ref py:%standard-phases 'build)) + (add-after 'build 'install-rust-library + (lambda _ + (copy-file "target/release/lib_rust_notify.so" + "watchfiles/_rust_notify.so"))) + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (if tests? + ;; Missing file in source. + (invoke "pytest" "-vv" "-k" "not test_docs_examples") + (format #t "test suite not run~%")))) + (replace 'install + (assoc-ref py:%standard-phases 'install))) + #:cargo-inputs + (list rust-crossbeam-channel-0.5 rust-notify-7 rust-pyo3-0.23))) (native-inputs - (list python-anyio - python-pygments + (list maturin + python-anyio + python-dirty-equals python-pytest - python-pytest-asyncio python-pytest-mock - python-pytest-sugar - python-setuptools - python-wheel)) - (home-page "https://github.com/samuelcolvin/watchgod") + python-pytest-timeout + python-wrapper)) + (home-page "https://github.com/samuelcolvin/watchfiles") (synopsis "Simple, modern file watching and code reload in Python") (description "Simple, modern file watching and code reload in Python inspired by @@ -32493,6 +32512,9 @@ (define-public python-watchgod operating systems and an elegant approach to concurrency using threading.") (license license:expat))) +(define-deprecated/alias python-watchgod python-watchfiles) +(export python-watchgod) + (define-public python-wget (package (name "python-wget") From patchwork Thu Feb 20 08:34:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 38868 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 8A6FA27BBEA; Thu, 20 Feb 2025 09:21:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 4DE7727BBE2 for ; Thu, 20 Feb 2025 09:21:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tl2jz-00064S-N3; Thu, 20 Feb 2025 04:21:07 -0500 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 1tl2jx-00063X-FD for guix-patches@gnu.org; Thu, 20 Feb 2025 04:21:06 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tl2jx-0001gT-59 for guix-patches@gnu.org; Thu, 20 Feb 2025 04:21:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=7/CdtBkvqam2pwGppkfhpAgYbqlPENpcBzTIbWNNCNk=; b=AK9p1szBA0Pm/9lcfAgBUBP9VkkUkOQqhe0bUPNTHh342cfJ/sezGB7OSTjcilXRsek149x05XHrYFy+aq6D7iuz62lea5b+MV9OaidibrwwVBSiPhCZbzCA7OfcFxsJxGdZxYOmFu0GCio7L6TLsuN/6IwqkCDTXxpaKPkUVBSd1oOLNQbasD1yN2YTDKL+/wG1LNVZqyLlWrRDMKdinaKH3fUZyn7DpVBu/oLUzx+/a/dwyhH3H0bf9bVsa/foJUBmQg/3fxfdcrsO3eL8DbrNH9iRwxDjdvj1CjywEaRoScfpDl5pfWX1vkvcIRSWmQQJ3J3RNaZcKkR7KSuyWg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tl2jw-0002Ws-Vu for guix-patches@gnu.org; Thu, 20 Feb 2025 04:21:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76436] [PATCH python-team v2 4/4] gnu: python-uvicorn: Rename python-watchgod native-input. References: <87o6yxoxg8.fsf@ngraves.fr> In-Reply-To: <87o6yxoxg8.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Feb 2025 09:21:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76436 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76436@debbugs.gnu.org Received: via spool by 76436-submit@debbugs.gnu.org id=B76436.17400432419529 (code B ref 76436); Thu, 20 Feb 2025 09:21:04 +0000 Received: (at 76436) by debbugs.gnu.org; 20 Feb 2025 09:20:41 +0000 Received: from localhost ([127.0.0.1]:60002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tl2jY-0002TW-3k for submit@debbugs.gnu.org; Thu, 20 Feb 2025 04:20:40 -0500 Received: from 4.mo550.mail-out.ovh.net ([46.105.76.26]:32991) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tl2jN-0002SC-AI for 76436@debbugs.gnu.org; Thu, 20 Feb 2025 04:20:30 -0500 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.17.1]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4Yz75l2R7cz1SKW for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 09:20:27 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-kw6rz (unknown [10.110.96.35]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2811B1FEAB for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 09:20:27 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-5b5ff79f4f-kw6rz with ESMTPSA id KochO9rztmdFRgAAmyMeBQ (envelope-from ) for <76436@debbugs.gnu.org>; Thu, 20 Feb 2025 09:20:27 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G006eb064381-ae6b-40b7-9a8b-c47ba9796cbc, 3504AAD960A9D73423D68DF730709AC4C04CB632) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.92.117.144 Date: Thu, 20 Feb 2025 09:34:15 +0100 Message-ID: <87v7t5nfad.fsf@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 17571638371883082338 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeiieejlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkfggtgesthdtredttddttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetfeeukeehledtffdvieeuleejkefhudeuhfdukefgtdevgeetgedtkeehueeivdenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejieegfeeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=7/CdtBkvqam2pwGppkfhpAgYbqlPENpcBzTIbWNNCNk=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1740043227; v=1; b=5Ao1057bTTTgf2Fk3Qj249l6KuFrDipprswWPNnXicXZjdHcJbDmfQP3xnELVTMsf44+hcMu 2bEea8RT6Iar8KCmJ5SkE0qDHrDIQuziv+4OdoLHiprm3xv5GDPA/ZAZ8SSgjh9Ub8el+eGNKFB WwS6r9gKfnpJkKzCyIo7iIrXcX/iScTS3PfqEdxS0IRCKqiws4lEw5AXyf5GPylj7jqrCF3N4Nr MOyglYjL7BfM5DPV3wmeIYRJ42P6VEilmziAVdZqRCvvefP7ugxVKNI6yKfAZlsyqJ0MR42K5/m YLJnimQSb3bIyAILz0AGpzbC9vXxpdPX2yzj66+t7R/7g== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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-web.scm (python-uvicorn)[native-inputs]: Rename python-watchgod to python-watchfiles. Add python-a2wsgi. --- gnu/packages/python-web.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 27452efdb7..5bed528e95 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7367,13 +7367,14 @@ (define-public python-uvicorn python-trustme python-wsproto)) (propagated-inputs - (list python-click + (list python-a2wsgi + python-click python-dotenv python-h11 python-httptools python-pyyaml python-uvloop - python-watchgod + python-watchfiles python-websockets)) (home-page "https://github.com/encode/uvicorn") (synopsis "Fast ASGI server implementation")