GNU bug report logs - #32739
Fix python-pyudev and solaar.

Previous Next

Package: guix-patches;

Reported by: Roel Janssen <roel <at> gnu.org>

Date: Sat, 15 Sep 2018 09:06:01 UTC

Severity: normal

Done: Roel Janssen <roel <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Roel Janssen <roel <at> gnu.org>
Subject: bug#32739: closed (Re: [bug#32739] Fix python-pyudev and solaar.)
Date: Sat, 15 Sep 2018 19:29:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#32739: Fix python-pyudev and solaar.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 32739 <at> debbugs.gnu.org.

-- 
32739: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32739
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Roel Janssen <roel <at> gnu.org>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 32739-done <at> debbugs.gnu.org
Subject: Re: [bug#32739] Fix python-pyudev and solaar.
Date: Sat, 15 Sep 2018 21:27:45 +0200
Danny Milosavljevic <dannym <at> scratchpost.org> writes:

> LGTM!

Thanks for the quick review.
I've pushed the patch in cbb1b1686.

Kind regards,
Roel Janssen

[Message part 3 (message/rfc822, inline)]
From: Roel Janssen <roel <at> gnu.org>
To: guix-patches <at> gnu.org
Subject: Fix python-pyudev and solaar.
Date: Sat, 15 Sep 2018 11:05:25 +0200
[Message part 4 (text/plain, inline)]
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

[0001-admin-python-pyudev-Add-dependency-on-python-six.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 251 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.