From d7890af335ed046ba245137fb13031be964d03f5 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 15 Dec 2024 13:30:59 +0100 Subject: [PATCH] import: pypi: Add python-wheel to native inputs if setuptools is used. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * guix/import/pypi.scm (compute-inputs): Add missing python-wheel if necessary. Change-Id: Iedad213a6684856e48349289c4d9beba953f396b Reviewed-by: Ludovic Courtès Signed-off-by: Sharlatan Hellseher --- guix/import/pypi.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 1fd3481a09..1a0bd76ba4 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -470,12 +470,18 @@ the corresponding list of records." (type type)))) (sort deps string-ci. (let ((dependencies (guess-requirements source-url wheel-url archive))) (match dependencies ((propagated native) (append (requirements->upstream-inputs propagated 'propagated) - (requirements->upstream-inputs native 'native)))))) + (requirements->upstream-inputs (add-missing-native-inputs native) 'native)))))) (define* (pypi-package-inputs pypi-package #:optional version) "Return the list of for PYPI-PACKAGE. This procedure