From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Python and propagation Date: Wed, 24 Feb 2016 23:09:38 +0100 Message-ID: <871t81dal9.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYhcw-0000rG-50 for guix-devel@gnu.org; Wed, 24 Feb 2016 17:09:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYhcs-0004JB-5a for guix-devel@gnu.org; Wed, 24 Feb 2016 17:09:46 -0500 In-Reply-To: (Ricardo Wurmus's message of "Thu, 18 Feb 2016 13:21:48 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel Ricardo Wurmus skribis: > As a Python library it depends on numpy, and thus propagates numpy as > it is customary in Guix. This is necessary because Python libraries > do not have a RUNPATH feature Does the newfangled =E2=80=9Cwheels=E2=80=9D thing support something like a= RUNPATH? > 1) print a warning when a collision is expected to happen, not when a > collision has happened. Sounds like a good idea, indeed. The file-by-file warnings may still be useful in other cases though, for example when different packages genuinely provide same-named files. > 2) avoid PYTHONPATH, patch all Python files invasively! Sounds like an interesting option. :-) There are open issues though, as you and others note (=E2=80=98import=E2=80=99 can overridden!). (This reminds me that, since Guile 2.2 uses ELF, it should be made to honor RUNPATH!) Ludo=E2=80=99.