From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g16Wk-0004fV-A0 for guix-patches@gnu.org; Sat, 15 Sep 2018 05:06:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g16Wg-0004xm-8j for guix-patches@gnu.org; Sat, 15 Sep 2018 05:06:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36840) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g16Wg-0004xT-3s for guix-patches@gnu.org; Sat, 15 Sep 2018 05:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g16Wf-00009p-Ug for guix-patches@gnu.org; Sat, 15 Sep 2018 05:06:01 -0400 Subject: [bug#32739] Fix python-pyudev and solaar. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g16WK-0004dI-NC for guix-patches@gnu.org; Sat, 15 Sep 2018 05:05:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g16WG-0004Tj-Lj for guix-patches@gnu.org; Sat, 15 Sep 2018 05:05:40 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g16WD-0004SL-Ka for guix-patches@gnu.org; Sat, 15 Sep 2018 05:05:35 -0400 Received: from ip112-245-209-87.adsl2.static.versatel.nl ([87.209.245.112]:55640 helo=yellowstone) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g16WD-00065X-Bu for guix-patches@gnu.org; Sat, 15 Sep 2018 05:05:33 -0400 From: Roel Janssen Date: Sat, 15 Sep 2018 11:05:25 +0200 Message-ID: <87va77ceqy.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32739@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear Guix, When installing solaar: $ guix package -i solaar And then running it, I get: $ solaar missing required package 'python-pyudev' Now, 'python-pyudev' is already a dependency of that package, but when loading pyudev in python, we get: $ python3 Python 3.6.5 (default, Jan 1 1970, 00:00:01)=20 [GCC 5.5.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyudev ... ModuleNotFoundError: No module named 'six' Therefore, I think 'python-pyudev' is missing a dependency for 'python-six'. In the following patch I added this dependency to python-pyudev, after which =E2=80=9Cimport pyudev=E2=80=9D works, and solaar starts. Kind regards, Roel Janssen --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-admin-python-pyudev-Add-dependency-on-python-six.patch >From c14651e0b4aa1dc922fbbc79df15f2e527f8710d Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Sat, 15 Sep 2018 11:03:31 +0200 Subject: [PATCH] admin: python-pyudev: Add dependency on python-six. * gnu/packages/admin.scm (python-pyudev): Add dependency on python-six. --- gnu/packages/admin.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index c6e1044b2..6949f6019 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2779,6 +2779,8 @@ support forum. It runs with the @code{/exec} command in most IRC clients.") #t)))))) (inputs `(("eudev" ,eudev))) + (propagated-inputs + `(("python-six" ,python-six))) (native-inputs `(("python-docutils" ,python-docutils) ("python-hypothesis" ,python-hypothesis) -- 2.18.0 --=-=-=--