From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WGKtOH8VhWZuogAAqHPOHw:P1 (envelope-from ) for ; Wed, 03 Jul 2024 09:10:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WGKtOH8VhWZuogAAqHPOHw (envelope-from ) for ; Wed, 03 Jul 2024 11:10:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mbJLLVxu; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719997823; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=xlQjfpZe7YLvqIpC4fb1kxuB5l66KCqieCnVodezM7o=; b=EGmed5Tb+BAXQ3W0n1OxBRy/M8ycwDpiOXq+AlqZe1QC+ob+lcPNBOA1LUO9Cp6LduBTpk LGHgB9k+q0a/BPNAVYrOmB18cQ8o16vl170/0ar8QJVc455vKshTfN0B2mpL7DTY87YWYF BoYJF/0/GETEXN0dxLGEfKI3vtuf2gos7DwZ9if4aG8OkuiFJYPdV/bMtKyADlCXfAo6+L t+poQQ3R4nRJPaAm/9LV+uh9E24OWlij3XMW8yaWo+GymwWW0/UClEG6eJLCvw8tGY8bte E7CtUG8565qnTXd4rluDTo9BSaZrODmMI/ydDFuNBSmqUvJlQSE1qNcIA4/TDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mbJLLVxu; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719997823; a=rsa-sha256; cv=none; b=gplLlCwmuNyQBeZs6F5ModbrhG212kShGpfOmtC5hOSiTe+MbMKxRdEhwMPxOS1LnZ1eoF bBUM1kxRgjedJPTHifViPZTSgXyFik+3LyW5Xd/IZIcWlDDr72+Xt6LQC8OjwqitBaaCzL fD6X2XtNa9FD5nvBqcIO0jT4VXJzl85bQ28vvrBSNwnKX+1sj5Ltl6wUYqG5m0RVyqpdlu vN2Wy8rJLScF5C+QYa36vEZjK50j8lUxaX+XzWdFQIbYmlrs9g1tKNsjmVzM5Y7TpxUl5I oSgJyZ/jFObcLbit5T3P28y8mnIh+8oQilTDJUW/xMyZjJ7I5ruYUjxEOZlEPg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3E8929A18 for ; Wed, 3 Jul 2024 11:10:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOw08-0000SN-5q; Wed, 03 Jul 2024 05:10:09 -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 1sOw02-0000P6-UB for guix-patches@gnu.org; Wed, 03 Jul 2024 05:10:03 -0400 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 1sOw01-0007Gp-Ee for guix-patches@gnu.org; Wed, 03 Jul 2024 05:10:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOw02-0007kh-D5 for guix-patches@gnu.org; Wed, 03 Jul 2024 05:10:02 -0400 Subject: bug#71914: [PATCH 00/10] gnu: Add python-nh3. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 03 Jul 2024 09:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71914 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong Cc: Sharlatan Hellseher , Munyoki Kilyungi , Lars-Dominik Braun , 71914-done@debbugs.gnu.org, jgart , Marius Bakke , Tanguy Le Carrour Received: via spool by 71914-done@debbugs.gnu.org id=D71914.171999774829720 (code D ref 71914); Wed, 03 Jul 2024 09:10:02 +0000 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 Message-ID: Mail-Followup-To: Efraim Flashner , =?UTF-8?Q?Nguy=E1=BB=85n?= 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-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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -2.48 X-Migadu-Queue-Id: 3E8929A18 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.48 X-TUID: 7/kge42n4YCA --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--