GNU bug report logs - #29244
guix update -u always wants to update: python-wrapper & python-ipython

Previous Next

Package: guix;

Reported by: Benjamin Andresen <benny <at> in-ulm.de>

Date: Fri, 10 Nov 2017 14:00:02 UTC

Severity: normal

Done: zimoun <zimon.toutoune <at> gmail.com>

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 29244 in the body.
You can then email your comments to 29244 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#29244; Package guix. (Fri, 10 Nov 2017 14:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Benjamin Andresen <benny <at> in-ulm.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 10 Nov 2017 14:00:02 GMT) Full text and rfc822 format available.

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

From: Benjamin Andresen <benny <at> in-ulm.de>
To: bug-guix <at> gnu.org
Subject: guix update -u always wants to update: python-wrapper & python-ipython
Date: Fri, 10 Nov 2017 14:58:31 +0100
[Message part 1 (text/plain, inline)]
Hello everyone,

this is with an empty user account that has no packages installed 
before this:
> guixsd% guix package -u
> The following packages will be upgraded:
>    python-wrapper       3.5.3 → 3.5.3 
>    /gnu/store/xnb9bn2vgr3ch8zznsv23w65bb5psshh-python-wrapper-3.5.3
>    python-ipython       5.3.0 → 5.3.0 
>    /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
> 
> nothing to be done

The problem exists with both installed and with them individually.

