From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wC7aGJcM8mPhdwEAbAwnHQ (envelope-from ) for ; Sun, 19 Feb 2023 12:48:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oPCDGJcM8mO2+AAAauVa8A (envelope-from ) for ; Sun, 19 Feb 2023 12:48:39 +0100 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 27A231D93B for ; Sun, 19 Feb 2023 12:48:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTiAl-0003aG-TL; Sun, 19 Feb 2023 06:48:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTiAi-0003Zz-QO for guix-devel@gnu.org; Sun, 19 Feb 2023 06:48:01 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pTiAg-0002Ya-DE for guix-devel@gnu.org; Sun, 19 Feb 2023 06:48:00 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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 4PKP1d4dK7z9sTx; Sun, 19 Feb 2023 12:47:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1676807269; 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=UpA9TDWWS/OiaUYXTPjdwA4v3VPy0KXblHYfLlFRHZE=; b=o9Uptg+AW9d5bwRl/x+4Uw6SsXADde9TVrP/7J9RWxz0V7JMAew0OPSY1PslGTn1N33chU yWgZMZ3QGH6D729CTYBD2zgw16tpPfpO4mf7WzU4WT7rlKbRjXirdXbbhWsso1QN0XXbky VnaUROOkR8YXY1hUPC/6bPoSR3VfLgXRaOquUFVRGLiOWnqquy1U3nQeFlqAX2wX7TAnFt WbejK6PPYhdEyKi1PdMgca9HK3BddW/WSO+1ccNmtTFO683XU6g3tKc7M4jH1p/EDD2/Ss n09KVuMGtznXc6FTIss3AEmXCrWyCOLVzv5uIg9xTErXDoYmSBD9DIALi2JHng== Date: Sun, 19 Feb 2023 12:47:46 +0100 From: Lars-Dominik Braun To: Andreas Enge Cc: guix-devel@gnu.org Subject: Re: Python (was: Merging core-updates?) Message-ID: References: <20230212100540.2214f16c@sybil.lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Received-SPF: pass client-ip=80.241.56.151; envelope-from=lars@6xq.net; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676807319; 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=UpA9TDWWS/OiaUYXTPjdwA4v3VPy0KXblHYfLlFRHZE=; b=r846IW+4WlLaKUq4PXG9ihcmFsH/LMmcy/84kBeaCU1izAtmBWgls7QvRN173vOOiHQ3ge FKmLj2/+1pU0sv8k1RsYaQ4c3tVKmOS0GOZCwjpdiR0eFO0du9MYCF0nppMx+PSItrbyxo zZ9su0fqHa3vXGu1Z4z44Z6KcaLkLGG+swqI5+dGMMqFeXea7T/N5d79d8PHwwobGbifgC Idmf+1jz8eVnyiERI/SEb2iABwd2SCACLlW/KqnPQdbGnU8jGI5RNgOdZd4pDzjVSjwoAI 0yD3SgZEed+ahEsGdgcv6SkO8DCetnjoyujDEke0wR5J3QbZQrt8XcD9LD+iXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=o9Uptg+A; 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"; dmarc=pass (policy=none) header.from=6xq.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676807319; a=rsa-sha256; cv=none; b=qRgRRJ6fcZgKRVnhCLUcSzfD1rx8d2Ketk6wZbnAA3viJ9I2/7Vgj+iVqcuCfTIcYmeSxv b32HPY31UDpC+wkw3/ZSkkfyJGw9n4b/iA/oZ4edQKmMHHwafZxNwx4+c/F9/wb2iLK7xi yLGU5i/OU75Mw0ViNqRp1qE9dlXuCojLtvxcpfn3/EOgOs6FLlVZk7YTEJKhv7sfGWtlpo qzuNIKDn1puk7GMgP/MlbWzz6O+RBc1AwafGOaykR0ARthXTLsXMDbIN6OgKpEzDXsYvVm a03aVUofrHi6t7iq8298g6yJ3yXbrnsIQX9LMz9OQGv+ussDGPIXEeiUb33hQA== X-Spam-Score: -6.46 X-Migadu-Queue-Id: 27A231D93B Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=6xq.net header.s=MBO0001 header.b=o9Uptg+A; 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"; dmarc=pass (policy=none) header.from=6xq.net X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.46 X-TUID: kN9PhhILQX9R Hi Andreas, > *** File "/gnu/store/5i3yqwaqd8mayl2vr9lmrihxwv8203b1-python-pycrypto-2.6.1/lib/python3.10/site-packages/Crypto/Util/number.py", line 139 > value |= 2L ** (N-1) # Ensure high bit is set > ^ > SyntaxError: invalid decimal literal > error: in phase 'install': uncaught exception: > %exception #<&invoke-error program: "python" arguments: ("-m" "compileall" "--invalidation-mode=unchecked-hash" "/gnu/store/5i3yqwaqd8mayl2vr9lmrihxwv8203b1-python-pycrypto-2.6.1") exit-status: 1 term-signal: #f stop-signal: #f> > phase `install' failed after 0.5 seconds > command "python" "-m" "compileall" "--invalidation-mode=unchecked-hash" "/gnu/store/5i3yqwaqd8mayl2vr9lmrihxwv8203b1-python-pycrypto-2.6.1" failed with status 1 this particular line looks different with Python 3.9, since the package is built with an automated Python 2 to Python 3 converter, which does not seems to work correctly on 3.10 (build_py_2to3 in setup.py). Not sure why though. Given the warning on their homepage it’s probably safe to drop the package. > from collections import Mapping > ImportError: cannot import name 'Mapping' from 'collections' (/gnu/store/blals34ar25fiifvm17m2b504waxzys0-python-3.10.7/lib/python3.10/collections/__init__.py) This is trivial to fix and should be from collections.abc import Mapping which seems to be the only change in attrdict3, see https://github.com/pirofti/AttrDict3/commit/f6678b627b469c9aeddca2a9e4ba4e1ee9e3ccbb Cheers, Lars