From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BBD9BC433F5 for ; Fri, 29 Apr 2022 20:04:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 595B584094; Fri, 29 Apr 2022 20:04:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EW2mkrdloAZ5; Fri, 29 Apr 2022 20:04:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 57C6684060; Fri, 29 Apr 2022 20:04:32 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AE5AC1BF3A8 for ; Fri, 29 Apr 2022 20:04:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 9D11584060 for ; Fri, 29 Apr 2022 20:04:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vj3XXKZUR_mY for ; Fri, 29 Apr 2022 20:04:29 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-oa1-x2c.google.com (mail-oa1-x2c.google.com [IPv6:2001:4860:4864:20::2c]) by smtp1.osuosl.org (Postfix) with ESMTPS id 9D1B88404A for ; Fri, 29 Apr 2022 20:04:29 +0000 (UTC) Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-deb9295679so9185639fac.6 for ; Fri, 29 Apr 2022 13:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=STuDQsh7iqARNRZjn2DKH+9A2X0NToAJnG67YvXIxdE=; b=BX+A7GndnHLYUJrjcTAtwQOcC9k2HCVK8nk0m39p1z+d5MQ0SnwlhIDDsJovNzZGgD WiSdZ9nROBdXI64HLE1QPcjCNZAyUGTYgNztvWUXlkE+Va3WzalgNx+cY+NmtE7Iy4JQ YWOWqej2iVJaIlUYROz/KfZf8wexQwguk1Sc7KA3HPwfbtEzg7hKudeYC8ZMNnsfI+1A nPR7B0qNs3j7ztlcajOV/juoL/rpwCyxQZqKZN4CgFwjuBtQ6Ugqkdyug8rawRFSdWwi oHVIYyVO/Llovpf4VMLVxN09KUrxFu63I8RFJiOyGu8ePlW4TYplsZ/Tva4Y+EaOV49p RDjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=STuDQsh7iqARNRZjn2DKH+9A2X0NToAJnG67YvXIxdE=; b=NiOZtvsbuzWZDAqL/RQ9zyfoDcC1s3vOioOtnu4DuetcbdmqKQTHRxl2AIYp2tEFsl HoUxihRf6hYbEgsNLzIbhAauq4j48SpztIO30BkGn1oStUEz62Obe3MWSK19ecxPLHq3 gMmp85ROM9PkkEIBUtUYWYnLl74mSEncjeziHf3RI/6N9CCdFr44wiko8jEGq6agi5ef cV99PQKXVTI95JFvDb7vyWUz8NLcs6cN7BEdcZg2tghae+iQXuhYuMOcCJDA1OXG6gcN gPLp0FNhCuSBQF7Q3yailaxTVDZr74wq1IMfXTpB1aF88FAGvJ497TnOJ2DAjH2sybbI 9gZA== X-Gm-Message-State: AOAM530v0JXJ4YPoNuZO5tfBRymf0u6mivXQw5/Gqz+fFvFkxjUmgcic M92V51Loi6oe2S11ag839o7CyjyoyKlopE6yurE= X-Google-Smtp-Source: ABdhPJzX7Wn2Agh5YNArY/LdWEDGS0i+eDZlmhHgPgtq6v4/42NysV7ihaDGXkSC9HeN+2V7i+gH75QNNp4E1Jl0Tv4= X-Received: by 2002:a05:6870:311d:b0:de:9b6c:362b with SMTP id v29-20020a056870311d00b000de9b6c362bmr1999598oaa.200.1651262668249; Fri, 29 Apr 2022 13:04:28 -0700 (PDT) MIME-Version: 1.0 References: <20220424213958.1747120-1-james.hilliard1@gmail.com> <20220424213958.1747120-4-james.hilliard1@gmail.com> <57660639-2f34-4068-793a-ce82fc881b47@mind.be> In-Reply-To: From: James Hilliard Date: Fri, 29 Apr 2022 14:04:17 -0600 Message-ID: To: Arnout Vandecappelle Subject: Re: [Buildroot] [PATCH v7 4/5] package/python-tomli: bump to version 2.0.1 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E . MORIN" , Thomas Petazzoni , Asaf Kahlon , buildroot Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" On Wed, Apr 27, 2022 at 1:15 AM James Hilliard wrote: > > On Wed, Apr 27, 2022 at 1:07 AM Arnout Vandecappelle wrote: > > > > > > > > On 26/04/2022 03:35, James Hilliard wrote: > > > On Mon, Apr 25, 2022 at 4:37 PM Arnout Vandecappelle wrote: > > >> > > >> > > >> > > >> On 24/04/2022 23:39, James Hilliard wrote: > > >>> This package now requires flit and must use the flit-bootstrap setup > > >>> type for the host build since it is a dependency of > > >>> host-python-pypa-build. > > >>> > > >>> Signed-off-by: James Hilliard > > >> > > >> > > >> Applied to master, thanks. > > >> > > >> While testing this series, I noticed that the following gives an error (this > > >> was already the case in the original series; I haven't checked how it was before > > >> your series was applied - for tomli, it certainly wouldn't happen because it > > >> would still be using setuptools, but maybe for other flit packages, I don't know). > > >> > > >> make python-tomli > > >> make python-tomli-dirclean > > >> make python-tomli > > >> ... > > >> FileExistsError: File already exists: > > >> /home/arnout/src/buildroot/output/target/usr/lib/python3.10/site-packages/tomli/__init__.py > > > > > > I think it happens only when building across version bumps, probably a bug > > > with installer(https://github.com/pypa/installer) upstream. > > > > No, it's exactly the sequence of commands that I wrote above that triggers it. > > Oh, yeah, I see what's happening, I was testing with per-package directories > which prevents one from hitting that issue in most cases since it clears out > the conflicting/old artifacts with dirclean. > > > > > I haven't checked if this is the case for flit/pep517 packages in general, or > > just for flit-bootstrap. > > Likely affects all flit/flit-bootstrap and pep517 packages if I had to > guess, seems > due to stale build artifacts lying around combined with installer not wanting to > overwrite artifacts in general, might need to upstream some way to enable > artifact overwrites, I'll look into that. Issue opened upstream: https://github.com/pypa/installer/issues/121 > > > > > Regards, > > Arnout > > > > > > > >> > > >> Would be nice to get that fixed... > > > > > > Yeah, I'll see if I can track that issue down. > > > > > >> > > >> Regards, > > >> Arnout > > >> > > >>> --- > > >>> Changes v6 -> v7: > > >>> - only use flit-boostrap for host-python-tomli > > >>> --- > > >>> package/python-tomli/python-tomli.hash | 4 ++-- > > >>> package/python-tomli/python-tomli.mk | 7 ++++--- > > >>> 2 files changed, 6 insertions(+), 5 deletions(-) > > >>> > > >>> diff --git a/package/python-tomli/python-tomli.hash b/package/python-tomli/python-tomli.hash > > >>> index 1a274c8a40..8368f9ee13 100644 > > >>> --- a/package/python-tomli/python-tomli.hash > > >>> +++ b/package/python-tomli/python-tomli.hash > > >>> @@ -1,5 +1,5 @@ > > >>> # md5, sha256 from https://pypi.org/pypi/tomli/json > > >>> -md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz > > >>> -sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz > > >>> +md5 d4341621d423a7ca6822e23d6d52bb9a tomli-2.0.1.tar.gz > > >>> +sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f tomli-2.0.1.tar.gz > > >>> # Locally computed sha256 checksums > > >>> sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE > > >>> diff --git a/package/python-tomli/python-tomli.mk b/package/python-tomli/python-tomli.mk > > >>> index b8c20ca736..b803d67466 100644 > > >>> --- a/package/python-tomli/python-tomli.mk > > >>> +++ b/package/python-tomli/python-tomli.mk > > >>> @@ -4,12 +4,13 @@ > > >>> # > > >>> ################################################################################ > > >>> > > >>> -PYTHON_TOMLI_VERSION = 1.2.0 > > >>> +PYTHON_TOMLI_VERSION = 2.0.1 > > >>> PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz > > >>> -PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa > > >>> -PYTHON_TOMLI_SETUP_TYPE = distutils > > >>> +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3 > > >>> PYTHON_TOMLI_LICENSE = MIT > > >>> PYTHON_TOMLI_LICENSE_FILES = LICENSE > > >>> +PYTHON_TOMLI_SETUP_TYPE = flit > > >>> +HOST_PYTHON_TOMLI_SETUP_TYPE = flit-bootstrap > > >>> > > >>> $(eval $(python-package)) > > >>> $(eval $(host-python-package)) _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot