GNU bug report logs -
#71914
[PATCH 00/10] gnu: Add python-nh3.
Previous Next
Reported by: Nguyễn Gia Phong <mcsinyx <at> disroot.org>
Date: Wed, 3 Jul 2024 07:56:02 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#71914: [PATCH 00/10] gnu: Add python-nh3.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 71914 <at> debbugs.gnu.org.
--
71914: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71914
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
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.
>
> 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
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=3 rust-typed-arena <at> 2 rust-markup5ever <at> 0.12 rust-html5ever <at> 0.27 rust-ammonia <at> 4 rust-pyo3{,-{build-config,ffi,macros-backend,macros}}@0.{20,21} python-nh3
--
Efraim Flashner <efraim <at> flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
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
This bug report was last modified 1 year and 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.