From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GE14CC1RPmSWGQEASxT56A (envelope-from ) for ; Tue, 18 Apr 2023 10:13:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6OSeBy1RPmQILAAA9RJhRA (envelope-from ) for ; Tue, 18 Apr 2023 10:13:33 +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 9FF102997B for ; Tue, 18 Apr 2023 10:13:32 +0200 (CEST) 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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=alwaysdata.net header.s=default header.b=ocSiszMw; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=ryuslash.org (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681805613; a=rsa-sha256; cv=none; b=gNtGPNdD9cNENay0BQDMlJVTCrIsgEUZj0lK0xgGxAZYrj2hhBpHV+f8qWF0f3XnC+Hp9H 2YuxffIHl0f1SYM8YssZcbE0bOZim4EO1FuoxI0meyFqBlv1RP/mrrUfC5OXty3h9N2RRu t1Jg1TIcTFoA2dxbYs2KZGlR6oj5zPhmhSvnzg7HPjginpOy+PfhxiXl3F6ujCJDwyqLg3 pK5B9eb+FC3KXRVXmcBPBKCZbSQr/ViVN++aob47Ee1txPSe5BW+qivxM7UsK6K4RzQf1m owaOiaIlVWuDpfwKH2I9vOnYR85yEL1pAXNvz/2DxvLPftBqFFHhMSrMYk4Pqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681805613; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=y1Jc35+PGqeItKh10VxQxAGUpr95JMu47x73tf/9Yt0=; b=S8qvkDHCsyhyUvgZ8IAAkZLLzMl480A/Z8J+LUSrsN+gxobmjD0DSd6VbcV/WkMmawjuPY dC5Y9IDKv+qo/hDU/xUHCJZGNTVtQhnzzXIsHVX2d6KDIC7DbqiLk7UHOo5pi1ol4DA7HI MCZGWzieKL/aQpjbBzQFKwJexui8IxMg7B+KzWLDwDCyxIhIvJZagPJWfp+GEdyNnQQP94 ZE9n95QoNe+/qIhXcubCuYpRVtCDgJ5kaGPjcEdBmN53MmURBkyCqAqyrMneP85VI/ljll +M/4juZmEmSg+d82whBJVMV82FAqiTX5uLkke5S1Grjy9yBwabIrIOg7BeFb5g== X-Migadu-Spam-Score: 7.79 X-Spam-Score: 7.79 X-Migadu-Queue-Id: 9FF102997B 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=ocSiszMw; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=ryuslash.org (policy=none) X-TUID: 1qt6QNFgSyTE * 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