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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41738 in the body.
You can then email your comments to 41738 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#41738; Package guix. (Sat, 06 Jun 2020 15:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to paul <goodoldpaul <at> autistici.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 06 Jun 2020 15:53:02 GMT) Full text and rfc822 format available.

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

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 1 (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 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41738; Package guix. (Sat, 06 Jun 2020 18:45:02 GMT) Full text and rfc822 format available.

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

From: david larsson <david.larsson <at> selfhosted.xyz>
To: paul <goodoldpaul <at> autistici.org>
Cc: bug-Guix <bug-guix-bounces+someone=selfhosted.xyz <at> gnu.org>,
 41738 <at> debbugs.gnu.org
Subject: Re: bug#41738: Jupyter propagates two different versions of ipython
Date: Sat, 06 Jun 2020 20:44:10 +0200
On 2020-06-06 17:52, paul wrote:
> 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.0
> depends on python-prompt-toolkit <at> 3.0.5
> 
> - /gnu/store/z0yarar134q6sziqncjdlfg2h2w5b2yh-python-ipython-7.9.0
> depends 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

Hi,
I can confirm this, been having the same issue. I worked around it 
temporarily by changing some python-packages and adding some to a 
temporary channel and guix pulling to the commit just prior to the 
32ba87c14 that you mention. In case anyone is helped by it; the channel 
is here: https://github.com/methuselah-0/my-guix-packages

Best regards,
David




Information forwarded to bug-guix <at> gnu.org:
bug#41738; Package guix. (Sat, 06 Jun 2020 18:47:01 GMT) Full text and rfc822 format available.

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

From: david larsson <david.larsson <at> selfhosted.xyz>
To: paul <goodoldpaul <at> autistici.org>
Cc: bug-Guix <bug-guix-bounces+someone=selfhosted.xyz <at> gnu.org>,
 41738 <at> debbugs.gnu.org
Subject: Re: bug#41738: Jupyter propagates two different versions of ipython
Date: Sat, 06 Jun 2020 20:46:13 +0200
On 2020-06-06 20:44, david larsson wrote:
> On 2020-06-06 17:52, paul wrote:
>> 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.0
>> depends on python-prompt-toolkit <at> 3.0.5
>> 
>> - /gnu/store/z0yarar134q6sziqncjdlfg2h2w5b2yh-python-ipython-7.9.0
>> depends 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
> 
> Hi,
> I can confirm this, been having the same issue. I worked around it
> temporarily by changing some python-packages and adding some to a
> temporary channel and guix pulling to the commit just prior to the
> 32ba87c14 that you mention. In case anyone is helped by it; the
> channel is here: https://github.com/methuselah-0/my-guix-packages
> 
> Best regards,
> David

And I just noticed, this is basically a duplicate of bug#41729: jupyter 
cannot be installed

Best regards,
David




Merged 41729 41738. Request was from Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de> to control <at> debbugs.gnu.org. (Sat, 06 Jun 2020 22:07:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#41738; Package guix. (Sat, 06 Jun 2020 22:36:01 GMT) Full text and rfc822 format available.

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

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: david larsson <david.larsson <at> selfhosted.xyz>
Cc: bug-Guix <bug-guix-bounces+someone=selfhosted.xyz <at> gnu.org>,
 paul <goodoldpaul <at> autistici.org>, 41738 <at> debbugs.gnu.org
Subject: Re: bug#41738: Jupyter propagates two different versions of ipython
Date: Sun, 7 Jun 2020 00:35:02 +0200
[Message part 1 (text/plain, inline)]
On Sat, 06 Jun 2020 20:46:13 +0200
david larsson <david.larsson <at> selfhosted.xyz> wrote:

> And I just noticed, this is basically a duplicate of bug#41729:
> jupyter cannot be installed

bug#41729: jupyter cannot be installed
bug#41738: Jupyter propagates two different versions of ipython
Merged 41729 41738.

Björn
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41738; Package guix. (Mon, 08 Jun 2020 06:05:02 GMT) Full text and rfc822 format available.

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

From: Edouard Klein <edou <at> rdklein.fr>
To: paul <goodoldpaul <at> autistici.org>
Cc: bug-guix <at> gnu.org, 41738 <at> debbugs.gnu.org
Subject: Re: bug#41738: Jupyter propagates two different versions of ipython
Date: Mon, 08 Jun 2020 08:03:37 +0200
As I said on the other bug, this is my fault, sorry.

I'll try to fix it starting wednesday.

Sorry for the incovenience.


paul writes:

> 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





Information forwarded to bug-guix <at> gnu.org:
bug#41738; Package guix. (Mon, 08 Jun 2020 06:05:02 GMT) Full text and rfc822 format available.

Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Tue, 16 Jun 2020 17:38:02 GMT) Full text and rfc822 format available.

Notification sent to paul <goodoldpaul <at> autistici.org>:
bug acknowledged by developer. (Tue, 16 Jun 2020 17:38:02 GMT) Full text and rfc822 format available.

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

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




Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Tue, 16 Jun 2020 17:38:02 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Tue, 16 Jun 2020 17:38:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 15 Jul 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 256 days ago.

Previous Next


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