From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QEYUBoaMH2FmewEAgWs5BA (envelope-from ) for ; Fri, 20 Aug 2021 13:05:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uN3RAYaMH2FWBQAAB5/wlQ (envelope-from ) for ; Fri, 20 Aug 2021 11:05:42 +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 BEE11E842 for ; Fri, 20 Aug 2021 13:05:41 +0200 (CEST) Received: from localhost ([::1]:51554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH2LE-00028f-4n for larch@yhetil.org; Fri, 20 Aug 2021 07:05:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mH2Ig-0007or-3h for guix-patches@gnu.org; Fri, 20 Aug 2021 07:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mH2If-00004w-S8 for guix-patches@gnu.org; Fri, 20 Aug 2021 07:03:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mH2If-00064I-Hf for guix-patches@gnu.org; Fri, 20 Aug 2021 07:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44656] [PATCH] Upgrade pypy3 Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 20 Aug 2021 11:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44656 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Lars-Dominik Braun , Maxim Cournoyer Cc: 44656@debbugs.gnu.org Received: via spool by 44656-submit@debbugs.gnu.org id=B44656.162945735423292 (code B ref 44656); Fri, 20 Aug 2021 11:03:01 +0000 Received: (at 44656) by debbugs.gnu.org; 20 Aug 2021 11:02:34 +0000 Received: from localhost ([127.0.0.1]:33030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2I9-00063X-PX for submit@debbugs.gnu.org; Fri, 20 Aug 2021 07:02:33 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]:37736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2I3-00063G-TU for 44656@debbugs.gnu.org; Fri, 20 Aug 2021 07:02:28 -0400 Received: by mail-wm1-f49.google.com with SMTP id c8-20020a7bc008000000b002e6e462e95fso8834499wmb.2 for <44656@debbugs.gnu.org>; Fri, 20 Aug 2021 04:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=nKlP8/82PW6C1Tt9r3XqoYXLMdQrHapOU2fkMQxtXGk=; b=lOh8Drw3X/qAqCB9LnKtoVvgdwkwEHoH1TpADKYLn+C0Tzq8bcYBeS6q2zydDA3dC9 mLtWWPVl5u/JwwSAXRneSlFbuE4LW/4RRUMVpIHSC7UPyjC+nqkDX+nOJkwDDZx7V3+C DICOE55f2ZcIlri69F3GL0tWLD/ku9HIHuNzdsHsBGLBUxJyWVbyNu2EaT3EeFgZoaBn tspFS1CbDnNZ5Ug2wKSlALfcfdWIIBjYvZWz9bleX9dlczqtiBp7NZ772dsCQhT96PQ1 5y6iHSLxS4CxmfBQ3mOCMpLXsByPlEEszwRsEu46frkYg6JHu3VDmU7U0ZahfgiXlifz RgXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=nKlP8/82PW6C1Tt9r3XqoYXLMdQrHapOU2fkMQxtXGk=; b=oRKSXHSdHrC5tr2DAxoNDpvFRxBpLygwzjirZLFptF2GDvGAqWnnn/zxMdGFOe21qW aTx0DuzejEP/sHZ92Fjg61pu8CeQWPcg/NzeZtlkpN5ZyKgB+hvA6dhB9ikN1FpiuqV3 HxcQkGa4W464N4v1+22lfm8f0HDwsAKM1QKKZaMGHCsJTS4zZCeX2/ycCcU+HO6h+uRr unRK1YkEBDTG9gY1bqbDk7iKMfGP9KhCXKmZDlmozlnALta2FwsZcdwhDkQlNa4l/8u8 2qmZJlOFdla10h8TMwp+4sCdQyQXoa5TuKrz7K7FrW06DbEty42UHDqN86G+oMzPvP6N +yOQ== X-Gm-Message-State: AOAM530BItLcmT9Bf59ee3DFXKS4jSprX73fbjjBkRKsNeW51iOwTJ5P o7OqRbHj02P9rMorYvJ2E1P3KfDagc/Pww== X-Google-Smtp-Source: ABdhPJyGHT0KnhK4QvLi9hSuV+KcUXn+ZMQt6PWMD7Nh1DBVJ7rmS8jniFwmuNWdbv3+zLTe6+hQHQ== X-Received: by 2002:a05:600c:4fcc:: with SMTP id o12mr3398148wmq.0.1629457338004; Fri, 20 Aug 2021 04:02:18 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id x19sm4755228wmi.30.2021.08.20.04.02.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Aug 2021 04:02:17 -0700 (PDT) From: zimoun In-Reply-To: References: <20201115123911.GA1956@noor.fritz.box> <87eeba8ay7.fsf@gmail.com> <87k0ky7iv5.fsf@gmail.com> <87h7g2jb4d.fsf@gmail.com> Date: Fri, 20 Aug 2021 12:39:20 +0200 Message-ID: <86tujko0x3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629457541; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nKlP8/82PW6C1Tt9r3XqoYXLMdQrHapOU2fkMQxtXGk=; b=N7q8zZQSeF4a9YML70eMoqudAG4temYq2LqGzsuqFjNCx0jj4VupQWHm463/TM6eeYynPs yISkcFc9DihNTcwy75hpw6RcKYN+wWAG2854+Z98kTVOcAKAWj5qCOqpF04b1hw7650tgT UPBcKRL3UYEk6JI3L4i6PiqtqnrGFs3BVfDU6O03wKRUTS6cWxHSEGehUKlBP2Pgerx+pl m1wUba/g7x7FvLtt5OlXewgq0ND92r4jPIGcVicRdbFakeFnz8+wMust8OhfIUhTxxg/Wo BA28HmPyTKL1j3J/F3foRlGlNw4us7gpL8bEk7o9F0Ilsfba8MJjLQY3rmxIiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629457541; a=rsa-sha256; cv=none; b=HvW80quxf5ttBOSGFjbwTQIE7gLvkeEd3s0Sy5RVkdOKhaj7bKur32xb2zXhXonz4+E0Eg cGfvWzGsU9W+zSuVEckltpYbxzlzWKx/mK7yFSmqku1nwa0KSdRU3G0OyqEZRhviRTs9ez 1RbXBhM9YWBGoHxtp6Aql3QB1ifTe0HtH5n2Z8LebdMKB3XBo8vvGYSBFm+L2h1pQ9I4yf T8yk+Uo8oqY9RdXkvA6enMV2WLGTKgN1TZyHkv083qUjkcdSNG8cL/lfz9p6e/TH9OMNB8 LjPndZgZdYZQUppzp9eofPMFpqPYmJXGyfLbDugx5pZ10j4qnTW5qc6wHAQBqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=lOh8Drw3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=lOh8Drw3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BEE11E842 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: xBWGvMlgqX6x Hi, On Sat, 07 Aug 2021 at 08:59, Lars-Dominik Braun wrote: > Hi Maxim, > >> I guess one way it could work was if we had some transformation option >> to rebuild the Python collection against Pypy (do we have something to >> do this already?). > yes, there is package-with-explicit-python in (guix build-system > python), but you=E2=80=99ll need transform every single existing Python p= ackage > with it to make it usable with PyPy (just like Python 2). There=E2=80=99s= also What do you mean? Using =E2=80=99package-with-explicit-python=E2=80=99 on = a package will replace the Python used by the =E2=80=99python-build-system=E2=80=99 f= or all the dependencies. Modulo the issues what C extension, if one wants the Python packages bytecompiled with PyPy, using a manifest containing: --8<---------------cut here---------------start------------->8--- (define package-with-pypy (package-with-explicit-python (delay pypy3 "python-" "pypy-"))) (packages->manifest (map (compose package-with-pypy specification->package)=20=20=20=20 (list "python-foo" "python-bar"))) --8<---------------cut here---------------end--------------->8--- would be the somehow thing I would do. Well, something in the spirit of =C2=ABDefining Package Vaiants=C2=BB. ;-) However=E2=80=A6 > --with-input=3Dpython=3Dpypy3, but I think it will rewrite too much (i.e. > not just packages using python-build-system, but *every* package in the > graph using Python in any way). =E2=80=A6similarly as replacing the Emacs VM [0], I guess some packages will be broken. Well, for instance if some packages use =E2=80=99python-minimal=E2=80=99 instead of =E2=80=99python=E2=80=99, the r= eplacement will not happen. Last, is it an issue to rewrite too much? Cheers, simon 0: