GNU bug report logs - #41730
[PATCH] gnu: Fix propagations of python-prompt-toolkit-2.

Previous Next

Package: guix-patches;

Reported by: goodoldpaul <at> autistici.org

Date: Fri, 5 Jun 2020 23:08:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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

From: paul <goodoldpaul <at> autistici.org>
To: 41730 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Fix propagations of python-prompt-toolkit-2.
Date: Sat, 6 Jun 2020 17:39:02 +0200
[Message part 1 (text/plain, inline)]
Hi everybody, a little update about this patch,

I just found out that it doesn't actually fix the problem: the 
requirement for prompt 2 is enforced also at runtime.

The output of guix package _without_ my patch is:


$ 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.


With my patch applied it is possible to install jupyter without 
conflicts but when started it crashes asking for prompt-toolkit at 
version 2. 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

Please ignore the previous patch, I apologize for the noise. I'm opening 
an actual bug report and I'll start working on a fix ASAP.


Giacomo

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

This bug report was last modified 4 years and 340 days ago.

Previous Next


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