From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cEsaFhD6jGFJUAAAgWs5BA (envelope-from ) for ; Thu, 11 Nov 2021 12:10:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yDXSERD6jGEfDgAAbx9fmQ (envelope-from ) for ; Thu, 11 Nov 2021 11:10:08 +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 AF22F34C68 for ; Thu, 11 Nov 2021 12:10:07 +0100 (CET) Received: from localhost ([::1]:34332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ml7y2-0001hB-Su for larch@yhetil.org; Thu, 11 Nov 2021 06:10:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkulY-0000jo-4q for guix-devel@gnu.org; Wed, 10 Nov 2021 16:04:20 -0500 Received: from [2a00:1450:4864:20::42b] (port=42538 helo=mail-wr1-x42b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkulW-0001Y3-Ms for guix-devel@gnu.org; Wed, 10 Nov 2021 16:04:19 -0500 Received: by mail-wr1-x42b.google.com with SMTP id c4so6216422wrd.9 for ; Wed, 10 Nov 2021 13:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=ZtZJmvZCTLWpyw8Z56nfTl+gOECuMYNjgz8dw2l9qSM=; b=qJyEA1dYOgIJTBhCiHT4EiMR1jgycQ1RWpmLtpTGZVRw+11ETZ4LBh3Vky9wGsoffV IZILulgT8nuywBgRfIr5EWPg1p2qxFelOzqpu35dkLz4qx7svDSc5FmWwQj2TeHxgRBg +YgD9V3asDCKNglhMAsmOb4XSzVMzLOua1rPMJQClgf6DwcgDJh5h2yVcNoy6uvguzMN EucEcVtSw+0eEx90ofgXKhKXnU3frgqu+2ysQjf6tuRzYPolwLYjkbRIoAaEU29QCaDx 4H+FR2NFogveStf7Rrp1nJNWC+Ax/u+pEf/pAz9Wj3Ebm6JxF0w7DgeSa67z6I6ou447 PE9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=ZtZJmvZCTLWpyw8Z56nfTl+gOECuMYNjgz8dw2l9qSM=; b=RFHB2iR/9V17lAqOPvGUhhc24QQS/dNuCxKeUgXxuN+pI+eqz5FiHuk0aXpuQJHHvD YL7jZ6gd//F+yvj3xdFA2l748xe+7GWk6vROa+O1YCyWg00seR2PYSbWsaYOCwc9iodC 6YFpoH8CUaVQOI+aNWfCvU4YQ5h8/4fSGlgW7Xn8BNeat8lg0NNq5bSnW0ILIQjaZIgp oRKomhRCMewQlnuYNr7OJA34aRe0k7rPBU5sdj5oJuAPpotn6hYiQXr9szd199s24PTr f/QyfaNGMEkqscs67a6VNJdNcU7N6qxsmiRZWKoErPfgLbYuyM9eaW3dQ+RONLABjpqO vIQg== X-Gm-Message-State: AOAM532caCqOnzmAcarzXNCeTzSu9D2BjGVhfKFpKSE6xejI5gexstnk OidT4hgPKgCG8mNTUQterqCxK8pbhOA0HQ== X-Google-Smtp-Source: ABdhPJx/x+0OteyY73YxELYLNXdNIDjSpKpR1m5Z+AFZvE50AikmNLTvkakh58QRWI+ehz5yQrtSfA== X-Received: by 2002:a5d:68cb:: with SMTP id p11mr2391198wrw.262.1636578256585; Wed, 10 Nov 2021 13:04:16 -0800 (PST) Received: from gazelle.gmail.com (p579ad3d6.dip0.t-ipconnect.de. [87.154.211.214]) by smtp.gmail.com with ESMTPSA id b10sm1039919wrt.36.2021.11.10.13.04.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 13:04:16 -0800 (PST) References: <87k0hfg63o.fsf@gmail.com> User-agent: mu4e 1.6.9; emacs 28.0.60 From: =?utf-8?Q?Th=C3=A9o?= Maxime Tyburn To: guix-devel@gnu.org Subject: Re: python: setuptools version =?utf-8?Q?doens=E2=80=99t?= match guix package version / packaging python-ipydatawidgets Date: Wed, 10 Nov 2021 22:00:25 +0100 In-reply-to: <87k0hfg63o.fsf@gmail.com> Message-ID: <87fss3g1tc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=theo.tyburn@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 11 Nov 2021 06:07:40 -0500 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636629007; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=ZtZJmvZCTLWpyw8Z56nfTl+gOECuMYNjgz8dw2l9qSM=; b=M3lMpCP7sZ/Ev9HL9IlpCmOHYUzHsCCuOYkArHCHPb4w0BhKhM+wG/xY58IDW3xy3z3cmb paX4Le/gmxVLfwGsR4lJWTDozMcOpMyekayShmq+37/yJ6TJx5V9mdTaucUZXx499eaKJ2 JnJJy0wPSgzK5vqCSQxbJ8rL/32yIKVTAmbKbYJMQDlSkAZpt/XZwWnrts+rseQ+o6qH6l 1l7taGUgJLZR90vxWRjY9FjyHnQA7KZbQ39iRyTUOQSz1kuQUkjZn4gkFJJlMbpZv0/Ebb g8lqz1yQHw1N7XG4iU5E8vYrGpiHolZan4g/a85MJLSduvnimsCQ7Spa2/Plqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636629007; a=rsa-sha256; cv=none; b=huaYVRPsGGODS5ofsYY6a9+UiOWdlzbf8YhAtseXiEvgNsh82PjNcxhoxw7QbuVbC4VIN8 ROqPcunOhKIJzojWJbimT6Cv2lkQYtzP1si+cK3WU93xwRvnPZkQrEPU2v90xOctDedqOW iD0QpaBmBeCvpLI6L12NJkQcNKfB74+3fMACulpDskXxkF7PkBeYcuQg0WEz8SuXtWemv7 attTrzEMiMxqhqaO3bDB781/zH4+tuFLwZ+08DllO/DljP7ziPeqRW5BESSFFmUfYBukat jij6A5fbkXdIiyReH1C6E4FETIXgyK/SFikUBCVHjj5NC6wD91uIaKzQ+wSo0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qJyEA1dY; 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-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qJyEA1dY; 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: AF22F34C68 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: kNTAbcQbCSRq I managed to package "python-ipydatawidgets" in the end. I just added "python-setuptools" to the inputs. So it was easy. I thought setuptools is always present in the build phase of python packages, my bad. Though this still doesn=E2=80=99t clear this mystery about the version of setuptools not being the right one... Th=C3=A9o Maxime Tyburn writes: > Hi Guixs, > > I am trying to package "python-ipydatawidgets" which relies on > "python-jupyter-packaging" which in turn relies on > "python-setuptools". It fails seemingly because the setuptools version > is outdated (41.2.0) even if the guix pakage python-setuptools is said > to have version 52.0.0 or 58.0.0 > > To test the version of setuptools I ran: >> guix shell --pure python-setuptools@52.0.0 python python-ipython -- >> ipython -c "import setuptools; setuptools.__version__" >>Out[1]: '41.2.0' > > Looking at the source code of setuptools in my store and comparing it to > the setuptools source on github I seems outdated indeed. I located the > source in the store with >> guix shell --pure python-setuptools@52.0.0 python python-ipython -- >> ipython -c "import setuptools; setuptools.__file__" >> Out[1]: >> '/gnu/store/sd2ic7bpv8fx3imy1j8xcjclx71sv6q0-python-3.8.2/lib/python3.8/= site-packages/setuptools/__init__.py' > > I don=E2=80=99t understand how this could happen though since the definit= ion of > python-setuptools seems just fine in python-xyz.scm ... > > I pretty knew to packaging so I might be missing something obvious. Any i= dea ? > > Cheers, > > Th=C3=A9o