[PATCH] gnu: python-idna: Update to 3.4.

  • Open
  • quality assurance status badge
Details
2 participants
  • Andrew Wong
  • Michael Ford
Owner
unassigned
Submitted by
Michael Ford
Severity
normal
M
M
Michael Ford wrote on 14 Jul 2023 18:21
(address . guix-patches@gnu.org)
CAFyhPjUf6Q-CdgOepXdBj7m5b3qJ_eMp_Wes==0VY6=Q8rNMsw@mail.gmail.com
From 3d822ea327070dfeb2237e77849bcb670ea59083 Mon Sep 17 00:00:00 2001
From: fanquake <fanquake@gmail.com>
Date: Fri, 14 Jul 2023 17:15:54 +0100
Subject: [PATCH] gnu: python-idna: Update to 3.4.

* gnu/packages/python-xyz.scm (python-idna): Update to 3.4.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-flit-core.
---
gnu/packages/python-xyz.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Toggle diff (26 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 069d60fdda..259458b45d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14156,15 +14156,16 @@ (define-public python-asn1tools
(define-public python-idna
(package
(name "python-idna")
- (version "3.3")
+ (version "3.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "idna" version))
(sha256
(base32
- "0v8f6qjfi5i7qc5icsbv2pi24qy6k6m8wjqjvdf2sxjvlpq3yr4x"))))
- (build-system python-build-system)
+ "1d1cs1in0lmm61sjmlach9qvyq3xm3xcb49vhclx7mzain754kw1"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-flit-core))
(home-page "https://github.com/kjd/idna")
(synopsis "Internationalized domain names in applications")
(description
--
2.41.0
A
A
Andrew Wong wrote 14 hours ago
(address . 64623@debbugs.gnu.org)
1fccde47-b2f4-48f9-b8b9-d590db6301d2@gmail.com
This patch does not build for me, failing in phase 'check':

---8<---8<---

Listing
'/gnu/store/7q66g80qc42bidzca61y11b2g4r4v820-python-idna-3.4/lib/python3.10/site-packages/idna-3.4.dist-info'...
phase `compile-bytecode' succeeded after 0.1 seconds
starting phase `check'
Using setup.py
Traceback (most recent call last):
  File "/tmp/guix-build-python-idna-3.4.drv-0/idna-3.4/setup.py", line
1, in <module>
    from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("setup.py"
"test" "-v") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 0.0 seconds
command "python" "setup.py" "test" "-v" failed with status 1
build process 18 exited with status 256
builder for
`/gnu/store/n87v2rf9y4m35b36fafkiip2nfrffkwd-python-idna-3.4.drv' failed
with exit code 1
build of /gnu/store/n87v2rf9y4m35b36fafkiip2nfrffkwd-python-idna-3.4.drv
failed
View build log at
'/var/log/guix/drvs/n8/7v2rf9y4m35b36fafkiip2nfrffkwd-python-idna-3.4.drv.gz'.
guix build: error: build of
`/gnu/store/n87v2rf9y4m35b36fafkiip2nfrffkwd-python-idna-3.4.drv' failed

---8<---8<---

Also, I suspect the patch is malformed, as 'mumi am' does not detect a
patch and there is no QA page.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 64623@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 64623
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch