From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YLRbHGnTmGHoPAAAgWs5BA (envelope-from ) for ; Sat, 20 Nov 2021 11:52:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SPIWGGnTmGESNQAA1q6Kng (envelope-from ) for ; Sat, 20 Nov 2021 10:52:25 +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 F38F134C2D for ; Sat, 20 Nov 2021 11:52:24 +0100 (CET) Received: from localhost ([::1]:53124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moNyq-0007T1-3N for larch@yhetil.org; Sat, 20 Nov 2021 05:52:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moNyO-0007SY-Dy for guix-devel@gnu.org; Sat, 20 Nov 2021 05:51:56 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21159) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moNyD-0006P3-8K for guix-devel@gnu.org; Sat, 20 Nov 2021 05:51:47 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1637405502; cv=none; d=zohomail.com; s=zohoarc; b=OmtYdMuA1cj1LOfd5HImL2Hxa2Y9p/dOW42I1E6f0IgQqdKq4T6u/muCO4pfWXErbidbmnwngGTiSH0mmSdd4AXfnoXEGakkBFS3Fe+mpnDcCf33mmUp9IqDgJG0kkxTmIZUoquGCSX71XaMZsBvGd9/NiqXx4Cd0xaWvuFA+l4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1637405502; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=2uduIzpmm0Uvx5l8y9kuyYUt+gXA9hLULUW1ji4WhzY=; b=a/QxDelqqvwYwu0KFc4j2/efupsuQDi838wfQ0hXB8fHR2soKXmI729ZdoqAa11+IKqci/3/aMnGyyCQUb+G/A4yytCZ3Fa+b6/mfhN2WsRnVmDfSJck5rodVnRcjAPc1PiIXRJxrTXv1uRoMbzwbmM/yzhx439l2VxllpOSB1o= 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=1637405502; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=2uduIzpmm0Uvx5l8y9kuyYUt+gXA9hLULUW1ji4WhzY=; b=Nggv3zv5gfkwhlH/c1re7DKqRX/O5BYAiR9Zk/XmbMHUb+MPFrgymVT+RJvVfdAc 2pSzxqR1Auc7UweFalCABMmIbBRYb3gaNSDKF/QlSe0kjq1ok4wrkhEwk0+soatbs2o bwD6xyMOtKlCrmiantasYXViJiLMK4zxCRfwRb0U= Received: from localhost (p4fd5aaa8.dip0.t-ipconnect.de [79.213.170.168]) by mx.zohomail.com with SMTPS id 1637405498483169.68491526091225; Sat, 20 Nov 2021 02:51:38 -0800 (PST) User-agent: mu4e 1.6.6; emacs 27.2 From: Ricardo Wurmus To: guix-devel@gnu.org Subject: [core-updates-frozen] Different variants of Python packages in the same profile? Date: Sat, 20 Nov 2021 10:42:57 +0000 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: <877dd3hzgp.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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637405545; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2uduIzpmm0Uvx5l8y9kuyYUt+gXA9hLULUW1ji4WhzY=; b=dGI+IXxr2gTSNkex5k+yAZirR904UgDARYf1f/CTCyjcBB1PzQ/Pyy0HyK9nEY/cLT1rvg p6hmjSFlE5TcRvjD2INDg/0b0cZQch9x+HrVLUr4xho0nTRoDNQLRjuyTGED7FirlmvU8F qgOzQTQZpfFAJ62rEOjrGtITgxcBJToEOzd7NJxjXs/RgxIXcrTRi8Ej7Csy7Zf8MWmWKe 5NNuEeCbViN521mq9Ol97vyMkvV0aRCX+F1SkyP/gF7b+Kh5SvDpoFNCQsltRoxy5DQUBo el00qelw9wH1VCgIJfa1b9wnVhzwVSFOsnV32xEuiGi630WHMo4VqL31gJOuWQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1637405545; a=rsa-sha256; cv=pass; b=mDRIfMa2+lHpCCreeqUV8gmIb4IZUB0VA/sPHboTp8Ci2+XXTUQG5lkhriBgqysvFc+qGL ZWj0LGKpRxX6bQkSr5t6JPdKPTX6IfUlwQUNl3Nwpm+W049PxHdoA627xluBUfeZffa0YO tVe3pFdG3/4ORrIoVeEQ+xNGOuQZP9TTL25NZi1pElbCi0CZykRQjevmU8D5w3V9lPzSrm 0mGCV52VNzziYYGxAZTOg88zR+Ic8vQtvRPYoIdP2KEKGhAaRNvhxq5WppOLuJ3CPHeR1F 685Cq6Y+T5mktbdE3uscp39NPIlFzpxIp5xxiaZpvEEiNO3UtnztlNdgQ3U8uw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=Nggv3zv5; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=Nggv3zv5; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: F38F134C2D X-Spam-Score: -3.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: Xq3E7nGzHBe5 Hi Guix, on the core-updates-frozen branch we have a minor problem:=20 python-numpy has been upgraded to 1.21, but python-numba can only=20 be built with 1.20[1]. I added python-numpy-1.20 and made=20 python-numba use it. Now the problem I have is that numba is used with other packages=20 (such as python-scikit-learn) that build with the latest numpy.=20 An example is python-umap-learn, which propagates both=20 python-numba (with python-numpy-1.20) and python-scikit-learn=20 (with python-numpy). This doesn=E2=80=99t work because Python only knows=20 about the name =E2=80=9Cnumpy=E2=80=9D and will pick the first matching mod= ule on=20 the load path. 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 module=20 =E2=80=9Ctotally-not-numpy=E2=80=9D instead of =E2=80=9Cnumpy=E2=80=9D? Co= uld we thus avoid this=20 conflict? If renaming is an option =E2=80=94 how would it be done? Is it= =20 enough to rename the =E2=80=9Cnumpy=E2=80=9D directory with =E2=80=9Cnumpy-= 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, and t= hen update all =E2=80=9Cimport=E2=80=9D=20 statements both by numpy itself and by python-numba? I=E2=80=99d like to fix this before merging core-updates-frozen, as this=20 affects at least 16 bioinformatics packages and working around=20 this will be difficult for users. --=20 Ricardo [1]: https://github.com/numba/numba/issues/7176