GNU bug report logs - #46848
[PATCHES] [core-updates] PEP 517 python-build-system

Previous Next

Package: guix-patches;

Reported by: Lars-Dominik Braun <lars <at> 6xq.net>

Date: Mon, 1 Mar 2021 13:45:01 UTC

Severity: normal

Tags: patch

Done: Lars-Dominik Braun <lars <at> 6xq.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46848: closed ([PATCHES] [core-updates] PEP 517
 python-build-system)
Date: Fri, 10 Feb 2023 10:14:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 10 Feb 2023 11:13:35 +0100
with message-id <Y+YYzwO3Ga2eMDGZ <at> noor.fritz.box>
and subject line Re: bug#46848: [PATCHES] [core-updates] PEP 517 python-build-system
has caused the debbugs.gnu.org bug report #46848,
regarding [PATCHES] [core-updates] PEP 517 python-build-system
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46848: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46848
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Lars-Dominik Braun <lars <at> 6xq.net>
To: guix-patches <at> gnu.org
Subject: [PATCHES] [core-updates] PEP 517 python-build-system
Date: Mon, 1 Mar 2021 14:43:22 +0100
[Message part 3 (text/plain, inline)]
Hi everyone,

the attached patches switch python-build-system to a PEP 517-based build
system using python-pypa-build.

As discussed previously Python is currently in the process of opening up
for build systems other than setuptools using the API specified in PEP
517. python-pypa-build is a simple tool for building packages using that
new API. It supports setup.py-based builds as a fallback, if no
pyproject.toml is present.

One downside is that this tool is not self-contained and has a few
dependencies. Thus first I bootstrap setuptools using itself (possible
because it bundles all of its own dependencies), then build
python-pypa-build’s dependencies using setuptools (which is fortunately
still possible) and then combine everything into a
python-toolchain(-for-build), which is then used by the build-process.

I can successfully build packages like python-pypa-build and
python-pytest and python-pep517-bootstrap. The latter is using flit as
its build backend. But other packages currently fail because I removed
some arguments.

Cheers,
Lars

[0001-build-python-Handle-missing-setuptools-in-sanity-che.patch (text/x-diff, attachment)]
[0002-gnu-python-pypa-build-Update-to-0.3.0.patch (text/x-diff, attachment)]
[0003-gnu-python-wheel-Install-entrypoint-scripts.patch (text/x-diff, attachment)]
[0004-gnu-python-setuptools-Bootstrap-using-itself.patch (text/x-diff, attachment)]
[0005-python-build-Switch-to-PEP-517-based-build.patch (text/x-diff, attachment)]
[0006-gnu-Add-python-pytoml.patch (text/x-diff, attachment)]
[0007-gnu-Add-python-flit-core.patch (text/x-diff, attachment)]
[0008-gnu-python-pep517-bootstrap-Build-using-flit-core.patch (text/x-diff, attachment)]
[0009-gnu-python-iniconfig-Add-missing-build-input.patch (text/x-diff, attachment)]
[0010-gnu-Add-python-u-msgpack.patch (text/x-diff, attachment)]
[0011-gnu-Add-python-pytest-expect.patch (text/x-diff, attachment)]
[0012-gnu-python-html5lib-Fix-tests-with-pytest-6.patch (text/x-diff, attachment)]
[Message part 16 (message/rfc822, inline)]
From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 46848-done <at> debbugs.gnu.org, Marius Bakke <marius <at> gnu.org>
Subject: Re: bug#46848: [PATCHES] [core-updates] PEP 517 python-build-system
Date: Fri, 10 Feb 2023 11:13:35 +0100
Hi,

> With the pyproject build system now in master, can we close this issue?
yes, I think so.

Cheers,
Lars



This bug report was last modified 2 years and 185 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.