From patchwork Tue Apr 18 08:12:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Willemse X-Patchwork-Id: 49282 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8989A17994; Tue, 18 Apr 2023 09:13:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0807C17975 for ; Tue, 18 Apr 2023 09:13:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pogSZ-0005Ex-MK; Tue, 18 Apr 2023 04:13:07 -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 1pogSW-0005Ek-1q for guix-patches@gnu.org; Tue, 18 Apr 2023 04:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pogSV-0004OB-8e for guix-patches@gnu.org; Tue, 18 Apr 2023 04:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pogSU-0001Uu-Ka for guix-patches@gnu.org; Tue, 18 Apr 2023 04:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62922] [PATCH] gnu: python-lazr-restfulclient: Add missing dependency Resent-From: Tom Willemse Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2023 08:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62922 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62922@debbugs.gnu.org Cc: Tom Willemse X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16818055705727 (code B ref -1); Tue, 18 Apr 2023 08:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Apr 2023 08:12:49 +0000 Received: from localhost ([127.0.0.1]:57741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pogSH-0001UI-Gg for submit@debbugs.gnu.org; Tue, 18 Apr 2023 04:12:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:60274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pogSF-0001UA-5N for submit@debbugs.gnu.org; Tue, 18 Apr 2023 04:12:47 -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 1pogSE-0005E7-F0 for guix-patches@gnu.org; Tue, 18 Apr 2023 04:12:46 -0400 Received: from r0-2.smtpout1.paris1.alwaysdata.com ([2a00:b6e0:1:40:1:0:10:6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pogSB-0004L0-0a for guix-patches@gnu.org; Tue, 18 Apr 2023 04:12:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alwaysdata.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=y1Jc35+PGqeItKh10VxQxAGUpr95JMu47x73tf/9Yt0=; b=ocSiszMwzcyS7CrG9NFyt+oXlG pknBpeQFol8RBHoTRW8OMyFRMwHq0Vj8Q3zM/TFklw2IJlN/1W2twrVg7SFO2YX2BXGo6LQ4p0L2m 8zLyQfuUBB1iyXmdzlGp2j+xrtMSQDtDJy20h4oiovwA3oTh9OsICDw92a74v8H5T9kI=; Received: from [2001:569:5856:9800:9b7b:9a49:2ca1:e8e7] (helo=localhost) by smtpout1.paris1.alwaysdata.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pogS1-0003q8-Vp; Tue, 18 Apr 2023 10:12:34 +0200 From: Tom Willemse Date: Tue, 18 Apr 2023 01:12:23 -0700 Message-Id: <20230418081223.351951-1-tom@ryuslash.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-alwaysdata-ID: 198619925 Received-SPF: pass client-ip=2a00:b6e0:1:40:1:0:10:6; envelope-from=tom@ryuslash.org; helo=r0-2.smtpout1.paris1.alwaysdata.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-lazr-restfulclient): Add missing dependency: python-six --- Trying to rebuild my guix home config I ran into the following error: starting phase `sanity-check' validating 'lazr.restfulclient' /gnu/store/llar0l72885zagk7km0hvjlq4hb3g2sx-python-lazr-restfulclient-0.14.4/lib/python3.9/site-packages ...checking requirements: ERROR: lazr.restfulclient==0.14.4 DistributionNotFound(Requirement.parse('six'), {'lazr.restfulclient'}) error: in phase 'sanity-check': uncaught exception: %exception #<&invoke-error program: "python" arguments: ("/gnu/store/35ix1m6m8a5s21j02ajhdyqxb2xkshfb-sanity-check.py" "/gnu/store/llar0l72885zagk7km0hvjlq4hb3g2sx-python-lazr-restfulclient-0.14.4/lib/python3.9/site-packages") exit-status: 1 term-signal: #f stop-signal: #f> phase `sanity-check' failed after 0.2 seconds command "python" "/gnu/store/35ix1m6m8a5s21j02ajhdyqxb2xkshfb-sanity-check.py" "/gnu/store/llar0l72885zagk7km0hvjlq4hb3g2sx-python-lazr-restfulclient-0.14.4/lib/python3.9/site-packages" failed with status 1 From what I understand from the text it indicates that the requirements.txt of the lazr restfulclient project specifies a dependency on six, but that package hasn't been installed in the environment. Adding this dependency fixes the issue for me. gnu/packages/python-web.scm | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) base-commit: 79b2221ce43b8026eae6461a9269466cae946cac diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d84b5efdf9..051346c66a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -127,21 +127,19 @@ (define-public python-lazr-restfulclient (package (name "python-lazr-restfulclient") (version "0.14.4") - (source - (origin - (method url-fetch) - (uri (pypi-uri "lazr.restfulclient" version)) - (sha256 - (base32 "11yhlqmdf2cqbdfzn8gdmzvmcivh4fflr18zf412sflvfjrdc3xz")))) + (source (origin + (method url-fetch) + (uri (pypi-uri "lazr.restfulclient" version)) + (sha256 + (base32 + "11yhlqmdf2cqbdfzn8gdmzvmcivh4fflr18zf412sflvfjrdc3xz")))) (build-system python-build-system) ;; Disable the test suite to avoid the lazr.authentication requirement, ;; which requires the ancient 'oauth', a Python 2 only library. - (arguments (list #:tests? #f)) - (propagated-inputs - (list python-distro - python-httplib2 - python-oauthlib - python-wadllib)) + (arguments + (list #:tests? #f)) + (propagated-inputs (list python-distro python-httplib2 python-oauthlib + python-wadllib python-six)) (home-page "https://launchpad.net/lazr.restfulclient") (synopsis "Web client Python library extending wadlib") (description "This package provides a programmable client library that