GNU bug report logs - #29860
guix package -i jupyter fails

Previous Next

Package: guix;

Reported by: Johannes Laute <j.laute3 <at> googlemail.com>

Date: Tue, 26 Dec 2017 22:57:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29860 in the body.
You can then email your comments to 29860 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#29860; Package guix. (Tue, 26 Dec 2017 22:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Johannes Laute <j.laute3 <at> googlemail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 26 Dec 2017 22:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Johannes Laute <j.laute3 <at> googlemail.com>
To: bug-guix <at> gnu.org
Subject: guix package -i jupyter fails
Date: Tue, 26 Dec 2017 20:44:18 +0000
[Message part 1 (text/plain, inline)]
Hi,

"guix package -i jupyter" fails with the following error:

guix package: error: profile contains conflicting entries for
python-jupyter-console
package: error:   first entry: python-jupyter-console <at> 5.0.0
/gnu/store/f0hzkjw58ys9qm2hf209vfdnbmm24zan-python-jupyter-console-5.0.0
guix package: error:    ... propagated from jupyter <at> 1.0.0
guix package: error:   second entry: python-jupyter-console <at> 5.0.0
/gnu/store/315alfzrhisyrkh6mhz4a1y8gj1ljxlr-python-jupyter-console-5.0.0
guix package: error:    ... propagated from python-ipython <at> 5.3.0
guix package: error:    ... propagated from python-notebook <at> 4.2.3
guix package: error:    ... propagated from jupyter <at> 1.0.0
hint: You cannot have two different versions or variants of `jupyter' in
the same profile.

As I dont have two different versions of jupyter I think it is due to the
fact that two different "python-jupyter-console" packages exist in
/gnu/packages/python.scm.

In the source code it states, because of a cyclic dependencies
"python-jupyter-console" they strip it into a "minimal" version and use that
("python-jupyter-console"
  ;; The python-ipython and python-jupyter-console require each
  ;; other. To get the functionality in both packages working, strip
  ;; down the python-jupyter-console package when using it as an input
  ;; to python-ipython.
,python-jupyter-console-minimal)

in line 4409 of /gnu/packages/python.scm

So there indeed are two "python-jupyter-console" packages that collide.

If I run "guix environment --ad-hoc jupyter" the command succeeds, and
jupyter works.

On the IRC lfam said that this was because these collisions were explicitly
allowed in "guix environment"

Merry Christmas,
johannes
[Message part 2 (text/html, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 01 Jan 2018 17:32:02 GMT) Full text and rfc822 format available.

Notification sent to Johannes Laute <j.laute3 <at> googlemail.com>:
bug acknowledged by developer. (Mon, 01 Jan 2018 17:32:02 GMT) Full text and rfc822 format available.

Message #10 received at 29860-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Johannes Laute <j.laute3 <at> googlemail.com>
Cc: 29860-done <at> debbugs.gnu.org
Subject: Re: bug#29860: guix package -i jupyter fails
Date: Mon, 01 Jan 2018 18:31:16 +0100
Hi Johannes,

Johannes Laute <j.laute3 <at> googlemail.com> skribis:

> "guix package -i jupyter" fails with the following error:
>
> guix package: error: profile contains conflicting entries for
> python-jupyter-console
> package: error:   first entry: python-jupyter-console <at> 5.0.0
> /gnu/store/f0hzkjw58ys9qm2hf209vfdnbmm24zan-python-jupyter-console-5.0.0
> guix package: error:    ... propagated from jupyter <at> 1.0.0
> guix package: error:   second entry: python-jupyter-console <at> 5.0.0
> /gnu/store/315alfzrhisyrkh6mhz4a1y8gj1ljxlr-python-jupyter-console-5.0.0
> guix package: error:    ... propagated from python-ipython <at> 5.3.0
> guix package: error:    ... propagated from python-notebook <at> 4.2.3
> guix package: error:    ... propagated from jupyter <at> 1.0.0
> hint: You cannot have two different versions or variants of `jupyter' in
> the same profile.
>
> As I dont have two different versions of jupyter I think it is due to the
> fact that two different "python-jupyter-console" packages exist in
> /gnu/packages/python.scm.

Indeed.  Fixed:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=a5e3d59bb3281fffd26dfd4bd8a23567e5940e80

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Jan 2018 12:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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