* bug#29860: guix package -i jupyter fails
@ 2017-12-26 20:44 Johannes Laute
2018-01-01 17:31 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Laute @ 2017-12-26 20:44 UTC (permalink / raw)
To: 29860
[-- Attachment #1: Type: text/plain, Size: 1691 bytes --]
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@5.0.0
/gnu/store/f0hzkjw58ys9qm2hf209vfdnbmm24zan-python-jupyter-console-5.0.0
guix package: error: ... propagated from jupyter@1.0.0
guix package: error: second entry: python-jupyter-console@5.0.0
/gnu/store/315alfzrhisyrkh6mhz4a1y8gj1ljxlr-python-jupyter-console-5.0.0
guix package: error: ... propagated from python-ipython@5.3.0
guix package: error: ... propagated from python-notebook@4.2.3
guix package: error: ... propagated from jupyter@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
[-- Attachment #2: Type: text/html, Size: 2066 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#29860: guix package -i jupyter fails
2017-12-26 20:44 bug#29860: guix package -i jupyter fails Johannes Laute
@ 2018-01-01 17:31 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-01-01 17:31 UTC (permalink / raw)
To: Johannes Laute; +Cc: 29860-done
Hi Johannes,
Johannes Laute <j.laute3@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@5.0.0
> /gnu/store/f0hzkjw58ys9qm2hf209vfdnbmm24zan-python-jupyter-console-5.0.0
> guix package: error: ... propagated from jupyter@1.0.0
> guix package: error: second entry: python-jupyter-console@5.0.0
> /gnu/store/315alfzrhisyrkh6mhz4a1y8gj1ljxlr-python-jupyter-console-5.0.0
> guix package: error: ... propagated from python-ipython@5.3.0
> guix package: error: ... propagated from python-notebook@4.2.3
> guix package: error: ... propagated from jupyter@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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-01 17:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-26 20:44 bug#29860: guix package -i jupyter fails Johannes Laute
2018-01-01 17:31 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).