From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4FJBCUOHWmPudgEAbAwnHQ (envelope-from ) for ; Thu, 27 Oct 2022 15:27:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AL+/CEOHWmPLYgAAauVa8A (envelope-from ) for ; Thu, 27 Oct 2022 15:27:31 +0200 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 049FE3BC4A for ; Thu, 27 Oct 2022 15:27:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo2uP-0003Ka-HI; Thu, 27 Oct 2022 09:26:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo2tY-0006xy-Mw for guix-patches@gnu.org; Thu, 27 Oct 2022 09:26:25 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oo2tX-0007hT-3w for guix-patches@gnu.org; Thu, 27 Oct 2022 09:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo2tW-0002cK-Uy for guix-patches@gnu.org; Thu, 27 Oct 2022 09:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58587] [PATCH 01/14] gnu: python-setuptools: Move to python-build. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Oct 2022 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58587 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 58587@debbugs.gnu.org, Lars-Dominik Braun Received: via spool by 58587-submit@debbugs.gnu.org id=B58587.166687716210043 (code B ref 58587); Thu, 27 Oct 2022 13:26:02 +0000 Received: (at 58587) by debbugs.gnu.org; 27 Oct 2022 13:26:02 +0000 Received: from localhost ([127.0.0.1]:56471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo2tV-0002br-Ka for submit@debbugs.gnu.org; Thu, 27 Oct 2022 09:26:02 -0400 Received: from mail-qv1-f53.google.com ([209.85.219.53]:35582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo2tT-0002bY-N4 for 58587@debbugs.gnu.org; Thu, 27 Oct 2022 09:26:00 -0400 Received: by mail-qv1-f53.google.com with SMTP id i12so1245098qvs.2 for <58587@debbugs.gnu.org>; Thu, 27 Oct 2022 06:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=lXZUGEB4vddghl/XwdYOJ8G6NWYf16wJz+Nlm7grWkc=; b=ko+RZyulrurlFnhqaR5L+tukE0bB5tf61C4Vsi2YA5m0aKfjdX1AswDG9RQiSRd31S FK4apcwGAqoqoN099kIudoDBQUExIcq8YTK4xtutjAldlmFwBVAnP61N2as+aGNHkTUK uwdsjDpYmV37uFJJaajWmAqV9HEAmddnTKcJ6IR7OjSf9+W36C7esNvW340A0zDGTdw8 u8MmaNXs8/kxpKIjViMLsMQ1RBHTSKr+OKuTNK8cUyaBRFWpl2lu5lB0WJ4/UgrEbMd9 7DnqZekRths3AJA2ZMWUV5SvLiTe9oqjadDqhjy/UjxAbp2YWeKDYTGTwrvqU0j3vtf3 ZCEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lXZUGEB4vddghl/XwdYOJ8G6NWYf16wJz+Nlm7grWkc=; b=bJhrn2oFjNI70VLSm5Vvywb+6Oo0fPqpHZueD7NO467RQJIgHhYkXIu/GylAG66pKW wrKX+oKJm3kho0Sj7dIf9MOn8OZswmQgnSYF8Y8kzqmI/nqzV737+nH6kDYuSSDfrf4h w0yyTo6/EQBpSOv7r2v6l/NOST2UaRkwdWmrX35ha3/p3/ePhaBGFwZw2ZfwNpshU56s xS6VvVwO8n1ZTMgid1TKr76gc/tsC+AgAf7EOGrKUXxKhiJE2zX3k+MB4NXQK2bIEWf/ w0iiA7h0/onKOh56BsDYQu86fw2dIDsqYzOVemEl4/XuLn+wTIi61P+HpdeQwTExg1m/ oo3A== X-Gm-Message-State: ACrzQf3exdw9qUQSTfc27ph8jf+JhT4txMomRuDj6eURVnuHTWNBNEn0 Cb+LvdX3wkZshtF9ZLBdPlA= X-Google-Smtp-Source: AMsMyM45TPTA6LooCloUUjYdV1ACkzgKoJ/+jlbA5ljVPVQl+lMdwVM0UDfUyfN3qCjzm3xNxxPI7w== X-Received: by 2002:a05:6214:d6b:b0:4b9:8b40:1126 with SMTP id 11-20020a0562140d6b00b004b98b401126mr30361922qvs.101.1666877154154; Thu, 27 Oct 2022 06:25:54 -0700 (PDT) Received: from hurd (dsl-152-179.b2b2c.ca. [66.158.152.179]) by smtp.gmail.com with ESMTPSA id r12-20020ae9d60c000000b006f9f3c0c63csm816423qkk.32.2022.10.27.06.25.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 06:25:53 -0700 (PDT) From: Maxim Cournoyer References: <20221017200624.4076-1-marius@gnu.org> <20221017201201.4808-1-marius@gnu.org> Date: Thu, 27 Oct 2022 09:25:52 -0400 In-Reply-To: <20221017201201.4808-1-marius@gnu.org> (Marius Bakke's message of "Mon, 17 Oct 2022 22:11:48 +0200") Message-ID: <87czadl7of.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) 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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666877251; 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=lXZUGEB4vddghl/XwdYOJ8G6NWYf16wJz+Nlm7grWkc=; b=bL8LzuRpXCpcanKnUlL9Zh9w+pbMC5y8m7NE+8M+JMeMMoHvAuq1bwb+BdYFLk8+/5jFr7 vPMYcaQiRdNLD5f1c+hb8oPENhwHjBqWEeWXhDfFEmiV1kEX+OGXkNWrGzoOqHWyjJr8KU Q+52paCDmpuRwrYqK0nzVRvkgJ0VZK2YTdyPWGzmAlGotjiUPxlcSrokZ0J4i7k6W3lcd3 d5bVj5zMjb9UX5sV49DRVSD/7u8U038R2PAZxYqqkGZLzjS8gV5Y5DD/u/GcQLR3l0Yk8i WKXLqal6lMAiJwPdX6/1g1QADrgcuL1dn6U+1DOxM4rNomHZ2XQ+6XQvCBAXGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666877251; a=rsa-sha256; cv=none; b=sgRm1URpDtW3NKJjRkxfI6yjSTM28AAN2YawtWhgMrN0dnGWkVbQxuxV3/hrZKnTbfdqdO /qQuAU7/hR7SYVo1VlHiIZ1Te5aM9f8IHdT4aajJzjU4XbF9FPJMZAIOalbya9oWrDxzPZ 4PjwKTJahq7o4nddClvjWqiqbOJOpR9x0pz1eW5ed1693s2O8kYZmBBY6r4+O4AFS/XFRS 9YtPUk7wRZB5x9uPuvVKodvqouBIVHgpCx2vEG5cVykhjiMeQWlwujRmYw+k7tbwRSTQGu nYfAjY4mqYE3leOeQCcBk8IaxUnaxTtMdBc6caxu32Is4Z0PS5gyCGHfsejNgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ko+RZyul; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ko+RZyul; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 049FE3BC4A X-Spam-Score: 7.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: Lc/4pb7AkD3X Hi, Marius Bakke writes: > From: Lars-Dominik Braun > > * gnu/packages/python-xyz.scm (python-setuptools): Move=E2=80=A6 > * gnu/packages/python-build.scm: =E2=80=A6here. > * gnu/packages/chemistry.scm, > gnu/packages/messaging.scm, > gnu/packages/sequoia.scm, > tests/lint.scm: Adjust module imports accordingly. > > Co-authored-by: Marius Bakke [...] > +(define-public python-setuptools > + (package > + (name "python-setuptools") > + (version "64.0.3") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "setuptools" version)) > + (sha256 > + (base32 > + "1sllqf0bhsl2yilf1w0xnlz0r4yaksmwaj0ap91zdc6kgbigdjiv")) > + (modules '((guix build utils))) > + (snippet > + ;; Remove included binaries which are used to build self-extract= ing > + ;; installers for Windows. > + ;; TODO: Find some way to build them ourself so we can include t= hem. I don't think we need a TODO to fix installers for Windows. > + '(for-each delete-file (find-files "setuptools" > + "^(cli|gui).*\\.exe$"))))) > + (build-system python-build-system) > + ;; FIXME: Tests require pytest, which itself relies on setuptools. > + ;; One could bootstrap with an internal untested setuptools. > + (arguments (list #:tests? #f)) > + (home-page "https://pypi.org/project/setuptools/") > + (synopsis "Library designed to facilitate packaging Python projects") > + (description "Setuptools is a fully-featured, stable library designe= d to > +facilitate packaging Python projects, where packaging includes: > +@itemize > +@item Python package and module definitions > +@item distribution package metadata > +@item test hooks > +@item project installation > +@item platform-specific details. > +@end itemize") > + ;; TODO: setuptools now bundles the following libraries: > + ;; packaging, pyparsing, six and appdirs. How to unbundle? A better place for this TODO would be next to the snippet in the origin, perhaps? -- Thanks, Maxim