From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eF1NMsIImmG1+wAAgWs5BA (envelope-from ) for ; Sun, 21 Nov 2021 09:52:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WMfzLcIImmHDMgAAB5/wlQ (envelope-from ) for ; Sun, 21 Nov 2021 08:52:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 71ED42B907 for ; Sun, 21 Nov 2021 09:52:18 +0100 (CET) Received: from localhost ([::1]:42938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moia9-0005um-L9 for larch@yhetil.org; Sun, 21 Nov 2021 03:52:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moiZJ-0005uQ-Ef for guix-devel@gnu.org; Sun, 21 Nov 2021 03:51:25 -0500 Received: from [2001:67c:2050::465:101] (port=52422 helo=mout-p-101.mailbox.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1moiZG-0002Gc-Ql for guix-devel@gnu.org; Sun, 21 Nov 2021 03:51:24 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [80.241.60.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Hxkdw5RD4zQjgF; Sun, 21 Nov 2021 09:51:16 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1637484674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+xPO9Y/tLQi/QvWscXyW3+0sGu5XZ1wkPft4D2IJZVY=; b=mcdbaB7tWD7sEfRDGU5fbQycaBlmS9pJMiEv3M8zsI9lusdrskSAMg7zr6e5f5H1PDWEZ3 t0VsHNbzwejuI45p7roKOz9cnommtkVItvklpI/DzYnI0YaIBWl0d4hKrvNdM+GrxTqEyp LH+sLsV7j2nNj8CPORWZBg0ozl5IW7AXn81Js5wTx0ZbRes2vHfmjRYNEFkJXXIkDY/00G 5Tmhc7UGUwUh5TYN0olb/PUr/4RUqLbN43S7AvSt9P7i+pWAukOFmUCoAcrKPewTycAJYl 8xaPz3jN3xb9UqCTyd49ckpuHkM9OHvjiX0bjFu6blUG4GyaLhzcRlWFDZZhlQ== Date: Sun, 21 Nov 2021 09:51:09 +0100 From: Lars-Dominik Braun To: Ricardo Wurmus Subject: Re: [core-updates-frozen] Different variants of Python packages in the same profile? Message-ID: References: <877dd3hzgp.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877dd3hzgp.fsf@elephly.net> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:67c:2050::465:101 (failed) Received-SPF: pass client-ip=2001:67c:2050::465:101; envelope-from=lars@6xq.net; helo=mout-p-101.mailbox.org X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637484738; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+xPO9Y/tLQi/QvWscXyW3+0sGu5XZ1wkPft4D2IJZVY=; b=PZ+krGkGecA9d68KiGEy0YwwvUoJrbSN75pkCwe98YapTbk0YTZ9ik7An9wt5dR9VFxESl HbTU/7RIvMx9KNsjBUO07XR4TOFjK/4TEmL7luFwlj7YLDFUpqgVrBR+ZAOYkgvxZ+zRwo g5g/Vl04Ur+2Gj4wLh8bQ0+/bDq0rQ1nca5CUAzTgBUAbIUZmq5kPa9XBLxKJaZEBZIf6H G5xU9MKMd7O7K3N0hUmRvEWAri4+nfUYFzutEjCl+asTLwjXY/24fIWTJTXR9AMNuv5nUD cjt//m/J2CdRarKaMt6oEjWI0epcNNUV1aeTCJROIMgXQ9tqS0U34cNrFDgmkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637484738; a=rsa-sha256; cv=none; b=fetk+6xmX7l1qVK4uLy+qvn6/O5y7sntns8ci6lzZB3QyFOyUR79/TyCa7KiQ/5QcKh823 M9UBDjssPN5nwget22mc5N/LZJ9Mtnb5iyN/icKJIUBuHb7iE4NeBTNv/8eRSEThewvXJ1 wYmRdKGO2xP2qVrG+VoRQZksvPabCsfE10fTjVk1S9vnuCOKsRaCAOaIx4thkTBnXRzThQ tBJfIW/ed98POGpdPG+0PeK/sx6R+3sBUvq3gepL0ogPpYcv0s2AuwsdlPfzGr04Cs5m2O 0UTrNjyV6HMxqnvPlDAZugowZeo6r/OpMMINoVfRHhLHu9GSd4/8gGQTCH1gHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=mcdbaB7t; dmarc=pass (policy=none) header.from=6xq.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.18 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=mcdbaB7t; dmarc=pass (policy=none) header.from=6xq.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 71ED42B907 X-Spam-Score: -3.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: BAECD8bz8YeF Hello Ricardo, > So… since numpy 1.20 is the exception here, could we perhaps … > rename it? And then have python-numba import that renamed module > “totally-not-numpy” instead of “numpy”? Could we thus avoid this > conflict? If renaming is an option — how would it be done? Is it > enough to rename the “numpy” directory with “numpy-1.20”, the > “numpy.py” file with “numpy-1.20.py”, and then update all “import” > statements both by numpy itself and by python-numba? I feel this is a dangerous idea. Python is dynamically typed and if we – somehow – end up with objects from both, numpy 1.20 and numpy 1.21 in the same program, which can still happen when renaming, things may go wrong very badly. [1] says versions 1.* are ABI compatible, but the API changes between releases, which is probably why numba cannot be used with a newer numpy. Can we rewrite the entire graph to use numpy 1.20 whenever a package imports numba? Cheers, Lars [1] https://numpy.org/devdocs/user/depending_on_numpy.html