From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id lvNOAGn0EmB7WgAA0tVLHw (envelope-from ) for ; Thu, 28 Jan 2021 17:29:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SBBSN2j0EmCHQgAA1q6Kng (envelope-from ) for ; Thu, 28 Jan 2021 17:29:12 +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 B7E659402A7 for ; Thu, 28 Jan 2021 17:29:12 +0000 (UTC) Received: from localhost ([::1]:34406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5B6V-00056M-Jn for larch@yhetil.org; Thu, 28 Jan 2021 12:29:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5Ayj-0005vT-0a for guix-devel@gnu.org; Thu, 28 Jan 2021 12:21:13 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:41190) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5Ayb-0000Kx-QE for guix-devel@gnu.org; Thu, 28 Jan 2021 12:21:05 -0500 Received: by mail-wr1-x436.google.com with SMTP id p15so6184480wrq.8 for ; Thu, 28 Jan 2021 09:21:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=nb8hiXWUHTjmMsC+68Pt+japwYlE1QNZ5hmX3yKWUnc=; b=UYBFT5sHjAJNIefHYisJ9+80Lgl6zIRsriivv7sGCJ/vwZ7/dSUqIKqpjQ1toZvXnL nu2m3Bz2PIX2x7uOcOZLMFqbZ/S7c2atCDHYHnrkZ9rWRDvohNMMabcatkGKEm4UzCg1 MI3VnmWLDofbToy/416qCo+FRRwEu7/bWMWxUW9kZ9w4+d5Tcl8GyMMTqlaZb+YYoptC fpVgg6yOjRpvOQM8hhTqny60r8L3vGYdWvYPc6bBd2yHBgd5KrnMqMYJXYdbkKJdMi6l 3h4hdoWRJrnIRFbvYqaZjfJW2pJT7+OYziMkMttBRzivhuEWs2cwKfjnyWe5mzl4RTaK OPyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=nb8hiXWUHTjmMsC+68Pt+japwYlE1QNZ5hmX3yKWUnc=; b=uLlE0QRg7IukvxBpWaRLt+RDEmzojYt4/zqMG3yD5W0Cw6wtT5JWlIMR8ilmsot7tJ WAb2DDuAFvUnf+XqU5vhrLW+qKooPJ+XZoHy+hyy72fCN1h+WlMwRjZ6szpwqf58uJLg ZhdQB02pUOJHQAT9eLLEXSWRV926BrYaktaYLob/BHWBvvgbZufw7bhZgo3kdEvK0uGx TkLlpnywVll5FiLEooJaCFvK5QZ4zEvbSVrSC5PSGPuXxKCwXaPIjOXnBB37r5ZFR1tB MEhVhk+2n0ODWNWaSNMKTNbRr350ciH7m6Enfn26jpr2a+yF0zkZ4YYKN2DvP1bIgl0+ B52w== X-Gm-Message-State: AOAM530INyEKcIP8frr1JNQ3vzEOD9WSs3uzyV39KIKgkG4wQfBTN8kp k8GjVyFsLD7e2rLOFkPmsDKX8JxvAeg= X-Google-Smtp-Source: ABdhPJxVFjmNNzsKktve7jUqwmnMIdaoOcYkHH6pTEb93wfru+/klzk8Sfv9gDe45O8VtfJmxKwqYg== X-Received: by 2002:adf:f749:: with SMTP id z9mr40365wrp.327.1611854460323; Thu, 28 Jan 2021 09:21:00 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id i4sm6502399wml.46.2021.01.28.09.20.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 09:20:59 -0800 (PST) From: zimoun To: Guix Devel Subject: Python 2 EOL starts to break packages Date: Thu, 28 Jan 2021 18:10:08 +0100 Message-ID: <86pn1pgf7z.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x436.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 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 X-Migadu-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=UYBFT5sH; dmarc=pass (policy=none) header.from=gmail.com; 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: B7E659402A7 X-Spam-Score: -3.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: KPWQkNjuc5LD Hi, The bug#46132 [1] reports the failure of the package =E2=80=99python2-setuptools=E2=80=99. It is expected because this Python 2= is inherited via =E2=80=99package-with-python2=E2=80=99 from Python 3 and the current =E2=80=99python-setuptools=E2=80=99 is at v52. And, Setuptools dropped the= support of Python 2 at v47. See their changelog [2,3]: --8<---------------cut here---------------start------------->8--- v47.0.0 28 May 2020 Breaking Changes #2094: Setuptools now actively crashes under Python 2. Python 3.5 or l= ater is required. Users of Python 2 should use setuptools<45. --8<---------------cut here---------------end--------------->8--- Because Python 2 is End-Of-Life, these cases will happen more and more. It is not new and =E2=80=9Cwe=E2=80=9D (at least me) are aware this would h= appen=E2=80=93see bug#38420 [4] from Nov 2019; but =E2=80=9Cwe=E2=80=9C have not really work = on it. Anyway. :-) Removing =E2=80=99python2-setuptools=E2=80=99 from Guix could break some ot= her packages. Maybe? Who knows? ;-) Instead, a plan could be: a) move all the =E2=80=99python2-=E2=80=99 to their own module say (gnu packages python2-xyz) b) pin the ones which breaks; pin meaning =C2=ABnot use package-with-pytho= n2=C2=BB=20 c) fix a deadline announcing the remove of availability at user level d) after this date, hide all the python2 packages e) remove case per case these hidden python2 packages Today, it does not make sense to have =E2=80=99python2-setuptools=E2=80=99 = in a manifest file or type =E2=80=98guix install python2-setuptools=E2=80=99. So it shou= ld not be possible and raise =E2=80=9Cpackage does not exist=E2=80=9D. However, I co= uld have a custom package that depends on =E2=80=99python2-setuptools=E2=80=99 so it s= hould be accessible via =E2=80=9C#:use-modules (gnu packages python2-xyz)=E2=80=9D. WDYT? 1: 2: 3: 4: All the best, simon