The full log follows:
> guixsd% guix --version | head -1
> guix (GNU Guix) 011f57695a817f9b13c75e43069e572101a3edf7
> guixsd% guix package -u
> guixsd% guix package -i python-wrapper python-ipython
> The following packages will be installed:
>    python-wrapper       3.5.3 
>    /gnu/store/xnb9bn2vgr3ch8zznsv23w65bb5psshh-python-wrapper-3.5.3
>    python-ipython       5.3.0 
>    /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
> 
> substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivations will be built:
>    /gnu/store/blf8y4d32qdq18pskbb6izhp293b6g7w-profile.drv
>    /gnu/store/zc348d3nn5ib92r1aakkrzmdsw2dkfan-gtk-icon-themes.drv
>    /gnu/store/v9012vmlxji3xl46ffjsmcyc0g8fp4vl-xdg-mime-database.drv
>    /gnu/store/kil8lpbfg486awimiwx2j9cvlpvil4ii-xdg-desktop-database.drv
>    /gnu/store/iai78rn3m2cgqvdd8clw9yj60fvfxqyi-fonts-dir.drv
>    /gnu/store/clsaw0ny0k4wjc2c3fbz6ngmhpi0vlsv-gtk-im-modules.drv
>    /gnu/store/88smx74xhmk8wnr297dvb1p6jzzqq6zh-ca-certificate-bundle.drv
>    /gnu/store/0kcp2mxa01zjmg1s99sw15rbnhb1di3y-info-dir.drv
>    /gnu/store/iwavxfqba2j025j3b7h2g024ap9ckgh9-manual-database.drv
> Creating manual page database for 71 packages... done in 11.566 
> s
> 2 packages in profile
> The following environment variable definitions may be needed:
>    export 
>    PATH="/home/test/.guix-profile/bin:/home/test/.guix-profile/sbin${PATH:+:}$PATH"
>    export 
>    PYTHONPATH="/home/test/.guix-profile/lib/python3.5/site-packages${PYTHONPATH:+:}$PYTHONPATH"
>    export 
>    GUIX_GTK3_PATH="/home/test/.guix-profile/lib/gtk-3.0${GUIX_GTK3_PATH:+:}$GUIX_GTK3_PATH"
>    export 
>    GI_TYPELIB_PATH="/home/test/.guix-profile/lib/girepository-1.0${GI_TYPELIB_PATH:+:}$GI_TYPELIB_PATH"
>    export 
>    GIO_EXTRA_MODULES="/home/test/.guix-profile/lib/gio/modules${GIO_EXTRA_MODULES:+:}$GIO_EXTRA_MODULES"
> guixsd% echo $SHELL
> /gnu/store/4xxrs4ip83c7ji4nh8jclx2j0p1kj6rg-zsh-5.2/bin/zsh
> guixsd% vim .zlogin
> guixsd% guix package -u
> The following packages will be upgraded:
>    python-wrapper       3.5.3 → 3.5.3 
>    /gnu/store/xnb9bn2vgr3ch8zznsv23w65bb5psshh-python-wrapper-3.5.3
>    python-ipython       5.3.0 → 5.3.0 
>    /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
> 
> nothing to be done
> guixsd% guix package -r python-ipython
> The following package will be removed:
>    python-ipython       5.3.0 
>    /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
>                                       
> substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... 100.0%          
> The following derivations will be built:
>    /gnu/store/xh1f3avgvcbp8agzld2vi878mya5m4nd-profile.drv
>    /gnu/store/lkg6zp4qlmnixfzgzb93k0sdspj1n6ma-ca-certificate-bundle.drv
>    /gnu/store/6v3cmccrgm1sq86xqi4si95rpj5hhf7n-info-dir.drv
>    /gnu/store/1532igqvamrbaaw577mns21cgjm7ggah-fonts-dir.drv
>    /gnu/store/hifxa1zb6invg4w1v908ili82dlnys4m-manual-database.drv
> Creating manual page database for 1 packages... done in 0.051 s
> 1 package in profile                        
> 
> guixsd% guix package -u                       
> The following package will be upgraded:
>    python-wrapper       3.5.3 → 3.5.3 
>    /gnu/store/xnb9bn2vgr3ch8zznsv23w65bb5psshh-python-wrapper-3.5.3
>                                            
> substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivations will be built:               
>    /gnu/store/svml5qir06llsv8p88vqn55q51qyfhar-profile.drv
>    /gnu/store/pg0c1z4z31k4qk3cgakm1ax5cm8vs4k8-info-dir.drv
>    /gnu/store/ljiyfird93jprpffk97nhhpx7fx3ckrg-ca-certificate-bundle.drv
>    /gnu/store/ipx6hk4g7nalw7nir5bwnbv25a1i0av3-fonts-dir.drv
>    /gnu/store/08651512643lavv3d45fcsk8kh7x1i0k-manual-database.drv
> Creating manual page database for 1 packages... done in 0.039 s
> 1 package in profile
> guixsd% guix package -r python-wrapper -i python-ipython
> The following package will be removed:
>    python-wrapper       3.5.3 
>    /gnu/store/xnb9bn2vgr3ch8zznsv23w65bb5psshh-python-wrapper-3.5.3
> 
> The following package will be installed:
>    python-ipython       5.3.0 
>    /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
> 
> substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivations will be built:
>    /gnu/store/3nscgarm0m26gyfpaac7pf9vhwjxbylg-profile.drv
>    /gnu/store/rqr8jyiz5nqyzis2zxxiq2vifsmyxp8k-info-dir.drv
>    /gnu/store/nxnw1rbdbgcm9n1r32rjsllz4jsn52dp-fonts-dir.drv
>    /gnu/store/mnah8vfgs2qblnr18zc5jyiyrwcfg506-xdg-desktop-database.drv
>    /gnu/store/j9k8kqhrmbpifp39ak6cchf43svmi8ha-xdg-mime-database.drv
>    /gnu/store/i14dmlap8vfa3jgvxamp25gf6jsxkxi1-ca-certificate-bundle.drv
>    /gnu/store/8h3hr19jclr9c5134k0kjmanw2x3sbsh-gtk-icon-themes.drv
>    /gnu/store/5xys2xj1fvi3k943ia0pdlypg2silrl7-gtk-im-modules.drv
>    /gnu/store/wyzv6lrdxd358q96y5v43hm9q2spw4sl-manual-database.drv
> Creating manual page database for 70 packages... done in 10.911 
> s
> 1 package in profile
> 
> guixsd% guix package -u
> The following package will be upgraded:
>    python-ipython       5.3.0 → 5.3.0 
>    /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
> 
> nothing to be done
> guixsd% guix package -r python-ipython
> The following package will be removed:
>    python-ipython       5.3.0 
>    /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
> 
> The following derivation will be built:
>    /gnu/store/4xla7xlznq21and9z7b7k5ym8v72i51l-profile.drv
> 0 packages in profile


And to show that this is not an issue with other packages:

