From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sK18KlzoY2TvDwAASxT56A (envelope-from ) for ; Tue, 16 May 2023 22:32:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CL1+KlzoY2QCJQEAauVa8A (envelope-from ) for ; Tue, 16 May 2023 22:32:28 +0200 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 398791F768 for ; Tue, 16 May 2023 22:32:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pz1LB-0002Zw-13; Tue, 16 May 2023 16:32:13 -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 1pz1L8-0002Uj-T0 for guix-patches@gnu.org; Tue, 16 May 2023 16:32:11 -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 1pz1L8-0006E0-KE for guix-patches@gnu.org; Tue, 16 May 2023 16:32:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pz1L0-0007es-GF; Tue, 16 May 2023 16:32: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: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 16 May 2023 20:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62922 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62922@debbugs.gnu.org Cc: lars@6xq.net, jgart@dismail.de X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: lars@6xq.net, jgart@dismail.de Received: via spool by submit@debbugs.gnu.org id=B.168426909629405 (code B ref -1); Tue, 16 May 2023 20:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 May 2023 20:31:36 +0000 Received: from localhost ([127.0.0.1]:48167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pz1KZ-0007eC-Vr for submit@debbugs.gnu.org; Tue, 16 May 2023 16:31:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:35446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pz1KW-0007e2-Hx for submit@debbugs.gnu.org; Tue, 16 May 2023 16:31:34 -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 1pz1KU-00022D-2I for guix-patches@gnu.org; Tue, 16 May 2023 16:31:31 -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 1pz1KQ-0005gp-O5 for guix-patches@gnu.org; Tue, 16 May 2023 16:31:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alwaysdata.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Uztx1HHlcUHA6EDBj0IJyoW2SJ6l05RI7kNis2KYwg4=; b=dRlyjHmrT9Zat9BMNrURiwLTE HdEIOkjILlneuPC0GC9MwnoXdhBmIV2nOehXls0UOpme0zgBPTWXbaETMALRS/B2c8Lz4rY9qBAQE VUveZ3Q5B9nfyXwfp2JdjoYyXgvW0R4nHC9wMk3dRXVvedsgaMgFFM7yVY4g187fH4HhY=; Received: from node-1w7jr9pqliri9tslsf7amsrmv.ipv6.telus.net ([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 1pz1KH-0004l1-9e for guix-patches@gnu.org; Tue, 16 May 2023 22:31:17 +0200 From: Tom Willemse In-Reply-To: <20230418081223.351951-1-tom@ryuslash.org> References: <20230418081223.351951-1-tom@ryuslash.org> Date: Tue, 16 May 2023 13:31:14 -0700 Message-ID: <87ilcsf27h.fsf@ryuslash.org> MIME-Version: 1.0 Content-Type: text/plain X-alwaysdata-ID: 206535556 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684269148; a=rsa-sha256; cv=none; b=HcpUQ3MqTBJp9x9y8Nz98ZJJ6Zn/zYfG8W0eJD0mtCk4frUYZhV5hVoaoCG5rWhLsGmz7g RKsgvr8SHp0cIYXqSn6YvKFTyCu35W2gxq0Pl96emyKqP74XbCx5B+1QPVkXOfb58Q3v1A w/OGZ2AkOhjRU8kQRE+vFNBazXWgY8Wh/L4r7hcF5ArVGGFkyyNS1LaB1vdFm9WBpFIrKI 3Sl5MzUd1V2kNzVYjtQS/QZnUXb/60xP7QkpxhdHHK1zdDq03J3gOz6uWOikpedrovYJxh 4veqWH5b5svz1IJh1uPT/EdeXijaoWiBiE2lEdzSbj1XY7Bx1//og0rYk6KX6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=alwaysdata.net header.s=default header.b=dRlyjHmr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=ryuslash.org (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684269148; 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-cc: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=Uztx1HHlcUHA6EDBj0IJyoW2SJ6l05RI7kNis2KYwg4=; b=P+BFfZzE+VYhVtJTqOtyIy0zyaFh+Eju7wdbu7KhfloLe3DQS7Sg5y+oPOeccHGCzNIMEl AtcyznC7EHOAQSmsYMLiJzQrJnl9C5+tvKkLsbIE/ut9XHIzGeBst8deOnQILuYtGm7guL vHicfmXeRTUC6ymJffQxehigQrS+H9hhcpUQf555YmTI+n24rdAUC609cX7cD8GxEfpHJI C1DLdewgB8i0fSUHv/xRzuaGCYcgGfcoit+vbbgAmhJlWqwrzk6udVU5YhTeJdH1tVfgcs iChPy2yKZr3z4hgsO0kNPC+ANH7eDupzqAXdm3GFZCdM3U9150FpTpJ8bgtRmg== X-Migadu-Spam-Score: -0.21 X-Spam-Score: -0.21 X-Migadu-Queue-Id: 398791F768 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=alwaysdata.net header.s=default header.b=dRlyjHmr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=ryuslash.org (policy=none); 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" X-TUID: O32Li3B5SxnZ Hello! Tom Willemse writes: > * 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(-) > > 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 > > base-commit: 79b2221ce43b8026eae6461a9269466cae946cac > -- > 2.40.0 Apologies if this is the wrong way to go about it to add some people to the CC, but it was pointed out to me that I should have included the area owners in the first place. If you would be so kind as to have a look, this issue is preventing me from upgrading my guix installation because one of the packages I install uses Bazaar to get the source, which is actually aliased to Breezy, which requires the package in this patch.