From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EAK6JKN2DWD5PgAA0tVLHw (envelope-from ) for ; Sun, 24 Jan 2021 13:31:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6JSKIKN2DWABEgAA1q6Kng (envelope-from ) for ; Sun, 24 Jan 2021 13:31:15 +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 595649401C0 for ; Sun, 24 Jan 2021 13:31:15 +0000 (UTC) Received: from localhost ([::1]:56666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3fU2-0004LK-Aw for larch@yhetil.org; Sun, 24 Jan 2021 08:31:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3fTj-0004Kr-KO for guix-devel@gnu.org; Sun, 24 Jan 2021 08:30:56 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:42985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3fTe-0006OM-MW for guix-devel@gnu.org; Sun, 24 Jan 2021 08:30:54 -0500 X-Originating-IP: 176.185.184.238 Received: from localhost (static-176-185-184-238.ftth.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 60B05E0002; Sun, 24 Jan 2021 13:30:44 +0000 (UTC) Date: Sun, 24 Jan 2021 14:30:41 +0100 From: Tanguy LE CARROUR Subject: Re: Questions regarding Python packaging To: Lars-Dominik Braun References: <20201108142717.lmud5h4gh44vtjc6@melmoth> <1609946775.8blxygrg9p.astroid@rafflesia.none> <1611303651.35tpgtn1z1.astroid@melmoth.none> In-Reply-To: MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1611494439.lybv9gtgn3.astroid@melmoth.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=217.70.183.196; envelope-from=tanguy@bioneland.org; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=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: Guix Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.35 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Migadu-Queue-Id: 595649401C0 X-Spam-Score: -2.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: ocAWn+8TmXen Hi Lars, Excerpts from Lars-Dominik Braun's message of January 23, 2021 1:34 pm: >> Done! :-) >> I've eventually succeeded in ("properly") packaging a software managed >> with Poetry. And I've learned quite a lot on the way! > oh, I see. I=E2=80=99ve actually been trying to replace python-build-syst= em with > a python-build based build. Attached is my current work in progress. I > cannot quite build python-build, , ?! My `python-build` seems to work: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45931 > because I=E2=80=99m lacking support for python-flit I also had a problem with `python-flit`, but it was when I was working on `python-typer`: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45935 This is why I didn't build it from the source. > but I think the general idea is clear: Remove pip and > setuptools from python (saves almost 20MiB from the closure and avoids > weird conflicts between python=E2=80=99s setuptools and python-setuptools= ) and > turn them into (almost) ordinary packages. Then use setuptools to > bootstrap itself, bootstrap python-build with setuptools and use > python-build to build evrey other packages using python-build-system. Wow, the rest is way out of my comfort zone! But I'll read it carefully and try to help if I can! Best regards, --=20 Tanguy