GNU bug report logs - #41738
Jupyter propagates two different versions of ipython

Previous Next

Package: guix;

Reported by: paul <goodoldpaul <at> autistici.org>

Date: Sat, 6 Jun 2020 15:53:02 UTC

Severity: normal

Merged with 41729

Done: Ricardo Wurmus <rekado <at> elephly.net>

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: Ricardo Wurmus <rekado <at> elephly.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#41738: closed (Jupyter propagates two different versions of
 ipython)
Date: Tue, 16 Jun 2020 17:38:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 16 Jun 2020 19:37:04 +0200
with message-id <874kravrnj.fsf <at> elephly.net>
and subject line Re: [bug#41889] [PATCH] gnu: jupyter: Fix python-ipython conflict that prevented installation
has caused the debbugs.gnu.org bug report #41738,
regarding Jupyter propagates two different versions of ipython
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
41738: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41738
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: paul <goodoldpaul <at> autistici.org>
To: bug-guix <at> gnu.org
Subject: Jupyter propagates two different versions of ipython
Date: Sat, 6 Jun 2020 17:52:35 +0200
[Message part 3 (text/plain, inline)]
Hi Guix,

On Guix System

  guix ecab53c
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ecab53c320b1584a08f811b17a92bd9a50a50ff3

it's impossible to install jupyter in a new profile because it tries to 
propagate two different versions of python-ipython, you should be able 
to reproduce with:

$ guix package -p /tmp/tmp-profile -i jupyter
The following package will be installed:
   jupyter 1.0.0

guix package: error: profile contains conflicting entries for python-ipython
guix package: error:   first entry: python-ipython <at> 7.9.0 
/gnu/store/z0yarar134q6sziqncjdlfg2h2w5b2yh-python-ipython-7.9.0
guix package: error:    ... propagated from python-ipywidgets <at> 7.5.1
guix package: error:    ... propagated from jupyter <at> 1.0.0
guix package: error:   second entry: python-ipython <at> 7.9.0 
/gnu/store/avmg5jd7kccchxadsd9c7zq0p3shlk3w-python-ipython-7.9.0
guix package: error:    ... propagated from python-qtconsole <at> 4.4.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.


The conflict seems to be caused because:

- 
/gnu/store/avmg5jd7kccchxadsd9c7zq0p3shlk3w-python-ipython-7.9.0depends 
on python-prompt-toolkit <at> 3.0.5

- 
/gnu/store/z0yarar134q6sziqncjdlfg2h2w5b2yh-python-ipython-7.9.0depends 
on python-prompt-toolkit <at> 2.0.7


This change seems to be introduced with 
32ba87c14fd5e5b54d95211cd9a159d568ce7c67 , which updates 
python-prompt-toolkit to 3.0.5 and to prevent python-ipywidgets, 
python-jupyter-console and python-widgetsnbextension tests from crashing 
builds them with python-prompt-toolkit <at> 2.0.7.


Giacomo

[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ricardo Wurmus <rekado <at> elephly.net>
To: Edouard Klein <edk <at> beaver-labs.com>
Cc: 41889-done <at> debbugs.gnu.org, 41730-done <at> debbugs.gnu.org,
 41738-done <at> debbugs.gnu.org
Subject: Re: [bug#41889] [PATCH] gnu: jupyter: Fix python-ipython conflict
 that prevented installation
Date: Tue, 16 Jun 2020 19:37:04 +0200
Hi Edouard,

thank you for providing a fix.  I think it’s too complicated, though.
Using prompt-toolkit-2-instead-of-prompt-toolkit everywhere does not
seem like an elegant solution.

I pushed a different fix with commit 7146c8c75d.

-- 
Ricardo


This bug report was last modified 5 years and 30 days ago.

Previous Next


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