> guixsd% guix package -i hello
> substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following package will be installed:
>    hello        2.10 
>    /gnu/store/lr8c1yswvrgckkaa6nzdi7q0d618bazs-hello-2.10
> 
> substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivations will be built:
>    /gnu/store/rfpcms1idn9527j44nn2f09gbgk1x8sv-profile.drv
>    /gnu/store/vl8cn02rldz7wa03rcgc7daid3hz1nn0-info-dir.drv
>    /gnu/store/pnaiz7z2156a9yj5hxmmhbkp8mqzc9av-ca-certificate-bundle.drv
>    /gnu/store/1f58a70palfbx2pilzfh3wglif2mv077-fonts-dir.drv
>    /gnu/store/6cjikirka4hxpg19jly6qagjjsrviy7b-hello-2.10.drv
>    /gnu/store/vykvgqizig5yw7rhpmfb9zzm40r8bakk-manual-database.drv
> 0.0 MB will be downloaded:
>    /gnu/store/wf65hjwqwpz4wllasn63zysi5irql2sx-hello-2.10
> Downloading 
> https://mirror.hydra.gnu.org/guix/nar/gzip/wf65hjwqwpz4wllasn63zysi5irql2sx-hello-2.10...
>  hello-2.10  48KiB
> 
> grafting 
> '/gnu/store/wf65hjwqwpz4wllasn63zysi5irql2sx-hello-2.10' -> 
> '/gnu/store/lr8c1yswvrgckkaa6nzdi7q0d618bazs-hello-2.10'...
> Creating manual page database for 1 packages... done in 0.046 s
> 1 package in profile
> guixsd% guix package -u
> guixsd%

Thanks in advance!

-- 
Best regards,
Benny
                               0x9EC76EA52B8F32A1
6315 887D 6E46 6967 7AC0  3E76 9EC7 6EA5 2B8F 32A1
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29244; Package guix. (Mon, 20 Nov 2017 21:51:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Benjamin Andresen <benny <at> in-ulm.de>
Cc: 29244 <at> debbugs.gnu.org
Subject: Re: bug#29244: guix update -u always wants to update: python-wrapper
 & python-ipython
Date: Mon, 20 Nov 2017 22:50:07 +0100
Hello,

Benjamin Andresen <benny <at> in-ulm.de> skribis:

> this is with an empty user account that has no packages installed before this:
>> guixsd% guix package -u
>> The following packages will be upgraded:
>> python-wrapper 3.5.3 → 3.5.3 /gnu/store/xnb9bn2vgr3ch8zznsv23w65bb5psshh-python-wrapper-3.5.3
>> python-ipython 5.3.0 → 5.3.0 /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
>>
>> nothing to be done
>
> The problem exists with both installed and with them individually.

This is because ‘transaction-upgrade-entry’ in (guix profiles)
conservatively assumes that any package with propagated inputs, like
‘python-wrapper’, always has to be upgraded:

       (case (version-compare candidate-version version)
         ((>)
          (manifest-transaction-install-entry
           (package->manifest-entry pkg output)
           transaction))
         ((<)
          transaction)
         ((=)
          (let ((candidate-path (derivation->output-path
                                 (package-derivation (%store) pkg))))
            ;; XXX: When there are propagated inputs, assume we need to
            ;; upgrade the whole entry.
            (if (and (string=? path candidate-path)
                     (null? (package-propagated-inputs pkg)))
                transaction
                (manifest-transaction-install-entry
                 (package->manifest-entry pkg output)
                 transaction)))))

I think we can refine this code.

Thanks for your report,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#29244; Package guix. (Thu, 16 Sep 2021 07:46:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Benjamin Andresen <benny <at> in-ulm.de>
Cc: 29244 <at> debbugs.gnu.org
Subject: Re: bug#29244: guix update -u always wants to update:
 python-wrapper & python-ipython
Date: Thu, 16 Sep 2021 09:28:41 +0200
Hi

On Fri, 10 Nov 2017 at 14:58, Benjamin Andresen <benny <at> in-ulm.de> wrote:

> this is with an empty user account that has no packages installed before this:
>> guixsd% guix package -u
>> The following packages will be upgraded:
>> python-wrapper 3.5.3 → 3.5.3 /gnu/store/xnb9bn2vgr3ch8zznsv23w65bb5psshh-python-wrapper-3.5.3
>> python-ipython 5.3.0 → 5.3.0 /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
>>
>> nothing to be done

From my understanding, this old bug [1] can be closed.  Now it is fixed,
aside the issue reported in bug#28743 [2].  Is it solved for you?

--8<---------------cut here---------------start------------->8---
$ guix package -i python-wrapper python-ipython -p /tmp/foo  2>/dev/null

$ guix package -p /tmp/foo --list-generations
Generation 1	Sep 16 2021 09:24:06	(current)
  python-wrapper	3.8.2	out	/gnu/store/nckjv3ccwdi6096j478gvns43ssbls2p-python-wrapper-3.8.2
  python-ipython	7.9.0	out	/gnu/store/y6rgmla9xr3sxdlv4lwnksy584w2l4xj-python-ipython-7.9.0

$ guix package -p /tmp/foo --upgrade --dry-run
guix package: warning: nothing to do

$ guix package -p /tmp/foo --upgrade
guix package: warning: nothing to do

$ guix package -p /tmp/foo --list-generations
Generation 1	Sep 16 2021 09:24:06	(current)
  python-wrapper	3.8.2	out	/gnu/store/nckjv3ccwdi6096j478gvns43ssbls2p-python-wrapper-3.8.2
  python-ipython	7.9.0	out	/gnu/store/y6rgmla9xr3sxdlv4lwnksy584w2l4xj-python-ipython-7.9.0
--8<---------------cut here---------------end--------------->8---


1: <http://issues.guix.gnu.org/issue/29244>
2: <http://issues.guix.gnu.org/issue/28743>

All the best,
simon




Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Tue, 12 Oct 2021 22:05:03 GMT) Full text and rfc822 format available.

Notification sent to Benjamin Andresen <benny <at> in-ulm.de>:
bug acknowledged by developer. (Tue, 12 Oct 2021 22:05:03 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Benjamin Andresen <benny <at> in-ulm.de>
Cc: 29244-done <at> debbugs.gnu.org
Subject: Re: bug#29244: guix update -u always wants to update:
 python-wrapper & python-ipython
Date: Tue, 12 Oct 2021 23:55:22 +0200
Hi,

On Thu, 16 Sep 2021 at 09:28, zimoun <zimon.toutoune <at> gmail.com> wrote:
> On Fri, 10 Nov 2017 at 14:58, Benjamin Andresen <benny <at> in-ulm.de> wrote:
>
>> this is with an empty user account that has no packages installed before this:
>>> guixsd% guix package -u
>>> The following packages will be upgraded:
>>> python-wrapper 3.5.3 → 3.5.3 /gnu/store/xnb9bn2vgr3ch8zznsv23w65bb5psshh-python-wrapper-3.5.3
>>> python-ipython 5.3.0 → 5.3.0 /gnu/store/7lg8s2kc6k8fxbdx80ykz39kz2lwj08g-python-ipython-5.3.0
>>>
>>> nothing to be done
>
>>From my understanding, this old bug [1] can be closed.  Now it is fixed,
> aside the issue reported in bug#28743 [2].  Is it solved for you?
>
> $ guix package -i python-wrapper python-ipython -p /tmp/foo  2>/dev/null
>
> $ guix package -p /tmp/foo --list-generations
> Generation 1	Sep 16 2021 09:24:06	(current)
>   python-wrapper	3.8.2	out	/gnu/store/nckjv3ccwdi6096j478gvns43ssbls2p-python-wrapper-3.8.2
>   python-ipython	7.9.0	out	/gnu/store/y6rgmla9xr3sxdlv4lwnksy584w2l4xj-python-ipython-7.9.0
>
> $ guix package -p /tmp/foo --upgrade --dry-run
> guix package: warning: nothing to do
>
> $ guix package -p /tmp/foo --upgrade
> guix package: warning: nothing to do
>
> $ guix package -p /tmp/foo --list-generations
> Generation 1	Sep 16 2021 09:24:06	(current)
>   python-wrapper	3.8.2	out	/gnu/store/nckjv3ccwdi6096j478gvns43ssbls2p-python-wrapper-3.8.2
>   python-ipython	7.9.0	out	/gnu/store/y6rgmla9xr3sxdlv4lwnksy584w2l4xj-python-ipython-7.9.0
>
>
> 1: <http://issues.guix.gnu.org/issue/29244>
> 2: <http://issues.guix.gnu.org/issue/28743>

After waiting 3 weeks without reporting an issue, and from my
understanding, now the bug is fixed.  So closing.

If I missed something, feel free to reopen.


All the best,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Nov 2021 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 159 days ago.

Previous Next


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