unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: guix-devel@gnu.org,Edouard Klein <edk@beaver-labs.com>
Subject: Re: What to do when udpating a package ?
Date: Fri, 15 May 2020 08:26:08 -0400	[thread overview]
Message-ID: <E4F7BFAE-AF7B-40BC-B954-1D7E5DF49467@lepiller.eu> (raw)
In-Reply-To: <87v9kx7jh5.fsf@alice.lan>

Le 15 mai 2020 03:20:06 GMT-04:00, Edouard Klein <edk@beaver-labs.com> a écrit :
>Dear Guix Developers,
>
>I have a few beginner questions.
>Attached to this email you will find the "reverse-package" graph of
>python-prompt-toolkit.

Hi,

In general, some packages on master may fail to build. We try to fix these, but it's not always easy.

When updating a package, you should make sure that its dependents all build or did not build before your changes. Fix those who now fail to build.

I don't think having both versions is a good thing because it will create conflicts when installing (have you tried to install a package that propagates both to a profile?). It would be ok if they had no file in common but I doubt it is the case. For any package that requires version 2, make sure its dependencies only use version 2, or update the package if the newer version can support version 3. It's not always easy to find the right order of upgrades, as you should make sure nothing is broken in between patches.

Relying on propagated inputs to provide a dependency is going to simplify the graphs, but not the work of other maintainers who will have to investigate how the dependency is provided, so I don't think it's a good idea.

You should rebuild every dependent, even those who only depend on the package for native-inputs, since there can be an error an any point (though less likely).

I hope I answered your questions. Your message was split into two multipart sections and my client wasn't able to cite the interesting part, which makes it hard for me to check what your questions were while typing my answer.


  reply	other threads:[~2020-05-15 12:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15  7:20 What to do when udpating a package ? Edouard Klein
2020-05-15 12:26 ` Julien Lepiller [this message]
2020-05-15 15:32   ` Edouard Klein
2020-05-15 15:45     ` Julien Lepiller
2020-05-15 13:36 ` zimoun
2020-05-15 15:43   ` Edouard Klein
2020-05-15 16:17     ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E4F7BFAE-AF7B-40BC-B954-1D7E5DF49467@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=edk@beaver-labs.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).