all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roel Janssen <roel@gnu.org>
To: 32739@debbugs.gnu.org
Subject: [bug#32739] Fix python-pyudev and solaar.
Date: Sat, 15 Sep 2018 11:05:25 +0200	[thread overview]
Message-ID: <87va77ceqy.fsf@gnu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

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) 
[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 “import pyudev” works, and solaar starts.

Kind regards,
Roel Janssen


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-admin-python-pyudev-Add-dependency-on-python-six.patch --]
[-- Type: text/x-patch, Size: 858 bytes --]

From c14651e0b4aa1dc922fbbc79df15f2e527f8710d Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
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


             reply	other threads:[~2018-09-15  9:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-15  9:05 Roel Janssen [this message]
2018-09-15 11:25 ` [bug#32739] Fix python-pyudev and solaar Danny Milosavljevic
2018-09-15 19:27   ` bug#32739: " Roel Janssen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87va77ceqy.fsf@gnu.org \
    --to=roel@gnu.org \
    --cc=32739@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.