From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:55:20 2024 Received: (at submit) by debbugs.gnu.org; 3 Jul 2024 07:55:20 +0000 Received: from localhost ([127.0.0.1]:38549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOupj-0002nj-Pq for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:55:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:37420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOuph-0002nW-Tn for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:55:18 -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 1sOupf-0008Cd-JG for guix-patches@gnu.org; Wed, 03 Jul 2024 03:55:15 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOupd-0006jw-4b for guix-patches@gnu.org; Wed, 03 Jul 2024 03:55:15 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993310; bh=/60YnC7ycWGBvxrV1wCjDgEv7r8GQnssEcWZJZIpeL4=; h=From:To:Cc:Subject:Date; b=GrRiuMq55WsmF6vrHr9BQ3vu40oaT7gnbdWngFrJOj7XBglP2l/ZtiIeS6mO+C2i9 zRm7+WYea7nVvs8PGnyOnrkoQem7xW7dqSwSib9du3Tz1dVftsjoFd3alKLrFS0IO/ 8ELBBgh9/8GU2h58IP+NNepAIcyS/yLQxTaEDbQRLipiNOZQLLTKiHSVxeax3LtUZx 8UfDa8INwp9PcrtnCGhNyjFv3uzrFknamb10ZTfUeOoJjYy36eB8Z5x98rvamCa4FK N/1bn4EhuMMfwheP6cyvBt1JQMbb3865wtmhxTmz1L5LsZZqf84LW9X/IZuyK6wFjz mxcbXznLbYyMw== To: guix-patches@gnu.org Subject: [PATCH 00/10] gnu: Add python-nh3. Date: Wed, 3 Jul 2024 16:54:58 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Debbugs-Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=mcsinyx@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) nh3 is a HTML sanitization library for Python, generally a replacement for the now-deprecated bleach. I use nh3 for a tool rendering mail threads into HTML, but that's to be packaged later since I also want to upgrade its other dependency, mistune. Dependency tree among patches: * Add Python nh3 * Add Rust ammonia * Add Rust html5ever 0.27 * Add Rust markup5ever 0.12 * Update Rust typed-arena 2 to 2.0.2 * Add Rust pyo3* 0.21 (also update pyo3* 0.20 to 0.20.3) Nguyễn Gia Phong (10): gnu: rust-typed-arena-2: Update to 2.0.2. gnu: Add rust-markup5ever-0.12. gnu: Add rust-html5ever-0.27. gnu: Add rust-ammonia-4. gnu: Add rust-pyo3-build-config-0.21. gnu: Add rust-pyo3-ffi-0.21. gnu: Add rust-pyo3-macros-backend-0.21. gnu: Add rust-pyo3-macros-0.21. gnu: Add rust-pyo3-0.21. gnu: Add python-nh3. gnu/packages/crates-io.scm | 240 ++++++++++++++++++++++++++++++------ gnu/packages/crates-web.scm | 29 +++++ gnu/packages/python-web.scm | 45 +++++++ 3 files changed, 277 insertions(+), 37 deletions(-) base-commit: 4b3a553ca5ba5ac190739309eb5f7aa8170cf2a8 -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:32 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:32 +0000 Received: from localhost ([127.0.0.1]:38571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusp-0002uJ-RQ for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:32 -0400 Received: from layka.disroot.org ([178.21.23.139]:55102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusn-0002u4-C1 for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:30 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993506; bh=Bsi7QlOPrg3+mSLUYy9TvpPO052Qz00xCv1+HK1YV7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lw+sOkbkh6JNtF5JuIJ0r5/Ycri29fpI5Q8NLH1XYOYZdscgVvzMyjoHFopePFKjA jwmyZYaVoenQVlHmUGHUy/1zcZtyfJB4IwP9+Aaa/HawVf/LUWr/Mazivm7rRbjSL+ 0K4F2lLCvd1aS5PcXE/gp7Hg8Qr8hBtdQcBHvROHguM0RkQSSZsELG+u5u/0uNi2Ns GByyWuWVvaB5f7Hly6rYvapTi9H3dfzU0ye/+dDHhCTbDundVi+TuFGdQ+iI5i70Kg AXrMu8tTSNyYpdI72A8rMIW03JrLdArZdi8wr5ya+7RGJ7AARi/gMEsJTXyxdZm2rq D/bZGa/PJ4j+w== To: 71914@debbugs.gnu.org Subject: [PATCH 01/10] gnu: rust-typed-arena-2: Update to 2.0.2. Date: Wed, 3 Jul 2024 16:57:52 +0900 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crates-io.scm (rust-typed-arena-2): Update to 2.0.2. Change-Id: I75b3c9ba624a9d53b2e920bb61cc54bfa4d19bb7 --- gnu/packages/crates-io.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9fbe0e2a6ac5..eec488b63c0e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2024 Herman Rimm ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Suhail Singh +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -74665,7 +74666,7 @@ (define-public rust-typeable-0.1 (define-public rust-typed-arena-2 (package (name "rust-typed-arena") - (version "2.0.1") + (version "2.0.2") (source (origin (method url-fetch) @@ -74674,7 +74675,7 @@ (define-public rust-typed-arena-2 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1bnhphrksp9krxhsfhfimrxvkbah2pa6rf9ygmpw5lalbm6wi186")))) + "0shj0jpmglhgw2f1i4b33ycdzwd1z205pbs1rd5wx7ks2qhaxxka")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t)) (home-page "https://github.com/SimonSapin/rust-typed-arena") -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:33 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:33 +0000 Received: from localhost ([127.0.0.1]:38574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusr-0002uW-50 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:33 -0400 Received: from layka.disroot.org ([178.21.23.139]:55108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusp-0002uD-5b for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:31 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993507; bh=0biLkI6b/Esbehj/YEr5q3ko/bLI/5x3nRUMEl/Ts3U=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=J+QTI8kW3yyyy5ropupspW486Q3e2GlLeEi2e/TIGFS9hswklLQgocDOQMukw/hsI gncSujhUyLMCKPADwYIXBBWyr9YWF7V7vCr+jBa5ssjDoAkb726Cuzdmmk66TT8XA6 3HR78DBBlIHWF0Ikp5KFdkIU2YkSYFX1AVIy2FcbPs9t4qK5Rk+XXay5Wf/F9Joqto HJ5tHYrtb97cLnPCswlf4xb63TxDdghwjoyK7sdesZ18yQ3DAZDEjzeigDRGeFBinr nyLpoxdIhlDoc/U+jgIcnLYfrNrgshgdlPKmtTs8I2ws17xRdRp+R0FXFvp3uzADQ3 ENqMyFlju2hhA== To: 71914@debbugs.gnu.org Subject: [PATCH 02/10] gnu: Add rust-markup5ever-0.12. Date: Wed, 3 Jul 2024 16:57:53 +0900 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crates-io.scm (rust-markup5ever-0.12): New variable. (rust-markup5ever-0.11): Inherit from rust-markup5ever-0.12. Change-Id: Ieb3cd806b1155e169314e2bf3b05adbdad95079a --- gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eec488b63c0e..b78a80fc0a02 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -36726,23 +36726,23 @@ (define-public rust-markup-0.13 "This package provides a fast, type-safe template engine for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-markup5ever-0.11 +(define-public rust-markup5ever-0.12 (package (name "rust-markup5ever") - (version "0.11.0") + (version "0.12.1") (source (origin (method url-fetch) (uri (crate-uri "markup5ever" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "05mhzsp6lfxla1fgd0ac283b405s6kyj27wj5r6d7wq42jxjj9ks")))) + "0idy4vjihg2dw73j2vkb5kdghvga3bwnw0qx8jwci4m6xfxkmkhn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) - ("rust-phf" ,rust-phf-0.10) - ("rust-phf-codegen" ,rust-phf-codegen-0.10) + ("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) ("rust-string-cache" ,rust-string-cache-0.8) ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.5) ("rust-tendril" ,rust-tendril-0.4)))) @@ -36752,6 +36752,27 @@ (define-public rust-markup5ever-0.11 "Common code for xml5ever and html5ever.") (license (list license:expat license:asl2.0)))) +(define-public rust-markup5ever-0.11 + (package + (inherit rust-markup5ever-0.12) + (name "rust-markup5ever") + (version "0.11.0") + (source (origin + (method url-fetch) + (uri (crate-uri "markup5ever" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05mhzsp6lfxla1fgd0ac283b405s6kyj27wj5r6d7wq42jxjj9ks")))) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-phf" ,rust-phf-0.10) + ("rust-phf-codegen" ,rust-phf-codegen-0.10) + ("rust-string-cache" ,rust-string-cache-0.8) + ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.5) + ("rust-tendril" ,rust-tendril-0.4)))))) + (define-public rust-markup5ever-0.10 (package (inherit rust-markup5ever-0.11) -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:34 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:35 +0000 Received: from localhost ([127.0.0.1]:38576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOuss-0002up-HG for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:34 -0400 Received: from layka.disroot.org ([178.21.23.139]:55116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusq-0002uS-SD for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:33 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993509; bh=nAQWjwoSX7exrM4wRmGhukh8XCVXGLOcU0h0Y+Jr6bE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=B3fmAMjWZMHaru1iaja+sfsVVFoh60IE/YjpcrVMr2nmwiJc+/gJiY7cFEYHnf/jt Fg17y+Y9QBKdBDAXEKldAHr2XPj2k2R2GaXPW6zV4IXvz5Mg8bmERNiTSY06W9Lrhm ADJ/Uvh/pwJ2ZSDUP/hfOE47+7CFDmg2Ioc2NvrWI86XEuyJjCecs2HtpnBga4fR3U 8iQaRUF/KgCHaIWWgfAPECQByQHvEHCo3dZVF4CaIECMzlharEXUQABrCbgZUc8b0o WeO94CMDLApwOT7PdHcNkWik2B1b+1GaPT93688FciEIDu22WeEI97zVaq2EEdK1oD wMo9YgZW+8Oxw== To: 71914@debbugs.gnu.org Subject: [PATCH 03/10] gnu: Add rust-html5ever-0.27. Date: Wed, 3 Jul 2024 16:57:54 +0900 Message-ID: <183864595c3fe1211ea0884a04bfbcb29a1fa952.1719992277.git.mcsinyx@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crates-io.scm (rust-html5ever-0.27): New variable. (rust-html5ever-0.26): Inherit from rust-html5ever-0.27. Change-Id: Ifdcd7fb83fede8dc0af68af0e7f96e6b06a027db --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b78a80fc0a02..85b87e39f8c1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28893,35 +28893,60 @@ (define-public rust-hound-3 (description "This package provides a wav encoding and decoding library.") (license license:asl2.0))) -(define-public rust-html5ever-0.26 +(define-public rust-html5ever-0.27 (package (name "rust-html5ever") - (version "0.26.0") + (version "0.27.0") (source (origin (method url-fetch) (uri (crate-uri "html5ever" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1dx3lhfwngi21wa79cpjv5rd4wn5vmklr50wrwbryidq92mqr9my")))) + "1m24sbpk572f5qhhkj4kkxvsd64rn968s0vxwvqlds76w2pp2dy1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-mac" ,rust-mac-0.1) - ("rust-markup5ever" ,rust-markup5ever-0.11) + ("rust-markup5ever" ,rust-markup5ever-0.12) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) + ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) - ("rust-typed-arena" ,rust-typed-arena-1)))) + ("rust-typed-arena" ,rust-typed-arena-2)))) (home-page "https://github.com/servo/html5ever") (synopsis "High-performance browser-grade HTML5 parser") (description "This package provides a high-performance browser-grade HTML5 parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-html5ever-0.26 + (package + (inherit rust-html5ever-0.27) + (name "rust-html5ever") + (version "0.26.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "html5ever" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dx3lhfwngi21wa79cpjv5rd4wn5vmklr50wrwbryidq92mqr9my")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-mac" ,rust-mac-0.1) + ("rust-markup5ever" ,rust-markup5ever-0.11) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-typed-arena" ,rust-typed-arena-1)))))) + (define-public rust-html5ever-0.25 (package (inherit rust-html5ever-0.26) -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:38 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:38 +0000 Received: from localhost ([127.0.0.1]:38580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusv-0002vA-V1 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:38 -0400 Received: from layka.disroot.org ([178.21.23.139]:55128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOuss-0002uo-Iw for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:35 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993511; bh=rnkdsTxQnrMh85Z+eI2ukDwdWtaEpxVxHYQ3Mgo+44k=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=W0SYh6hI/9bse+sKxzOy3aox6f47F7Gqxy+dv4j62p8707muvnNSjV7N4Aoh4EQIX dOPX5+s3NSm3Xj3gXPKc0Sg3wipdTCA/nMVdFkLmJanGSDYjXn1zrLrJVokmG9Yn+d HheSWP0Xz0h7o4ekeqotmSFSJaL4otZ455xIxgr4yuvxFmxxyWDUFVpTpsAKiSeBKX xlX27yAJ7jRG1UdEkWBiTCcHpVGs/ay/MMGpGjfM5tyeDklxJoIFAUiBXz7QQTBHt5 yiHK2SM7e1GY0Aw9bFjatDtkFRV4Kisv5DMlO0vZ79y987j2fbhdMMmEl76Q3MbMzM Mst5+T2ulzlVg== To: 71914@debbugs.gnu.org Subject: [PATCH 04/10] gnu: Add rust-ammonia-4. Date: Wed, 3 Jul 2024 16:57:55 +0900 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crates-web.scm (rust-ammonia-4): New variable. Change-Id: Ibe8921d7119c5c75959f50c427d2d11024f30b88 --- gnu/packages/crates-web.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 60c735efa76b..2d5a4a56e59f 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2023 VÖRÖSKŐI András ;;; Copyright © 2024 Wilko Meyer ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -1490,6 +1491,34 @@ (define-public rust-actix-web-codegen-0.1 (inputs (list openssl)))) +(define-public rust-ammonia-4 + (package + (name "rust-ammonia") + (version "4.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ammonia" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nd432yg1cl9kj4i9c37a9hvwffayqh6zsvb4fmh31g5bsp9xf8s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("html5ever" ,rust-html5ever-0.27) + ("maplit" ,rust-maplit-1) + ("tendril" ,rust-tendril-0.4) + ("url" ,rust-url-2) + ("once_cell" ,rust-once-cell-1)) + #:cargo-development-inputs (("version-sync" ,rust-version-sync-0.9) + ("env_logger" ,rust-env-logger-0.10)))) + (home-page "https://github.com/rust-ammonia/ammonia") + (synopsis "Repair and secure untrusted HTML") + (description "Ammonia is a whitelist-based HTML sanitization library. +It is designed to prevent cross-site scripting, layout breaking, +and clickjacking caused by untrusted user-provided HTML +being mixed into a larger web page.") + (license (list license:expat license:asl2.0)))) + (define-public rust-async-h1-2 (package (name "rust-async-h1") -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:38 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:38 +0000 Received: from localhost ([127.0.0.1]:38582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusw-0002vD-BH for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:38 -0400 Received: from layka.disroot.org ([178.21.23.139]:55140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusu-0002v2-8E for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:36 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993513; bh=UOOepC3cSLoEcKCxaR5MYlz0nbQWyRVojpIUr1f3TwY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=cE00CGpYQu/vTPKHIMtxG0kAobPG8+CGvxBOpE2T3NH8pBcZc6ePwbqK1YIHNXnjQ MMqABHu2yvKfFg4MAshH9bq5/vq3SKL9wFql1Tf3Hzp+eXHfMYL+g3s/N2TA4Ngzfw tZH46uoZCdxbVbqxC1rDAT6/198ftypyv1/xDPvuTGkfJ2xpyUVWhaWs5Tj/TVJGTo ZXJZEN/4HRayS1MvKSLw5f1hyk55HUP8Vq6Rk3LdW/P+c8za+E/urQfj827Xv3RMWn 2PX6jfilpldat3T+Eopvsz7R7bVG05jUnTWK3TRMN4jkX5pe9B7YPSKyJCI0u6WyoV rEdoD+MlPQyAg== To: 71914@debbugs.gnu.org Subject: [PATCH 05/10] gnu: Add rust-pyo3-build-config-0.21. Date: Wed, 3 Jul 2024 16:57:56 +0900 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crates-io.scm (rust-pyo3-build-config-0.21): New variable. (rust-pyo3-build-config-0.20): Inherit from rust-pyo3-build-config-0.21. Update to 0.20.3. Change-Id: I7ee7893dd414c5a12e6b085c32500d234fc24b41 --- gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 85b87e39f8c1..043a75cbc1e7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51206,17 +51206,17 @@ (define-public rust-pure-rust-locales-0.7 (arguments (list #:tests? #f)))) ; Not all files included. -(define-public rust-pyo3-build-config-0.20 +(define-public rust-pyo3-build-config-0.21 (package (name "rust-pyo3-build-config") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3-build-config" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gk3a4y8jc2z1j3hb9xjg1gfvcd7s6ph1wwkcbr039p5iw6nyhh7")))) + (base32 "0l0vxvnqsbjrpdmysnwaljf4q3zcr1kb526qq23svzgs6mcdz0vq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) @@ -51232,6 +51232,25 @@ (define-public rust-pyo3-build-config-0.20 ecosystem.") (license (list license:expat license:asl2.0)))) +(define-public rust-pyo3-build-config-0.20 + (package + (inherit rust-pyo3-build-config-0.21) + (name "rust-pyo3-build-config") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-build-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ms83n1qa81989c6pakpznifalvxv5fiyyji23732lizvr2mgany")))) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) + ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) + ("rust-target-lexicon" ,rust-target-lexicon-0.12) + ("rust-target-lexicon" ,rust-target-lexicon-0.12)))))) + (define-public rust-pyo3-build-config-0.19 (package (inherit rust-pyo3-build-config-0.20) -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:40 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:40 +0000 Received: from localhost ([127.0.0.1]:38585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusx-0002vX-Py for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:40 -0400 Received: from layka.disroot.org ([178.21.23.139]:49440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusw-0002vB-8r for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:38 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993515; bh=jV121bcus/YqJtNcvxmxEpqE3DK8wBkd7M6/bbyh5BU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=c0DKImJtnX5Or5sNwV0FhdF6TzR8Gu8qDR6G/y9Tp3EgSToHhlWOZbzx8TkrqH47I IHM2BYN+d80JT3Cy2I1xoMY+drZSd2MdRRCehWmj3c23R/8YFkK+26nty0X7llq3kD 5sw89wa8z7fRwFbtLM+9/oAxxUpygyEpnpIEVXG7QddQwY0kYJd4hc/WugtK8HzMf3 MpgNU5+/eYUWayDX21k82i0wfoLpPSVimThvANxNchTs5I5R2BCHi7aL99lQKLMaNV 8eMqk/VzJLB9WwTwrAQJcwi98Lae8l02voGSfpKEO2xTVme9GVrOqNCNB1edyDqvpc WfKM0I0+UdhNQ== To: 71914@debbugs.gnu.org Subject: [PATCH 06/10] gnu: Add rust-pyo3-ffi-0.21. Date: Wed, 3 Jul 2024 16:57:57 +0900 Message-ID: <085f8178df4cb69dee10ec435a25bfdeae85b67b.1719992277.git.mcsinyx@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crates-io.scm (rust-pyo3-ffi-0.21): New variable. (rust-pyo3-ffi-0.20): Inherit from rust-pyo3-ffi-0.21. Update to 0.20.3. Change-Id: I5ef7bcc0855952dcd4d47254ed4dd338076f67b3 --- gnu/packages/crates-io.scm | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 043a75cbc1e7..c7a955a2d7fd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51328,21 +51328,22 @@ (define-public rust-pyo3-build-config-0.15 `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) -(define-public rust-pyo3-ffi-0.20 +(define-public rust-pyo3-ffi-0.21 (package (name "rust-pyo3-ffi") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3-ffi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wbcv9cd0bandh3j5qfd5r66n045b8hs9wd4pi36nxhpgv0xxdyv")))) + (base32 "00vlp4gmzn76gz250pz1r3fydd5r41nwl7dd9nmidfb0vi1migh1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)))) + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.21)))) (native-inputs (list python)) (home-page "https://github.com/pyo3/pyo3") (synopsis "Python API bindings for the PyO3 ecosystem") @@ -51350,6 +51351,23 @@ (define-public rust-pyo3-ffi-0.20 "This crate provides Rust FFI declarations for Python 3.") (license (list license:expat license:asl2.0)))) +(define-public rust-pyo3-ffi-0.20 + (package + (inherit rust-pyo3-ffi-0.21) + (name "rust-pyo3-ffi") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yja1npmzh4i73jn5dv2rnw7idif8bns51bf3zpx821ys0qjbd32")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)))))) + (define-public rust-pyo3-ffi-0.19 (package (inherit rust-pyo3-ffi-0.20) -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:42 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:43 +0000 Received: from localhost ([127.0.0.1]:38588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOut0-0002vo-5K for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:42 -0400 Received: from layka.disroot.org ([178.21.23.139]:49442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOusy-0002vY-1e for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:40 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993517; bh=XE/V/WzTa59kBZ9ed6AaiXz/hlLM4foEgyNHQUqGlPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=MBuExhQkEmN3gv6qIUcn6usTVDE5oqQplnAptS1nqrYu+goMPKTNI+ULovDLAEh1R 6xVQ0n6YCQpjUSOMHZD9jgLPMxWfGr8VHPMryk+ukdTsq6cU+BpCfqGm3WlHNMcU+z fPqauSMFo/+W6c2XPOUq7ezTFVEft3DdXch8EcEqktuKk8hOcH5xo+DZaP3AqgDkJ/ vaI+DrFe1aa70s+vmmvx90KSgi0W34SQQ28Al5MYFnnnYVjyxD/v9o4FZCovOacBeU mvvtrBRRbrhCSZ1y+puJfGUAvdFWDY9m/Y7davGnGyZjKqTw3Mr1lMpy0hcIBc0BuK R1rQWH2WXNveQ== To: 71914@debbugs.gnu.org Subject: [PATCH 07/10] gnu: Add rust-pyo3-macros-backend-0.21. Date: Wed, 3 Jul 2024 16:57:58 +0900 Message-ID: <95d081a377ef380b7e25ddd52f7f2bc245aa2dbe.1719992277.git.mcsinyx@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crates-io.scm (rust-pyo3-macros-backend-0.21): New variable. (rust-pyo3-macros-backend-0.20): Inherit from rust-pyo3-macros-backend-0.21. Update to 0.20.3. Change-Id: Ia3a833ffc0a4107ae995754f13887103f5243402 --- gnu/packages/crates-io.scm | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c7a955a2d7fd..acf1fc8f83ea 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51447,17 +51447,17 @@ (define-public rust-pyo3-log-0.8 extension to python.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pyo3-macros-backend-0.20 +(define-public rust-pyo3-macros-backend-0.21 (package (name "rust-pyo3-macros-backend") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07w8x1wxm1ksx72jb0w1p2ssmg9zh95dsv4xmxyq4iqqhpa11j8g")))) + (base32 "0p58yp8ajlc8bq56wghw1syrjszmadasasdfpsjy3d9dychhf9h8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) @@ -51470,6 +51470,24 @@ (define-public rust-pyo3-macros-backend-0.20 "This package provides code generation backends for PyO3.") (license (list license:expat license:asl2.0)))) +(define-public rust-pyo3-macros-backend-0.20 + (package + (inherit rust-pyo3-macros-backend-0.21) + (name "rust-pyo3-macros-backend") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros-backend" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11b1z7qnbdnd9hy74ds3xcjx3mjkz43mvpnan32ljccwpdl9nzkw")))) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-pyo3-macros-backend-0.19 (package (inherit rust-pyo3-macros-backend-0.20) -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:44 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:44 +0000 Received: from localhost ([127.0.0.1]:38591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOut1-0002w2-Tf for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:44 -0400 Received: from layka.disroot.org ([178.21.23.139]:49450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOut0-0002vl-2b for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:42 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993518; bh=5+jlSD8bNrZ/4/ceipzBAOFGBAYJrwFkrccqHqML39g=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=OyunZZ4k5EfrKJ2FevdoOQ0QxyOkL7HDjeXCcYDMCnQP++x5dPdIvHisu/hRnMbpo k2k2ucq522q6MQ0lbKVUGCYArYRzzwNnsxmnAIVq4prRo7+C/NP97NWOjETNJwNnZv sM6PISxnKw9Bz0/DnZkXbBkwG/0k6KBIc+AfTEH3Bmuxa4voMYYuhGIb5lzH6r2Kv4 61OZgeSaZucTTwyf7+6npeAmXeR2jvjzHW380dRqGbSZxABAokGMbP0Zp9MZyFfW4C ALWyVxc2AELqsRNjed53RBrzRRboO7BIMikVUcT0IvT+kFgJ61dM8QhJTZuf93JIOZ 08tq1kWGtumyA== To: 71914@debbugs.gnu.org Subject: [PATCH 08/10] gnu: Add rust-pyo3-macros-0.21. Date: Wed, 3 Jul 2024 16:57:59 +0900 Message-ID: <8f5311fba8e591543e7d8e544555b2efceb4bc92.1719992277.git.mcsinyx@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crates-io.scm (rust-pyo3-macros-0.21): New variable. (rust-pyo3-macros-0.20): Inherit from rust-pyo3-macros-0.21. Update to 0.20.3. Change-Id: I90c07ee66aff098250345d11d120e1c62203b7e0 --- gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index acf1fc8f83ea..a0e99340ccd9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51564,29 +51564,49 @@ (define-public rust-pyo3-macros-backend-0.15 ("rust-syn" ,rust-syn-1)))) (native-inputs (list python)))) -(define-public rust-pyo3-macros-0.20 +(define-public rust-pyo3-macros-0.21 (package (name "rust-pyo3-macros") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lsfyx1shdyi7zybs3maakh2h3zsij3l5wap35qval0dwjs3ixq5")))) + (base32 "0g65z9yj2iffjrkrkzan9hwhhj7rrchh7lfv64dy30h6zill1cvp")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.20) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.21) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/pyo3/pyo3") (synopsis "Proc macros for PyO3") (description "This package provides compiler macros for use with PyO3.") (license (list license:expat license:asl2.0)))) +(define-public rust-pyo3-macros-0.20 + (package + (inherit rust-pyo3-macros-0.21) + (name "rust-pyo3-macros") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n61s98qb2qc1wlda3bz4r0wi0vsr9p4lj2yr5g0bf01z8hcf1bk")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.20) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-pyo3-macros-0.19 (package (inherit rust-pyo3-macros-0.20) -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:46 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:46 +0000 Received: from localhost ([127.0.0.1]:38595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOut4-0002wJ-96 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:46 -0400 Received: from layka.disroot.org ([178.21.23.139]:49452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOut1-0002w1-RX for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:44 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993520; bh=CnNcLUomw/n+j8sZKME7CHUKbc7ZKVIFzB28zSj6Wkk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=f6wKIoTFDZ5s63hdH4lPNc4l3yTFZLV5MtKPYR29MPrtu6+5s3JbX6B63CgyMRDyX ElQrBpffS20waOSmUHd/jZplHPizSvpy/L9KRmsUYYqZN3U32h+gwzDpO8T2z2pcsx zrDA4rNpnHe0Nf+7JuYlQkn4noQ9MVrIWrScP9oeWw0JKjl+VX497KATzQN8pABVpp pPdhANdpuWxvFP4pakNW7m0W7fbeMejMtNpNTSkQBhX6L06U7qkON5ipeOqIeh4YJy MLtOCqWV9Cfu/n7hmOK09SsyUQm461c4y5oBzPp8a7QzlM8wWEbjdIAvbzVPRNM5D1 PMiz3RCDVRNWw== To: 71914@debbugs.gnu.org Subject: [PATCH 09/10] gnu: Add rust-pyo3-0.21. Date: Wed, 3 Jul 2024 16:58:00 +0900 Message-ID: <9e1cb1d1f4d59949d9bf900c870f1975e78cf68e.1719992277.git.mcsinyx@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/crates-io.scm (rust-pyo3-0.21): New variable. (rust-pyo3-0.20): Inherit from rust-pyo3-0.21. Update to 0.20.3. Change-Id: Icfabbd32c1c673cd3459122cd5d5388e6dcb4137 --- gnu/packages/crates-io.scm | 56 ++++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a0e99340ccd9..457065276be5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51702,17 +51702,17 @@ (define-public rust-pyo3-macros-0.15 ("rust-syn" ,rust-syn-1)))) (native-inputs (list python)))) -(define-public rust-pyo3-0.20 +(define-public rust-pyo3-0.21 (package (name "rust-pyo3") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1q3g7ppg2qskigbgqg3w9280klkil5is9hhyps1ykl2hb1xdr2cs")))) + (base32 "1n39y183jfqbyvimscqr0ysxxa6804pn46ivw048ww91lnb0pq55")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -51729,9 +51729,9 @@ (define-public rust-pyo3-0.20 ("rust-num-bigint" ,rust-num-bigint-0.4) ("rust-num-complex" ,rust-num-complex-0.4) ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20) - ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.20) - ("rust-pyo3-macros" ,rust-pyo3-macros-0.20) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.21) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.21) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.21) ("rust-rust-decimal" ,rust-rust-decimal-1) ("rust-serde" ,rust-serde-1) ("rust-smallvec" ,rust-smallvec-1) @@ -51754,6 +51754,50 @@ (define-public rust-pyo3-0.20 Python code from a Rust binary is also supported.") (license (list license:expat license:asl2.0)))) +(define-public rust-pyo3-0.20 + (package + (inherit rust-pyo3-0.21) + (name "rust-pyo3") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cw2pgab0pq5gd98nhv18xgxvyigygspla6c8mfycmwisjbbpgak")))) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-either" ,rust-either-1) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-indoc" ,rust-indoc-2) + ("rust-inventory" ,rust-inventory-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.9) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.20) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.20) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-unindent" ,rust-unindent-0.2)) + #:cargo-development-inputs (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-send-wrapper" ,rust-send-wrapper-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-widestring" ,rust-widestring-0.5)))))) + (define-public rust-pyo3-0.19 (package (inherit rust-pyo3-0.20) -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 03:58:48 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 07:58:48 +0000 Received: from localhost ([127.0.0.1]:38597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOut5-0002wX-MY for submit@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:48 -0400 Received: from layka.disroot.org ([178.21.23.139]:49464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOut3-0002wI-Ub for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 03:58:46 -0400 X-Virus-Scanned: SPAM Filter at disroot.org From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719993522; bh=8MBj32z7FXc6BmnjoEJooGHGrbW6GNwnTTT2TeELb8E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=P6EYQu0pMyGNXhfQtRzNpPoCEQU5ZUkXL9VYIj5uvt4E7Iua4EOWkXeP92sp1iVMc 3cXXaHBA0qsUJ/Grco1PDwbaTxpuo060RHGh4vAdiJX3TpsEvcRY8WCDtOg146WW6F ATuRuKG77MXLRBNF5MIZGW17Db7oej+bJXN7VvRHpNGed/iW8RmAdZEA1FiyDZ+RHC +HaiyaVq/yfhAQDldy2LMQgaduNm6G1KZd0VbPLA1rmW+tHTcSVPZlYy4ZrbX/yB+C 4w2h1XuNXdu3vmNiHCGSKrceByJrKJOW6TR1KGonzQpcbeU3Rwftbf0mJk11j7+A0N fynoePthy+GEA== To: 71914@debbugs.gnu.org Subject: [PATCH 10/10] gnu: Add python-nh3. Date: Wed, 3 Jul 2024 16:58:01 +0900 Message-ID: <856227e921e654836b68c7927ed0f9e4da5cb815.1719992277.git.mcsinyx@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71914 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-web.scm (python-nh3): New variable. Change-Id: I21877b895467c290e07d11697a384c18a9c53113 --- gnu/packages/python-web.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1363e6ccdf11..b8e74694011c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -65,6 +65,7 @@ ;;; Copyright © 2024 Sharlatan Hellseher ;;; Copyright © 2024 normally_js ;;; Copyright © 2024 Markku Korkeala +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -83,6 +84,7 @@ (define-module (gnu packages python-web) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system cargo) #:use-module (guix build-system copy) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) @@ -96,6 +98,8 @@ (define-module (gnu packages python-web) #:use-module (gnu packages bash) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-web) #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages django) @@ -122,6 +126,7 @@ (define-module (gnu packages python-web) #:use-module (gnu packages qt) #:use-module (gnu packages rdf) #:use-module (gnu packages rpc) + #:use-module (gnu packages rust-apps) #:use-module (gnu packages serialization) #:use-module (gnu packages sphinx) #:use-module (gnu packages texinfo) @@ -3442,6 +3447,46 @@ (define-public python-ndg-httpsclient (home-page "https://github.com/cedadev/ndg_httpsclient/") (license license:bsd-3))) +(define-public python-nh3 + (package + (name "python-nh3") + (version "0.2.17") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nh3" version)) + (sha256 + (base32 "0a7hrca5bbbrz20cbqy16n8vaxf4v2q1r9zv9vjlbmn334d79l20")))) + (build-system cargo-build-system) + (arguments + (list + #: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)) + (replace 'install (assoc-ref py:%standard-phases 'install)) + ;; cargo-build-system's %standard-phases has 'check before 'install. + (delete 'check) + (add-after 'install 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (py:add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "tests"))))) + #:cargo-inputs + `(("rust-ammonia" ,rust-ammonia-4) + ("rust-pyo3" ,rust-pyo3-0.21)) + #:install-source? #false)) + (native-inputs (list maturin python-pytest python-wrapper)) + (home-page "https://nh3.readthedocs.io") + (synopsis "Python bindings to Ammonia HTML sanitization library") + (description "This package provides Python bindings +to Ammonia HTML sanitizer Rust crate.") + (license license:expat))) + (define-public python-noiseprotocol (package (name "python-noiseprotocol") -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 04:11:57 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 08:11:57 +0000 Received: from localhost ([127.0.0.1]:38640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOv5o-0003L3-Uz for submit@debbugs.gnu.org; Wed, 03 Jul 2024 04:11:57 -0400 Received: from layka.disroot.org ([178.21.23.139]:48838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOv5m-0003Ku-Na for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 04:11:55 -0400 X-Virus-Scanned: SPAM Filter at disroot.org Content-Type: multipart/signed; boundary=b603077cfa3de135cae9147ffac92a2c0dd96ad695b3817b7087e45525aa; micalg=pgp-sha256; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719994311; bh=o3W3r06+sz7S/jT6AtAvj8bRMIDBnGiTqtuZ7xThnew=; h=Date:Subject:To:From:References:In-Reply-To; b=jaZmbFGs/PkTl8HuUswC9fNvZJO3o9rH8GV+YnEyzC/WzcY6qWoxh5fMRLU9tq+Cc +99BNam7hAKqhIaKEskXAB4EoD3WZvFFvNMP+G+E987rD4/gE+UwWCOMsQbfEMvuoa rioJEOC1UadRwyuH6a/S6cmIUnaTQpDQ9BlFJ23Rr2aUMjEReQalGvJ/s99+gnw9kb /u0tm1BdhoQ4PFugmieLcArvwBpbgfjIyMu4dL4VSQJisizqOmJmplY7yRceTBIQYD Qd8uKNf/mCFEi2FAZsX6v1bQ61STpshr0y8xr798DgWCN//0uROyCaaOqtNEQhS7DN IBS0plFk2mjyg== Date: Wed, 03 Jul 2024 17:11:43 +0900 Subject: Re: [PATCH 08/10] gnu: Add rust-pyo3-macros-0.21. To: <71914@debbugs.gnu.org> From: =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong?= Message-Id: References: <8f5311fba8e591543e7d8e544555b2efceb4bc92.1719992277.git.mcsinyx@disroot.org> In-Reply-To: <8f5311fba8e591543e7d8e544555b2efceb4bc92.1719992277.git.mcsinyx@disroot.org> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 71914 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --b603077cfa3de135cae9147ffac92a2c0dd96ad695b3817b7087e45525aa Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On 2024-07-03 at 16:57+09:00, Nguy=E1=BB=85n Gia Phong wrote: > * gnu/packages/crates-io.scm (rust-pyo3-macros-0.20): > Inherit from rust-pyo3-macros-0.21. > Update to 0.20.3. > --- > +(define-public rust-pyo3-macros-0.20 > + (package > + (inherit rust-pyo3-macros-0.21) [snip] > + (arguments > + `(#:cargo-inputs > + (("rust-proc-macro2" ,rust-proc-macro2-1) > + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.20) > + ("rust-quote" ,rust-quote-1) > + ("rust-syn" ,rust-syn-2)))))) I just realized that all pyo3-* 0.20 use the same cargo-inputs as 0.21. Should I send v2 for all patches or just 05 to 08? --b603077cfa3de135cae9147ffac92a2c0dd96ad695b3817b7087e45525aa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHIBAABCAAyFiEE6Q4RuASTNDthMuOUJxSLLAaiIksFAmaFB8MUHG1jc2lueXhA ZGlzcm9vdC5vcmcACgkQJxSLLAaiIktEKQv9E+0gED2206L9NNaZFGsYIbWI++Rh MN1zzXeuMWNCn79jXV1VdOqrRnoTM60Sflwz2B+E6ducwWZr5WYMsua5mnDsgRXY 79Ss8vUaYWMxYzAnAgY25OxcT2ncngYIMWV9VRz1pCijykeQHbvBFRg89chOjnPu mRhqEW2VzIjag0rq/d0j42Gr7TTuasCfhGjgE896r7TBPNDT+oAtZZv96zFIRPsY P3RPn29Xl5VyQ10VAGGrjEy/93nXibOYVxQrnCZKsg7hyok9+E7RycFIKYZuRcR9 4ninHY/DVbKW9tgDMj44G/zw0XUc+xedpIfnojlqjDPRafUhiEgfOnvmUpbiT7IC lLv0EuJBzEibsflm3w/CQ5DsnTC5KPu6PNW5FMY727kefjgKQG+MrOaLWspXX6Nt ojXXkWwRSe1Xi6pY8VGHuvQTN5nSlwNNYzsazw0QIqKMAu7CMkBsQlUEEFnHH8IC T80j/evfdv1zO4jQWFidVy4CjZl9uOfQRX86 =u6Sx -----END PGP SIGNATURE----- --b603077cfa3de135cae9147ffac92a2c0dd96ad695b3817b7087e45525aa-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 05:01:57 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 09:01:57 +0000 Received: from localhost ([127.0.0.1]:38723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOvsC-0007Xw-T3 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 05:01:57 -0400 Received: from mail-lf1-f54.google.com ([209.85.167.54]:58608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOvsA-0007Xi-AO for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 05:01:55 -0400 Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-52e743307a2so5801692e87.0 for <71914@debbugs.gnu.org>; Wed, 03 Jul 2024 02:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719997246; x=1720602046; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=P9SJjUoFI0fUnZL4CZ7IrEWV7jSL2CHjLea5Jx4oboQ=; b=F8Fmn0iDyTEGDlp2SjPSCso7iqqt3PAEuGmLQ6J8BMTIBybXPU0rRKTD+sIPGmDdTb llgYmr856jdz3dS2OChel/ixlN3FrkV2gvQ6MhhFihcgltt8E+bUXFVlkvcVLsBYybcx DKE+hf8dsjIB9BPGKv1esNSZMPHGaYV2yt9CdGdMgDYHq5c/GO7pzqDF1zMZqeH7Dqv1 S2mnhHFSS/DY9tBmYZAND+ym4+kJYci3i7erwiXJ4M/bBSET4SmfhvvUlD3S2Xv+qkLx rCjgC+zEDKaO1UDHnJZ8hmIvLz4AoSAhBeHdpuB2bxh71H1E4zTFQeExYcWQ4uZFi716 MGzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719997246; x=1720602046; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=P9SJjUoFI0fUnZL4CZ7IrEWV7jSL2CHjLea5Jx4oboQ=; b=BeB6tdmIKK828425lKb63bFnsx0meLBJ/HInji9O76LJCiNit8njkSWHzMZUFlnTgi UrtQmWdpFVD9GkSlHLUQAa5WSJfzcdcpoIMlK4d/gpUdX2MjlGJu7lV73vVVQx3dICdF 1pxfbVTe7pRcmUYKvtr7VwNYkfwYsgxgu4sPVAJ+M4mlKJK3H8FZJyUC43LZ7Xv/7GHV OjIUJPITpSBPDa3UfN/Nh1mPYDlvxORIaupOaLvlZSVjiVYoM6KRrmRpC+uEgfzI1/b9 YLaAbTL+idTjVoV2qI0mV/qSZ+TyZlH2/Lv01QBK+lSisgBHXqOEqfclVbuBFjEFcAFi itEg== X-Gm-Message-State: AOJu0YxdD83I8Xmygu5QGFNUu/lpywdjjzTWJYk4xRRtZ7BekmB1n8fz o8wVcpwXCq2zzyJacKDsKgkaemUhUywxQ6tbXGybNjhfwWZ1rVmdklbHVHQz X-Google-Smtp-Source: AGHT+IFDwyShC0cZNvWtnn+4+miYAFiLorEA7pF8ksCKMoSX/+/7MTIM1wWtXU1LelBw8LcEH63kFg== X-Received: by 2002:a05:6512:3986:b0:52c:84a2:d848 with SMTP id 2adb3069b0e04-52e8274aca8mr9490250e87.65.1719997246087; Wed, 03 Jul 2024 02:00:46 -0700 (PDT) Received: from localhost ([141.226.13.214]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4256af3cf9bsm233827295e9.8.2024.07.03.02.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 02:00:45 -0700 (PDT) Date: Wed, 3 Jul 2024 12:00:39 +0300 From: Efraim Flashner To: =?utf-8?B?Tmd1eeG7hW4=?= Gia Phong Subject: Re: [bug#71914] [PATCH 08/10] gnu: Add rust-pyo3-macros-0.21. Message-ID: Mail-Followup-To: Efraim Flashner , =?utf-8?B?Tmd1eeG7hW4=?= Gia Phong , 71914@debbugs.gnu.org References: <8f5311fba8e591543e7d8e544555b2efceb4bc92.1719992277.git.mcsinyx@disroot.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4PV5DW2f0rGjszh/" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71914 Cc: 71914@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --4PV5DW2f0rGjszh/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 03, 2024 at 05:11:43PM +0900, guix-patches--- via wrote: > On 2024-07-03 at 16:57+09:00, Nguy=E1=BB=85n Gia Phong wrote: > > * gnu/packages/crates-io.scm (rust-pyo3-macros-0.20): > > Inherit from rust-pyo3-macros-0.21. > > Update to 0.20.3. > > --- > > +(define-public rust-pyo3-macros-0.20 > > + (package > > + (inherit rust-pyo3-macros-0.21) > [snip] > > + (arguments > > + `(#:cargo-inputs > > + (("rust-proc-macro2" ,rust-proc-macro2-1) > > + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.20) > > + ("rust-quote" ,rust-quote-1) > > + ("rust-syn" ,rust-syn-2)))))) >=20 > I just realized that all pyo3-* 0.20 use the same cargo-inputs as 0.21. > Should I send v2 for all patches or just 05 to 08? They use the 0.20 version of the inputs, not the 0.21 version of the inputs, so they have different cargo-inputs. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --4PV5DW2f0rGjszh/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmaFEzcACgkQQarn3Mo9 g1FfYA/7B/bMinKTTX6pNlviXdpuf2/gRffhHY5EfQVqsHBzkYxgQ6wQQa5qZ6J6 MFWUbcJRHLVAa2HnkN9lXX2wysiTsuEQglplJpx5OvomnTG8d5LWFjNSNIp1rNIn KQZWt0E1F+/UwlaFn9XFro+AOSD5CMsKRDe3SAWXBTCvzM0C1tusA38LlDmAyTMm FOsLJvpWm1O2LuGkblQn6ZtG8QxiX6tirE/qXdl3iOQAja520D7dZUY28Lu55oH3 HF8GZd0I/PEWggXmAfix7bgPfXDYu3R+LgXq1mPlCS5C1kjy543cMfHCmg5qpy9j rNfsj1sZ3xrUpFjwjoPKw8lv2rJK2+4dApJ9cxL/8S0KJ6Q/g50I/U3JhuOnUaAM J4Cz/ukYPHey/k2jbHTSVz0bF6/QBBJaNM0NFaVlgARyrc+7j6kiMg1xEXuXBV8B RH0GkOy0nhEmE+cY/TitZOXamljDPs9+NOq4H55/7XVnTyUF9rcD9StYoNg6q9v6 W8CnJKNbiztf+9X+mo6g1aaLRGxlaHK76VxYsnMZOt3r2aVi2Dr9iOsEVqKYtMUy CsQd2EuPCth7Kd9snjcExOd3Er06CLldDcXsOIemRNEdoqhvDuO3yEP/Yz8Dfawj ILp+ZGVx8CuhKNcYA7QzkiZt2SL2YGJo3yp1auchKQ0NSvgB5nU= =TIsF -----END PGP SIGNATURE----- --4PV5DW2f0rGjszh/-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 05:09:08 2024 Received: (at 71914-done) by debbugs.gnu.org; 3 Jul 2024 09:09:08 +0000 Received: from localhost ([127.0.0.1]:38731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOvz9-0007jH-Qw for submit@debbugs.gnu.org; Wed, 03 Jul 2024 05:09:08 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:47283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOvz7-0007ik-Cj for 71914-done@debbugs.gnu.org; Wed, 03 Jul 2024 05:09:06 -0400 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-424ad289949so37200715e9.2 for <71914-done@debbugs.gnu.org>; Wed, 03 Jul 2024 02:09:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719997678; x=1720602478; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=xlQjfpZe7YLvqIpC4fb1kxuB5l66KCqieCnVodezM7o=; b=mbJLLVxuZCd3+84oAmZYRn5aAWTlAWtl+OWUqDXA763TnqA21TCMbn8X2nu3FGVLKg HBt5k75wQIVXlDv69+OcnqX9Uxts49so+ohNo9GEDQLb6sKIiLqDXlfidFJUBWE7sqHL lA75x3OFzuG21ruW3Crh5IxloLQPHescEVlZlIswViIOo3xMMF7LBy9pPhtdImY5XjIO d6vRQMFhCsWG9yBU2aXPLP6BsHc99UTRaOFQ6GLbR1Y5SXV179fElk/NegGvZvHEeXsH wWVMYMj3DACLTpmDKtsQ54VPuxcBSYFr5dBLo6TFWrmFYxJhjPDIz2/WtyZVgt9Abh/U Sw4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719997678; x=1720602478; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xlQjfpZe7YLvqIpC4fb1kxuB5l66KCqieCnVodezM7o=; b=E8w31JqcZhFbwoR51HvMyeL9DRsmDgQKCsTpxeBoRjUKyDgGfWaDK7WTIrUsrsFsWv MBXlVEOmcI11TfhoGsg8PnBoq505s6+LFL8ccXgsVZcoOg/JcwsuyXwhUyLWy7LSv6QW w87HCGup/6589h1iVsrpwluiu5HVPKqSH4DwUHEXRkEbgUKJni3CP0GrCnTb3YTOQ1lR Pnz6pib+YMAEDgI9quugf+fsvWnBSE0zZmdTb+bw6uS/O88m+htdi4JR+O1Hnx6U8Bft qEIDy6Eap979ei3OgARCwBUEiycZhs+5kjQM3toIkF3vbB5LugcCvmnuHqsJAkcmCexG xJfg== X-Gm-Message-State: AOJu0YxtnPGXPSx92N1h9Hz5zjH9f1nSkXs80mTU/rNLo8Nci0IGPWMc vHzpeE/jn/xgD3MXRegCyBJC308WBICulwD4gdkOdjnRUK1dIjnQ X-Google-Smtp-Source: AGHT+IE80o5Bs6jMJ1GUK3bGUSNNNS557lqZ5/iqsRLPl1ckov6ANEEHrwbh7vrafAQfnYnevKt5fg== X-Received: by 2002:a05:600c:35c3:b0:424:9f28:22ff with SMTP id 5b1f17b1804b1-42579fff3c7mr68482505e9.5.1719997677437; Wed, 03 Jul 2024 02:07:57 -0700 (PDT) Received: from localhost ([141.226.13.214]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4257d04c742sm147986525e9.7.2024.07.03.02.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 02:07:56 -0700 (PDT) Date: Wed, 3 Jul 2024 12:07:55 +0300 From: Efraim Flashner To: =?utf-8?B?Tmd1eeG7hW4=?= Gia Phong Subject: Re: [bug#71914] [PATCH 00/10] gnu: Add python-nh3. Message-ID: Mail-Followup-To: Efraim Flashner , =?utf-8?B?Tmd1eeG7hW4=?= Gia Phong , 71914-done@debbugs.gnu.org, Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MunVPrrNLT6MDjIz" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71914-done Cc: Sharlatan Hellseher , Munyoki Kilyungi , Lars-Dominik Braun , 71914-done@debbugs.gnu.org, jgart , Marius Bakke , Tanguy Le Carrour X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --MunVPrrNLT6MDjIz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 03, 2024 at 04:54:58PM +0900, guix-patches--- via wrote: > nh3 is a HTML sanitization library for Python, > generally a replacement for the now-deprecated bleach. >=20 > I use nh3 for a tool rendering mail threads into HTML, > but that's to be packaged later since I also want to upgrade > its other dependency, mistune. >=20 > Dependency tree among patches: > * Add Python nh3 > * Add Rust ammonia > * Add Rust html5ever 0.27 > * Add Rust markup5ever 0.12 > * Update Rust typed-arena 2 to 2.0.2 > * Add Rust pyo3* 0.21 (also update pyo3* 0.20 to 0.20.3) >=20 > Nguy=E1=BB=85n Gia Phong (10): > gnu: rust-typed-arena-2: Update to 2.0.2. > gnu: Add rust-markup5ever-0.12. > gnu: Add rust-html5ever-0.27. > gnu: Add rust-ammonia-4. > gnu: Add rust-pyo3-build-config-0.21. > gnu: Add rust-pyo3-ffi-0.21. > gnu: Add rust-pyo3-macros-backend-0.21. > gnu: Add rust-pyo3-macros-0.21. > gnu: Add rust-pyo3-0.21. > gnu: Add python-nh3. >=20 > gnu/packages/crates-io.scm | 240 ++++++++++++++++++++++++++++++------ > gnu/packages/crates-web.scm | 29 +++++ > gnu/packages/python-web.scm | 45 +++++++ > 3 files changed, 277 insertions(+), 37 deletions(-) >=20 >=20 > base-commit: 4b3a553ca5ba5ac190739309eb5f7aa8170cf2a8 Since it wasn't only new packages I applied this to the rust-team branch, which should be merged soon-ish. There were a couple of missing bits, which I found while building all the packages affected: rust-pyo3-macros-0.21, rust-pyo3-macros-0.20: Needs python-minimal as a native-input rust-pyo3-macros-backend-0.21, rust-pyo3-macros-backend-0.20: Needs rust-pyo3-build-config-0.2X as a cargo-input and python-minimal as a native-input rust-pyo3-0.21: [cargo-inputs]: Added rust-chrono-tz-0.6, rust-portable-atomic-1. [cargo-development-inputs]: Added rust-chrono-tz-0.6, rust-futures-0.3. Removed rust-widestring-0.5. I used the following command to build all the packages: =2E/pre-inst-env guix build --no-grafts --fallback --max-jobs=3D3 rust-type= d-arena@2 rust-markup5ever@0.12 rust-html5ever@0.27 rust-ammonia@4 rust-pyo= 3{,-{build-config,ffi,macros-backend,macros}}@0.{20,21} python-nh3 --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --MunVPrrNLT6MDjIz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmaFFOsACgkQQarn3Mo9 g1GG2w/9FghMo85sXYB4RfQ3hstc2BYP/ZyqH3PNlrCwZ7Xnl5ZVTWAX9ydWVogm RXuQB7sMNqo0V9B/dDvb5pic2pclWn+bR/6d4YaHuQJ5uCIZteCLt8WfXGidJUh0 jxMsa8RvnxXV1QwMBCcvYO0Kb/v2H/ZP+eetFxVIKBtkysDWDAwGtYnVhqa10ITr mTj3zLZMdy0mYv4CxFmtyUge1Q/hXW/GDr1uDzIqeWt8QVE1aqkwDP065N2dKeZ/ saAwxIAcj1ruVMXvVyo8x5BGOIPjjpfBLxud1iVSRX4lX7UTarrYOfbYcObGoiui ZZcqaBqsXdJkUloGB34qhax8T5eNo+7s/iiL4VwQFx3yAud4WJCuzEJuJsGFc9Vt jS8xZxuKVapM/CLjxJDB+hyr9oVBTyMjmVMDAqYY5LR/GgIqiF0QO1gF+41acd8y 7QZ8GGBlfIyNg2oZo7youq6Tjh94m5N3XdXlWuSy8IFZ6D659iyWPciWx2c4iXih Of3gAzDgju4C+wiU2WIdHNMlNNmxMT/16VSNHU6epwHUSL1cfW9/+Ixwt9HIJ2uI WDRfQdwVGyl3OeOFpHQLVGknyxkAxHqihreGVWnvthKysmW2fhkf6EYI9eMGPK9b rW3/j+VgYauWBpV7f6QMrlPcJ1ADPnhqDxzNPnoifV6/kl/irW0= =uII6 -----END PGP SIGNATURE----- --MunVPrrNLT6MDjIz-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 05:13:05 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 09:13:06 +0000 Received: from localhost ([127.0.0.1]:38746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOw2z-0007qC-K8 for submit@debbugs.gnu.org; Wed, 03 Jul 2024 05:13:05 -0400 Received: from layka.disroot.org ([178.21.23.139]:33264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOw2x-0007q3-Ky for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 05:13:04 -0400 X-Virus-Scanned: SPAM Filter at disroot.org Content-Type: multipart/signed; boundary=54a900dba7cc48a878ffd546a90b57b848fcda937c34a0408c6926d1e4e9; micalg=pgp-sha256; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719997975; bh=4LXnTnnC5nR6kWcHylO0hsmOoli2JNovu4k6rt3C/rU=; h=Date:Subject:To:From:Cc:References:In-Reply-To; b=A9PTvsC9aMaxyt5/t8VWM6HCf+c0UVeImBW3O6DdODn3TM+yUed6Dvrg48iwFPP1o FLGRkpkWCzgzlZWcK2aoj56PgkClPG2fPCGajkFQJ06RbEfIqKiHtVM+rZbGbAnBuO VdDzA/spZEPW4ZicEmoSLpSfMeitIHf5S56mAg9yMmPPh7NCeCaYhpXbsyxbuWMKKv dJPEBci+euLJaGFmoO1MhM7SVYiXJ5/DLTed3k6AyFjxoKGFxp7sXl1eR8kHt5Ef5M s0kyLpsNFzutejqpYGSd4wkJ9yyxoCCE9AgviRvIWbqHVixyTnu1BuY0Z9+/wG2Pys AmvddsnQJekQg== Date: Wed, 03 Jul 2024 18:12:51 +0900 Message-Id: Subject: Re: [bug#71914] [PATCH 08/10] gnu: Add rust-pyo3-macros-0.21. To: "Efraim Flashner" From: =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong?= References: <8f5311fba8e591543e7d8e544555b2efceb4bc92.1719992277.git.mcsinyx@disroot.org> In-Reply-To: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 71914 Cc: 71914@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --54a900dba7cc48a878ffd546a90b57b848fcda937c34a0408c6926d1e4e9 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On 2024-07-03 at 12:00+03:00, Efraim Flashner wrote: > On Wed, Jul 03, 2024 at 05:11:43PM +0900, Nguy=E1=BB=85n Gia Phong wrote: > > On 2024-07-03 at 16:57+09:00, Nguy=E1=BB=85n Gia Phong wrote: > > I just realized that all pyo3-* 0.20 use the same cargo-inputs > > as 0.21. Should I send v2 for all patches or just 05 to 08? > > They use the 0.20 version of the inputs, not the 0.21 version of the > inputs, so they have different cargo-inputs. Sorry, my bad, that only applies for the 3 other pyo3-* (I removed their arguments and rust-pyo3@0.20 built w/o any error). Either way, what's the general etiquette for sending revisions of a subset of the patch series? --54a900dba7cc48a878ffd546a90b57b848fcda937c34a0408c6926d1e4e9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHIBAABCAAyFiEE6Q4RuASTNDthMuOUJxSLLAaiIksFAmaFFhcUHG1jc2lueXhA ZGlzcm9vdC5vcmcACgkQJxSLLAaiIkslHAv+MN6Mnu3DKMqHspyAU2xb+xfCQxwN TTfGwVuzoc/iJ0Q44QcLsuPq0n41v7aGrybGUYVD7u5PIrMYx5xLmhmlIjnwHZRw 2H3ag6JZFyyNsuEi6i3Cw4VE+PA/RRuHUZ+LLPepVl2brqMgAMy6q65raStaobsF rCAqklpyE8TdGIFIl82qRi/+Mt8xZcWen7XabyDg1m+ksCKEa8N3mzql8tGHZq+l VjkdkfLNDkCCF5LbKvSXE4BTlPGhATV3mNQkKCAWAxxp9vUsuNTPYYaYWZnZw8Td mUtTjPEIvF1961P8Y4IH8QzjO/WQcutj9TRmHqDpPgMrmn27SuPAhKjdIXShkGE2 H1qxU+ZrjWT9yPswZn28PEKJqri0UAMlxC7aVBfcR7BQNZxzgsa7t1GryVPiQ0gX RnWIE10baqPJeFBiINCJn01gZE4BmF1BGDtVPoCcSB+HIoRTCJ1Ajm7f06PNkQuP HP60ZAyJAfahbY/b2/EKgxKG3QRWb10LU8bF =OTdZ -----END PGP SIGNATURE----- --54a900dba7cc48a878ffd546a90b57b848fcda937c34a0408c6926d1e4e9-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 05:20:17 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 09:20:17 +0000 Received: from localhost ([127.0.0.1]:38753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOw9w-0008Bh-PS for submit@debbugs.gnu.org; Wed, 03 Jul 2024 05:20:17 -0400 Received: from layka.disroot.org ([178.21.23.139]:49054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOw9t-0008BI-Gm for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 05:20:15 -0400 X-Virus-Scanned: SPAM Filter at disroot.org Content-Type: multipart/signed; boundary=32e54eca2db2730732005716f08ab5ba898dc6029b48a814591b48faec53; micalg=pgp-sha256; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719998408; bh=1PKWw4E6gupCGzbZbacBNG8ltRdez4DgLB+36XgKHGM=; h=Date:Subject:To:From:Cc:References:In-Reply-To; b=LDbwURHhpctDRHwyncCXVHsAn69O6IoidB+EZ90/M/aDWzmTdxev/485WNfULDsM1 SWh/0E7Y7LW9xCteS8dyaG1FHDmcMTqBXLT0lQ/cnLOY9HIheU/lBGToyd1f9cgTJS VjOtY8ZDquPpAo4A60Z5FW5YuARzv+1DJThtvKTehFuqdF+vFlYMX38OfIqXuWeM4e 534vFHgntWo7iKPmCBUUsDtroXvOGUKoqA0UsH3z7aLLbnQ4AiA1ZsrQdoTV1N07iV cGIbaqXWfwpeupC1mSirNbA/xaEkJvKNsrObAgqNrIH6+M+ZSMt4mQoan01YPQzxoP xixgFY2lXVQ1Q== Date: Wed, 03 Jul 2024 18:20:03 +0900 Message-Id: Subject: Re: [bug#71914] [PATCH 00/10] gnu: Add python-nh3. To: "Efraim Flashner" From: =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong?= References: In-Reply-To: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 71914 Cc: 71914@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --32e54eca2db2730732005716f08ab5ba898dc6029b48a814591b48faec53 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On 2024-07-03 at 12:07+03:00, Efraim Flashner wrote: > On Wed, Jul 03, 2024 at 04:54:58PM +0900, Nguy=E1=BB=85n Gia Phong wrote: > > Nguy=E1=BB=85n Gia Phong (10): > > gnu: rust-typed-arena-2: Update to 2.0.2. > > gnu: Add rust-markup5ever-0.12. > > gnu: Add rust-html5ever-0.27. > > gnu: Add rust-ammonia-4. > > gnu: Add rust-pyo3-build-config-0.21. > > gnu: Add rust-pyo3-ffi-0.21. > > gnu: Add rust-pyo3-macros-backend-0.21. > > gnu: Add rust-pyo3-macros-0.21. > > gnu: Add rust-pyo3-0.21. > > gnu: Add python-nh3. > > Since it wasn't only new packages I applied this to the rust-team > branch, which should be merged soon-ish. > > There were a couple of missing bits, which I found while building all > the packages affected: > rust-pyo3-macros-0.21, rust-pyo3-macros-0.20: > Needs python-minimal as a native-input > rust-pyo3-macros-backend-0.21, rust-pyo3-macros-backend-0.20: > Needs rust-pyo3-build-config-0.2X as a cargo-input and python-minimal as > a native-input > rust-pyo3-0.21: > [cargo-inputs]: Added rust-chrono-tz-0.6, rust-portable-atomic-1. > [cargo-development-inputs]: Added rust-chrono-tz-0.6, rust-futures-0.3. > Removed rust-widestring-0.5. > > I used the following command to build all the packages: > ./pre-inst-env guix build --no-grafts --fallback --max-jobs=3D3 rust-type= d-arena@2 rust-markup5ever@0.12 rust-html5ever@0.27 rust-ammonia@4 rust-pyo= 3{,-{build-config,ffi,macros-backend,macros}}@0.{20,21} python-nh3 Thank you very much! So because Rust is statically compiled, each package needs to be (built and) tested individually? --32e54eca2db2730732005716f08ab5ba898dc6029b48a814591b48faec53 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHIBAABCAAyFiEE6Q4RuASTNDthMuOUJxSLLAaiIksFAmaFF8gUHG1jc2lueXhA ZGlzcm9vdC5vcmcACgkQJxSLLAaiIktL9gwAlzM2+1GTLXavpirm+++T6gLEuOK6 rIQ0K6O3F+Hjgx4ZX87QxG9v/1V0aAeGERW+iHFJLpl7ikdBAFbPEMXzB7VT9o/+ pT0ll9le9t3Lm2g2yDYb7I7koyliUvLX8tz//3S94yM6uOnz7vG3YU5A2CFoqLZy XaWBosVj3O1SwfhOQlHlimH/bYlQt+L7xahpFTu7kdOu8CzIZgLyxIw4xs0hGFt7 vgPaIq8GLA6hqN6lFK9hC5aOtpQnAuDB4QaOk+UCJ9Ob4tqqib8rejR+pMX/XOL2 iOPRlZAUQqAOuNuTzrhmiH11PHfng7+rk5y2Aeq6ahZsb9BMShrnCNyEypApLtZx vTj/kIkGQr3ZqdBdhYcpXzyvAjNFWhoQWXdlUgRCZDiidtGf1EZ8pWDANFMC9g2h m1Uw2Q2c/7sfkQav+zYjn5+E8iLAAhcPUMz0VMnNnvPTfY/YOee9sb/GzINZAF4A OO8ZLy7VaFj4mvnfGrx12quG47e0D6Go+shr =Qj72 -----END PGP SIGNATURE----- --32e54eca2db2730732005716f08ab5ba898dc6029b48a814591b48faec53-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 05:25:17 2024 Received: (at 71914-done) by debbugs.gnu.org; 3 Jul 2024 09:25:17 +0000 Received: from localhost ([127.0.0.1]:38764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOwEm-0008SN-RI for submit@debbugs.gnu.org; Wed, 03 Jul 2024 05:25:17 -0400 Received: from mail-lj1-f177.google.com ([209.85.208.177]:52626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOwEj-0008Rz-MS for 71914-done@debbugs.gnu.org; Wed, 03 Jul 2024 05:25:15 -0400 Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2ee794ebffbso21235751fa.1 for <71914-done@debbugs.gnu.org>; Wed, 03 Jul 2024 02:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719998646; x=1720603446; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=i7lGwyVihxhNJd3/5pjTZaLcGh70+0PxfYcxhpkQTrA=; b=O7gNIA7aV0o5Lpbml2lEhgpR8OXRJSeWZuPC5E4B5J+lrjOTmQfXv2xE57Pq1/rnxW DTfHOk//5/TJKbjIehsBu0iaFnqy7xRITTd1tCNJQzqIUbaXkrCFc8dDN8nJJdOjl/G9 VRDM6/QjJxHdeJTm130lrdcXiQ3HZ9KXFnVu4fY9s1ed2Qcm5w8TYk0ibwNCkKKpro07 wy4dmcp9OG/C01edznUNF/mxxXy/L8U/urn571lhdsgaK+DNIQJ92SEwC3p5fCToRxod nayHN4XuyqZR6/fzyu0qmuH2yqZq1005R2V7Of7zLJ3tesIQTs9v6XIRlln1TpsHWEoW 40jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719998646; x=1720603446; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=i7lGwyVihxhNJd3/5pjTZaLcGh70+0PxfYcxhpkQTrA=; b=bV7qOtEg6ts6uKlVmSSAjDqCn8Phm2sYXGrwKcKWtw0eBKooBV5vp1g9krYW/TC/hs YnuGb+ZJnhJRd6TDTqYoex0BjRhpL2TKyfb9IGH431IaNMNh/6cuJMSWpoWkGCaz6Xi5 BNiGnew1GrOyOVWeaR2WE5wyQz5XgDGPfxJovvevll5uOlx6Kp0KxPoQG9bDG3MJAuBF OcR263cOQaGm923aHyId+Nu5Tlfcmg+XlS8QbcsqpbWLi8SCOuLIeWvCia/Vob2A3ewO qln+hKbkRaokzvloV4u2DRVm0nywmv5SFuyXqwz47iDvCEez1erot6rLS/9qkji5vvuO dO+w== X-Gm-Message-State: AOJu0YzFgLdMKmwBc8YzuI7nk6XOKQ6qSf9uNP7tb9kxfA1Yvzuhw7ap ov2SlVNKbRUw3Gf//E5UAlVBUrdLxtJuIdULz9nUfCcm4OfYpzwl X-Google-Smtp-Source: AGHT+IGXUw/Tb6rbuuPtpTnBvFUoWnVaEOg2egvc3o9q4zjDDxZrJO4JR3CzMdjM73ah05leXp9OtA== X-Received: by 2002:a05:651c:2223:b0:2ee:4d37:91df with SMTP id 38308e7fff4ca-2ee5e3bb7fdmr108849561fa.27.1719998645689; Wed, 03 Jul 2024 02:24:05 -0700 (PDT) Received: from localhost ([141.226.13.214]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4258014f8b7sm136766485e9.41.2024.07.03.02.24.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 02:24:05 -0700 (PDT) Date: Wed, 3 Jul 2024 12:24:03 +0300 From: Efraim Flashner To: =?utf-8?B?Tmd1eeG7hW4=?= Gia Phong Subject: Re: [bug#71914] [PATCH 00/10] gnu: Add python-nh3. Message-ID: Mail-Followup-To: Efraim Flashner , =?utf-8?B?Tmd1eeG7hW4=?= Gia Phong , 71914-done@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Xym/iBcfroYACVPt" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71914-done Cc: 71914-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --Xym/iBcfroYACVPt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 03, 2024 at 06:20:03PM +0900, Nguy=E1=BB=85n Gia Phong wrote: > On 2024-07-03 at 12:07+03:00, Efraim Flashner wrote: > > On Wed, Jul 03, 2024 at 04:54:58PM +0900, Nguy=E1=BB=85n Gia Phong wrot= e: > > > Nguy=E1=BB=85n Gia Phong (10): > > > gnu: rust-typed-arena-2: Update to 2.0.2. > > > gnu: Add rust-markup5ever-0.12. > > > gnu: Add rust-html5ever-0.27. > > > gnu: Add rust-ammonia-4. > > > gnu: Add rust-pyo3-build-config-0.21. > > > gnu: Add rust-pyo3-ffi-0.21. > > > gnu: Add rust-pyo3-macros-backend-0.21. > > > gnu: Add rust-pyo3-macros-0.21. > > > gnu: Add rust-pyo3-0.21. > > > gnu: Add python-nh3. > > > > Since it wasn't only new packages I applied this to the rust-team > > branch, which should be merged soon-ish. > > > > There were a couple of missing bits, which I found while building all > > the packages affected: > > rust-pyo3-macros-0.21, rust-pyo3-macros-0.20: > > Needs python-minimal as a native-input > > rust-pyo3-macros-backend-0.21, rust-pyo3-macros-backend-0.20: > > Needs rust-pyo3-build-config-0.2X as a cargo-input and python-minimal as > > a native-input > > rust-pyo3-0.21: > > [cargo-inputs]: Added rust-chrono-tz-0.6, rust-portable-atomic-1. > > [cargo-development-inputs]: Added rust-chrono-tz-0.6, rust-futures-0.3. > > Removed rust-widestring-0.5. > > > > I used the following command to build all the packages: > > ./pre-inst-env guix build --no-grafts --fallback --max-jobs=3D3 rust-ty= ped-arena@2 rust-markup5ever@0.12 rust-html5ever@0.27 rust-ammonia@4 rust-p= yo3{,-{build-config,ffi,macros-backend,macros}}@0.{20,21} python-nh3 >=20 > Thank you very much! So because Rust is statically compiled, > each package needs to be (built and) tested individually? Yeah, its an unfortunate side effect of using the sources of the packages instead of an output. There has been talk in the upstream rust community about providing a stable-ish interface so that we can reuse build artifacts from one build to another. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Xym/iBcfroYACVPt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmaFGLAACgkQQarn3Mo9 g1GfUw/9EiuWj6PE8obkF1fWjq5Ot+kkYN11nssTsREC5dvXcLWbQKVmuYI1imsg cocAq7qet7UhelD4cTXvpK5l/0Y1bEvhJXOpZoUrOvZO7P4wlyIhaK4GfhPLI5iE z4ScYFS1p/iLb83hFgvvy3frkGYt0gIHD6UIiiTgBkGQAvgOFUWvMCR7msD+58Ix ue9/ATczr4I6gvteHgi3yxx1vTh9WzlDG1YbSzxmJPdkxf6ccG6ce+R9LG5fPNKI 85vCsOp9F9rQxc8qslJdzlkG5WSgFfGrdfFqf6VifK3e/hOT2jqPioIxNGIsxUxa cfPx2O3GceZAhY7ZI2KQ50gEuY+KZsowqWYua4NyhFR2BXrflhDswdbFjMC09s5r bjaghLXj22YqS75qFiF0xP5LZP7hB706k7bYwNCnPKSLVW0XACUAy6/ESfhkn0Oz MF1tQRAAsWYi3rVCfTKVEqn7uQ5oYkbXYkXrNEoH7wfR4dFY0JqUKw3DdklE0A/2 JguL6iKPRkK91hRObtxOT7ZuJRPjbb2Z5odY/XqXuvT2rGKXnNaaV9aL8HO4XdpH kB7MG5OhUguvwuH0428hwOYqwpei+iB6ovskk1WOo5JmVwE7we6PZm+omK3TsDjy a3Qjr9f5rlyREIcHdWhxEPoxLSvjuUhS70NSHCZJEFWtf/Uq1B0= =Slmn -----END PGP SIGNATURE----- --Xym/iBcfroYACVPt-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 05:28:12 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 09:28:13 +0000 Received: from localhost ([127.0.0.1]:38780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOwHc-00009f-JL for submit@debbugs.gnu.org; Wed, 03 Jul 2024 05:28:12 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:42301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOwHb-00009R-9q for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 05:28:11 -0400 Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-362f62ae4c5so240827f8f.1 for <71914@debbugs.gnu.org>; Wed, 03 Jul 2024 02:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719998824; x=1720603624; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=OsuQYk5m0MOTAPrQBff7IOXkshXIl7xWoFSYntSPAWs=; b=PYf9ExjPPmnnblwpi+TbEf7g96zKvxZrt/viY4V/GY42T6ZTUUV8KG2qj77Zp4+tqN mVu57Ggi+bJVYF2oMN7pwPIN5yZDXKQFFeRE4jpM/gwapGvy8P6j0VXJaZQY+fNcfNiL 3SmCplyLjbHMWi/yL2n+fNoOEPPYt3I6f1zKHZA94ssg1M8FjRRckfra5LYHusjsYe2I mEY6PCEXsi2KubM8yvbxjL4Tih82O8zrZS0ffWZFWtVbELtnV9aXukZOG2iwdHYI+wBb jbUWa2kHZejRReUa42F91xh0oVDygGy7KSNdukvZmUXxCP2jv+HZjO4Qw6UtvUAsOgIA xeTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719998824; x=1720603624; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OsuQYk5m0MOTAPrQBff7IOXkshXIl7xWoFSYntSPAWs=; b=Xb4YRr7jA8D2OliYBrm43iUm0hYFK32u7qsOgVKJUIQ9U6AYmdI2YxilcUiIzO6fYI mxsT5IHzHo0a7mBirgTEW8UCzuHJp5f1bxbmZutfLoq+KnhzQOK/kOYpTY42wHFujtWH w6AUdKRecDMTmOPcKIoNPmSsKRdlE1wBf9TQeTiGbjhVhCzjl9Q4O7YC8kkGOOshL+yr 4xCUMtB/ZBbI/IA2gyELK8mdaEG36A02SSLJIAgMOyKrkEsgS1qiHysmz7Bkjh4ygIFH lyIH/zKl4/4NVc/Yjx8lTbO26E+3/VTpuTIED0H5OUUxiSBpVd14fOpHp4jrNR2orkDu LHEA== X-Gm-Message-State: AOJu0YxCo4PKKxTFAhOrDmiWp8PCa3SoHR9HCPZtYb8QHGkO1sjAGzIG RmbeewxsIc6YABw3z4DANQpZ6owj4E+AMYqaQSfTWpxrBvAgCMYB X-Google-Smtp-Source: AGHT+IHEhujCvqYwKiBGYbuIBwm5jlbAF+35YQcJBpnXvGSf7yYRhAQTb8UIL2cgMUVq/59TMUK+xA== X-Received: by 2002:a5d:6307:0:b0:367:8a6a:ec50 with SMTP id ffacd0b85a97d-36794783f87mr886366f8f.6.1719998822870; Wed, 03 Jul 2024 02:27:02 -0700 (PDT) Received: from localhost ([141.226.13.214]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3675a0fc41esm15559451f8f.78.2024.07.03.02.27.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 02:27:02 -0700 (PDT) Date: Wed, 3 Jul 2024 12:27:00 +0300 From: Efraim Flashner To: =?utf-8?B?Tmd1eeG7hW4=?= Gia Phong Subject: Re: [bug#71914] [PATCH 08/10] gnu: Add rust-pyo3-macros-0.21. Message-ID: Mail-Followup-To: Efraim Flashner , =?utf-8?B?Tmd1eeG7hW4=?= Gia Phong , 71914@debbugs.gnu.org References: <8f5311fba8e591543e7d8e544555b2efceb4bc92.1719992277.git.mcsinyx@disroot.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZxzDwTVF2fs12QZz" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 71914 Cc: 71914@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --ZxzDwTVF2fs12QZz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 03, 2024 at 06:12:51PM +0900, Nguy=E1=BB=85n Gia Phong wrote: > On 2024-07-03 at 12:00+03:00, Efraim Flashner wrote: > > On Wed, Jul 03, 2024 at 05:11:43PM +0900, Nguy=E1=BB=85n Gia Phong wrot= e: > > > On 2024-07-03 at 16:57+09:00, Nguy=E1=BB=85n Gia Phong wrote: > > > I just realized that all pyo3-* 0.20 use the same cargo-inputs > > > as 0.21. Should I send v2 for all patches or just 05 to 08? > > > > They use the 0.20 version of the inputs, not the 0.21 version of the > > inputs, so they have different cargo-inputs. >=20 > Sorry, my bad, that only applies for the 3 other pyo3-* > (I removed their arguments and rust-pyo3@0.20 built w/o any error). >=20 > Either way, what's the general etiquette for sending revisions > of a subset of the patch series? I don't think we have a consensus. On one hand re-sending unchanged patches is "wasteful", on the other hand it makes it easier to work on a set of patches (or a revision of patches) in one go. I think I normally end up with a single updated patch if there's a change to only one patch, but otherwise I normally send out a whole new set and then in 0000-v2 I mention what changes there are compared to the previous version. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --ZxzDwTVF2fs12QZz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmaFGWQACgkQQarn3Mo9 g1H4TxAAuYs3QXLI2YVWCwguzsR5F7ddHxqqI6LsYhKWCAaty1+ZJUeJSSqwULtU uAERxl1w0+P+P1MnnK35podF/OceZmvLTHcE1JjFWyFujDWbo+yhNn4F/EaO6367 XJOyYiH3JUSYz2mh+hosu/7dq5UskgpC8hrKvFc5EgIk9l98Udhc/5ycA5qv+pj0 K9ac5cgH8F/VnIlKhM+fNhXJLKxbdRk2CGY2HE+GqhFPcgm9RjoYo+rFmqrOrs1B 0vDLP+CeAE/zb2mXmPb4MaomqN6UMcCCFGSJVayPQy5ZeF4LofG9qj+nzsemS1pj F2hYL8pb42s4gDeTPpYbVYzCBCGlCrqAcPKjoxFnpCma/r32iKCCirbsHsXKyHfw GyQMM46pyrxohgL5+j+ItX+NdcnSjl2eVwIQyEQ8GMQirnGhFss9qoyV0PglXdVT x0cHUvX3pzoKyMZVdoJpT6kXau9/4FKRmdH92qTBE+9kOguBwoRzGFh3I6DLcU9R 6wPnXSXTIQwaMnUXFv2tXvQKSrJDZi4s4/MHhozzqG1iJrjnMXJPGFBlraDyWhPp iZ6HZTg62br2qIiZK9h8go2QMVt0vEmuTU/j3fl0ZPeIOgyY0mD6B+/T5M/CtJYX augcJ/uq4dTjKsNcipDHLx2Nk0FIhvts6e6mlNCKgqcG8Pq+xNQ= =jAjm -----END PGP SIGNATURE----- --ZxzDwTVF2fs12QZz-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 05:44:58 2024 Received: (at 71914) by debbugs.gnu.org; 3 Jul 2024 09:44:58 +0000 Received: from localhost ([127.0.0.1]:38824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOwXq-0000cG-Bm for submit@debbugs.gnu.org; Wed, 03 Jul 2024 05:44:58 -0400 Received: from layka.disroot.org ([178.21.23.139]:55124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOwXn-0000c2-Fa for 71914@debbugs.gnu.org; Wed, 03 Jul 2024 05:44:56 -0400 X-Virus-Scanned: SPAM Filter at disroot.org Content-Type: multipart/signed; boundary=c2bb42a6cd3914ac9bcb7d2c779863ad6b106154ac2cac1dc0cb636e0aaf; micalg=pgp-sha256; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1719999891; bh=OvNGMBcXadmSGnpsyAud0io/A5CHYQB/M5Lj6zkbTkk=; h=Date:To:From:Cc:Subject:References:In-Reply-To; b=izzxbCOR3ZM5jIBHMbwHhYqC1WzB4/XEVpG/TRFfQ/gbX1a1hTQB+mTwXizBte35K NFThKTjQ18RofBtcOW2iyUsF+L6k/HdlnI0/Za9G2jMX+Goomu0V263wSTjEGu4/yR HhDX/lGsdhX4B2K67iw9rxc45pGC1zdN0RSzKDzY+NEEJrsVch2UQSBAvcMA4ZC0AH QX+HgZDkOTkReO4UxlyCXhfbkeLA007UoQS/8JXagCLzrVi5IuRjg42yisPNXfcM1Q YJ0oLwchAHyiqgycHGviKDVlDpglPt6Fh66Qijy8GYrncZk351QrQmW/UwNw8Pzrkf ZBbvZl/FW4TmQ== Date: Wed, 03 Jul 2024 18:44:43 +0900 Message-Id: To: "Efraim Flashner" From: =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong?= Subject: Re: [bug#71914] [PATCH 00/10] gnu: Add python-nh3. References: In-Reply-To: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 71914 Cc: 71914@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) --c2bb42a6cd3914ac9bcb7d2c779863ad6b106154ac2cac1dc0cb636e0aaf Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On 2024-07-03 at 12:24+03:00, Efraim Flashner wrote: > On Wed, Jul 03, 2024 at 06:20:03PM +0900, Nguy=E1=BB=85n Gia Phong wrote: > > On 2024-07-03 at 12:07+03:00, Efraim Flashner wrote: > > > There were a couple of missing bits, which I found > > > while building all the packages affected: > > > rust-pyo3-macros-0.21, rust-pyo3-macros-0.20: > > > Needs python-minimal as a native-input [...] > > > > > > I used the following command to build all the packages: > > > ./pre-inst-env guix build --no-grafts --fallback --max-jobs=3D3 rust-= typed-arena@2 rust-markup5ever@0.12 rust-html5ever@0.27 rust-ammonia@4 rust= -pyo3{,-{build-config,ffi,macros-backend,macros}}@0.{20,21} python-nh3 > >=20 > > So because Rust is statically compiled, > > each package needs to be (built and) tested individually? > > Yeah, its an unfortunate side effect of using the sources of the > packages instead of an output. There has been talk in the upstream > rust community about providing a stable-ish interface > so that we can reuse build artifacts from one build to another. Thank you, that's good to know. On 2024-07-03 at 12:27+03:00, Efraim Flashner wrote: > On Wed, Jul 03, 2024 at 06:12:51PM +0900, Nguy=E1=BB=85n Gia Phong wrote: > > what's the general etiquette for sending revisions > > of a subset of the patch series? > > I don't think we have a consensus. On one hand re-sending unchanged > patches is "wasteful", on the other hand it makes it easier to work > on a set of patches (or a revision of patches) in one go. > > I think I normally end up with a single updated patch if there's > a change to only one patch, but otherwise I normally send out > a whole new set and then in 0000-v2 I mention what changes > there are compared to the previous version. Thanks, guess that'd be best for compatibility with everyone's tooling. --c2bb42a6cd3914ac9bcb7d2c779863ad6b106154ac2cac1dc0cb636e0aaf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHIBAABCAAyFiEE6Q4RuASTNDthMuOUJxSLLAaiIksFAmaFHZAUHG1jc2lueXhA ZGlzcm9vdC5vcmcACgkQJxSLLAaiIkvW7AwAudnXKWg+q0MFre3Q9NyPjh5C1/2C BSRoefaKa5rIrRXSLxD7l7stGxM/gaOvl7yCyZi2Pomd6rP4Et7Vvrkv5FefptRO 6K4lIOm1ACeN7XeanPbeuemkHsJXO5hb3puUNPuiI+sVccTFdhq7ktOsjywZ6otJ IG5YONM5i8v5BLi10qVTphqNB1WZ72A4DNx32v9iTXbasTtSQXeM5Kor7JvbGvKq b49m4v9zOMIQhpKm4D0X6T7CPMbPhXKFQUvvTu6k+Y0mxsQaennlgNkb+PhtxBK0 OCOEotdjRDjyw8gEec/fLTDkj72w6EhZ1sHtbVF3fmmOun12Js89+KWmTr4q3HdZ n5VQ6uPxFd15HekJngegmsdpsvwWgluA4s3TJ6IXY6kj1TGTSgZNZFLeN6cN/h7+ Auk0DikfzpsiqCz5WHLeCdpFCt7x1E3fu9cJAH4fhN11Md2Y4H/276lnT1Xsuzol LfM1I3SztaylnZzXQ3P8GbjD/1WdPbMaEQ2W =cHFx -----END PGP SIGNATURE----- --c2bb42a6cd3914ac9bcb7d2c779863ad6b106154ac2cac1dc0cb636e0aaf-- From unknown Tue Aug 19 03:05:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 31 Jul 2024 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator