unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Python 3 native-search-paths
Date: Sun, 01 Sep 2013 15:31:45 +0200	[thread overview]
Message-ID: <877gf0r7lq.fsf@gnu.org> (raw)
In-Reply-To: <20130901071112.GA7907@debian> (Andreas Enge's message of "Sun, 1 Sep 2013 09:11:12 +0200")

Andreas Enge <andreas@enge.fr> skribis:

> On Sat, Aug 31, 2013 at 08:06:34PM +0200, Ludovic Courtès wrote:
>> It has no effect in the build of Python itself; its effect is only when
>> building Python code that uses Python and one or more Python libs.
>
> I still think something is wrong here and that this variable should be
> included into the computation of the hash. When I now recompile a
> package depending on python, it gets the same hash, but it is different.
>
> Or more easily: The python package with the new native-search-paths behaves
> differently from the previous one, so it should have a different hash.

The hash is the hash of all the inputs to the build process,
recursively.  If a single bit changes somewhere, the hash changes.

But here, search path specifications do not affect the build process of
packages that carry them in any way (an improvement over Nix where
everything is an environment variable, and thus an input to the hash,
even if it is not meant to influence the build process.)

When ‘native-search-paths’ changes in python3, it’s not python3 that
behaves differently: it’s the build process of packages using it that
does.

Hope this clarify things.

Thanks,
Ludo’.

  reply	other threads:[~2013-09-01 13:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-31 15:40 Python 3 native-search-paths Andreas Enge
2013-08-31 16:07 ` Ludovic Courtès
2013-08-31 16:43   ` Andreas Enge
2013-08-31 18:06     ` Ludovic Courtès
2013-09-01  7:11       ` Andreas Enge
2013-09-01 13:31         ` Ludovic Courtès [this message]
2013-09-01 13:41           ` Andreas Enge

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=877gf0r7lq.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --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).