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 ms11 with LMTPS id EH/fCf0nH185BwAA0tVLHw (envelope-from ) for ; Mon, 27 Jul 2020 19:16: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 mp1 with LMTPS id 0NuPBf0nH1+gVAAAbx9fmQ (envelope-from ) for ; Mon, 27 Jul 2020 19:16:13 +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 B8FC0940224 for ; Mon, 27 Jul 2020 19:16:12 +0000 (UTC) Received: from localhost ([::1]:49734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k08bb-0002ZQ-Ez for larch@yhetil.org; Mon, 27 Jul 2020 15:16:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k08bM-0002Wy-TC for guix-devel@gnu.org; Mon, 27 Jul 2020 15:15:59 -0400 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:37372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k08bL-0000Ta-C3; Mon, 27 Jul 2020 15:15:56 -0400 Received: by mail-qv1-xf35.google.com with SMTP id y11so5049907qvl.4; Mon, 27 Jul 2020 12:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=R1jJhaM2f7CeyhO68VS89mVpyklje4YZzSXPB3/vFc0=; b=FaJVKpTGwhoRMfktCQ5TAAmFOi2M0na82E45Ekrw35hmXiiYZeOv7nrankWHmdeyqe rb8q47kDKF4MOFL2IcqVFtwlzDgB8jNj9NmYX/kgMLuZyOwJqkccv+2WmKBJti1jeL/V 5e5OTTKGwkVBJdq1tsq3bEmptsiLFC99TxYSen4M1vmGMYLWvI4GgxH3fYr4zvMiEVio brvcZXl8jkBlT9I23KUcUHp3EBxQluegED0du0bISWZ6+Aoq5C6Bnkhz0TqIgFeUZAUM AyfpXGFRM4u3FTnPdqbmzYzNQfYLPi6jvBPEI3GHG+GoLQ8YrYjvX1m2dwVeYsoXe3Dc +8XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=R1jJhaM2f7CeyhO68VS89mVpyklje4YZzSXPB3/vFc0=; b=YPXGaW3IBW4XAce4w6l4Sqe9eu6GoXTa4L5ISw220NWffISw1+vh64lyq6FqbEeEyW CCr2Gs8Pt4gsQZwUgQz7IefatNJxAPJfQ9J9+7DbnGzFBa5JxHRg8sHkewPw6qk+O0Ma Xe9YzN43EaTsRWKVQ/X+DJvf7jek4rxgJM6qdozLe/PgJp+wzbaaT3P/QZ7jQjky5OPK rWpPO6Qo6CFzcMh/RiMVxcU+2kZao57vJN+SpA4qy8zuOCnAkZZCcFyzEuQdOvHXadWp taJ0t5O324HsyA0vSge1W3ekNOfGZo/z4naFexF5O3N6yCGfAyFRdxdeaaGs8CVEltIo b78w== X-Gm-Message-State: AOAM533d9ZqjwY3vUhNRj/HCOXOrQBml5SGynLst+flbfAE7pJji7pL+ qF4bGtwAZgKtnEGbFVOblhom5UZmCRLgAwZ477lzW7c9 X-Google-Smtp-Source: ABdhPJxkv+UYCA9TtzLKtsORqko9BZZ3XdWn8SrIzXB8eed1byCNx0gul/43rfIWgVqWYV9DkQb6Ha5ra59kFvsSCvM= X-Received: by 2002:a0c:e591:: with SMTP id t17mr4516680qvm.74.1595877353572; Mon, 27 Jul 2020 12:15:53 -0700 (PDT) MIME-Version: 1.0 References: <20200719082714.GB1359@noor.fritz.box> <20200720194254.tiolat2ohihsbgu5@gravity> <20200722064657.GA1350@noor.fritz.box> <878sf5z11c.fsf@gnu.org> In-Reply-To: <878sf5z11c.fsf@gnu.org> From: zimoun Date: Mon, 27 Jul 2020 21:15:40 +0200 Message-ID: Subject: Re: [Python] pypy3 integration To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=zimon.toutoune@gmail.com; helo=mail-qv1-xf35.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: , Cc: =?UTF-8?B?SmFrdWIgS8SFZHppb8WCa2E=?= , Guix Devel , Lars-Dominik Braun Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=FaJVKpTG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Spam-Score: 0.09 X-TUID: O1gQ+0fgZgPW Hi, On Mon, 27 Jul 2020 at 12:48, Ludovic Court=C3=A8s wrote: > Lars-Dominik Braun skribis: > > >> pypy3 works somewhat well for me already in this regard: > > indeed, you=E2=80=99re right. > > > > This will probably break for some packages, because python provides > > Python 3.8 whereas pypy3 provides Python 3.6. (They=E2=80=99ve always = lagged > > behind and given that we=E2=80=99re going towards 3.10, well=E2=80=A6) = One example are > > packages depending on importlib.resources, which only became available > > with Python 3.7. Unfortunately this includes the widely-used pytest (or > > rather: its dependency python-pluggy). > > > > Also Python=E2=80=99s C ABI is not stable[1] and thus extensions compil= ed for 3.8 > > can fail in unpredictable ways with 3.6. And looking at python-numpy, > > it seems they won=E2=80=99t even load. > > Also, what about .pyc files? Does pypy create compatible .pyc files? What do you mean by "compatible .pyc files"? Well, the .pyc generated by CPython should be compatible with the ones generated by Pypy, both VM targeting say Python 3.6. But there is no necessary compatibility between .pyc of Python 3.6 and Python 3.8, at least for CPython as Lars wrote. CPython being the reference implementation, Pypy is always late. > > So, does this justify creating pypy3-* packages? > > It probably does. But do we want to mirror all the =E2=80=98python-=E2= =80=99 packages, > or just some of them? It seems overkill to mirror all of them. With the current situation, somehow you have to. But... > Perhaps we could have a package transformation option to turn a > =E2=80=98python-build-system=E2=80=99 package into a pypy package? ...Yes it could be nice to be able to change the "package builder" of the build-system. (Obviously, without any guarantee that the build would be correct for all combinatorial :-)) The issue is the same for emacs vs emacs-next, GCC versions (without saying gcc vs clang ;-)), OCaml 4.07 vs OCaml 4.09 etc.. We already discussed this kind of issue when discussing "package parameters= ". All the best, simon