emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#29860: closed (guix package -i jupyter fails)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#29860: closed (guix package -i jupyter fails)
Date: Mon, 01 Jan 2018 17:32:02 +0000

Your message dated Mon, 01 Jan 2018 18:31:16 +0100
with message-id <address@hidden>
and subject line Re: bug#29860: guix package -i jupyter fails
has caused the debbugs.gnu.org bug report #29860,
regarding guix package -i jupyter fails
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
29860: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29860
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: guix package -i jupyter fails Date: Tue, 26 Dec 2017 20:44:18 +0000
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: address@hidden /gnu/store/f0hzkjw58ys9qm2hf209vfdnbmm24zan-python-jupyter-console-5.0.0
guix package: error:    ... propagated from address@hidden
guix package: error:   second entry: address@hidden /gnu/store/315alfzrhisyrkh6mhz4a1y8gj1ljxlr-python-jupyter-console-5.0.0
guix package: error:    ... propagated from address@hidden
guix package: error:    ... propagated from address@hidden
guix package: error:    ... propagated from address@hidden
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


--- End Message ---
--- Begin Message --- Subject: Re: bug#29860: guix package -i jupyter fails Date: Mon, 01 Jan 2018 18:31:16 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Hi Johannes,

Johannes Laute <address@hidden> 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: address@hidden
> /gnu/store/f0hzkjw58ys9qm2hf209vfdnbmm24zan-python-jupyter-console-5.0.0
> guix package: error:    ... propagated from address@hidden
> guix package: error:   second entry: address@hidden
> /gnu/store/315alfzrhisyrkh6mhz4a1y8gj1ljxlr-python-jupyter-console-5.0.0
> guix package: error:    ... propagated from address@hidden
> guix package: error:    ... propagated from address@hidden
> guix package: error:    ... propagated from address@hidden
> 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’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]