From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ABh5AAyYmmEf/QAAgWs5BA (envelope-from ) for ; Sun, 21 Nov 2021 20:03:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2BigNwuYmmGCRAAAbx9fmQ (envelope-from ) for ; Sun, 21 Nov 2021 19:03:39 +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 BC1ED2D6F4 for ; Sun, 21 Nov 2021 20:03:39 +0100 (CET) Received: from localhost ([::1]:59976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mos7m-0000U5-SI for larch@yhetil.org; Sun, 21 Nov 2021 14:03:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mos7d-0000Sm-IB for guix-devel@gnu.org; Sun, 21 Nov 2021 14:03:29 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mos7b-0000EG-79 for guix-devel@gnu.org; Sun, 21 Nov 2021 14:03:29 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1637521402; cv=none; d=zohomail.com; s=zohoarc; b=YlDWJ/lII+/Sy6waZfB8uQLwu6gLJO+dv7snqiiVCJtYhX/IncgHS5+47VrU1/cjaGdm3gFBXOIuepCeiNrtJls85S4hV0H131klXuBrRGLoNipf41rIyKEi8T8FCmnZO3u1gyycd/ARKoc1cnV8Lbc3anBxrENsW86F07rUcXs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1637521402; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=zD+v3auRcT6ixA3nBshFSBYP4H/9dElqwAVojqgfry4=; b=B7WOFKWIGP9MCJL60DSPWJFUfYZq9UzWw25cPM6bHVHIu2RB61kbEX8bY4MNyS/sij0BenQ+HwOmivvX4pnC6ud78UsSTsmodUDPeXpkBWCxfwLy/+IC90srKpn/BYt7x8iltRrLrgfpPMGLYOcRAFEHTmgKtD9y3oAnQsmLLxw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1637521402; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=zD+v3auRcT6ixA3nBshFSBYP4H/9dElqwAVojqgfry4=; b=SsELJAH65VY/KQN9SuxANAV1oRMdsRP+UgZozitRZsbcl//XCkVSPIw94L2gg+7A jejlWyOAKuKWHLsvc2vmKL0fHdHYRo324+rWFND88pljGeLM+7s87hP1dx+T6//7tyh /yH1O0pTWsNxb/CxMxKhq/LHR2dcHB5uPEtJU3i8= Received: from localhost (p508e8dd2.dip0.t-ipconnect.de [80.142.141.210]) by mx.zohomail.com with SMTPS id 1637521399902869.2566844568202; Sun, 21 Nov 2021 11:03:19 -0800 (PST) References: <877dd3hzgp.fsf@elephly.net> User-agent: mu4e 1.6.6; emacs 27.2 From: Ricardo Wurmus To: Lars-Dominik Braun Subject: Re: [core-updates-frozen] Different variants of Python packages in the same profile? Date: Sun, 21 Nov 2021 19:02:39 +0000 In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <874k85gwln.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637521419; 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=zD+v3auRcT6ixA3nBshFSBYP4H/9dElqwAVojqgfry4=; b=O78ffGNDtw/atA+4Zq151gP+3tkFnjt9nUPKLfBxu1zQ1UUcgXVQ3aCsFzUUDJkRXO3DwT F8y5ROYYdhIYRAdTRRUmfNDTz548aR2GcPiHGT9EjFnjUN7030d1Az3ZXENnfz2c3sXT+N Sv9AqQ3YrwmpX7nYtyNzVTe+PEDIeMbkGY1nSn+ujUr+cloObSJamZhTcogZQQwRSP4mVU VwycP/pT2n4detLEN6omKzPjBT7M6y3g6UQY9d0Zngr3L+pdgOVikuBkil4BQnAu9xDdak fCgtYQthQhFFyAhlaZIk+Hx2yE1zA9ut5wrLGuWFIjRs+YyeHEYTmUEnaNuWIQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1637521419; a=rsa-sha256; cv=pass; b=pYb7ybwXvNy3h3vQM5InFkN5rUSstewmuW368sYrpoS6yXeM1WD0BrpiPLcTbOjcS9emhF 1xr2990WccXPZlzAfFeKCczDbYD9sQqhaB8A6VTcPPTUCq7r5VoxCy0Nk+/qH126KHYAnE yHSzLQQuMqLyp8KMCem0eUX6ATl/sm3ned0wXg7Uv1EhX4EVGEwgMpE1gPd6L8J9JDClIX v303Qx4uOe32Nsr+a0ysHYuQYCJau+9vLmKOS29XUjVQYZ1gWiHKYxXIOGpwztNG8H/DJm 9LUd79O/iG4tFq21QnWm0gQZpVypuoQGgcsypz7QAyIjylhmYBiP7sGoIgy5yg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=SsELJAH6; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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.58 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=SsELJAH6; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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: BC1ED2D6F4 X-Spam-Score: -3.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: 02HZhjexKbRT Lars-Dominik Braun writes: > Hello Ricardo, > >> So=E2=80=A6 since numpy 1.20 is the exception here, could we perhaps =E2= =80=A6=20 >> rename it? And then have python-numba import that renamed=20 >> module=20 >> =E2=80=9Ctotally-not-numpy=E2=80=9D instead of =E2=80=9Cnumpy=E2=80=9D? = Could we thus avoid=20 >> this=20 >> conflict? If renaming is an option =E2=80=94 how would it be done? Is= =20 >> it=20 >> enough to rename the =E2=80=9Cnumpy=E2=80=9D directory with =E2=80=9Cnum= py-1.20=E2=80=9D, the=20 >> =E2=80=9Cnumpy.py=E2=80=9D file with =E2=80=9Cnumpy-1.20.py=E2=80=9D, an= d then update all=20 >> =E2=80=9Cimport=E2=80=9D=20 >> statements both by numpy itself and by python-numba? > I feel this is a dangerous idea. Python is dynamically typed and=20 > if we > =E2=80=93 somehow =E2=80=93 end up with objects from both, numpy 1.20 and= numpy=20 > 1.21 > in the same program, which can still happen when renaming,=20 > things may > go wrong very badly. [1] says versions 1.* are ABI compatible,=20 > but the > API changes between releases, which is probably why numba cannot=20 > be used > with a newer numpy. > > Can we rewrite the entire graph to use numpy 1.20 whenever a=20 > package > imports numba? After a quick discussion on IRC we decided to make 1.20 the=20 default and keep 1.21 as python-numpy-next. Let=E2=80=99s hope we can=20 switch to 1.21 for good soon. --=20 Ricardo