|
From: | Lars-Dominik Braun |
Subject: | [bug#46848] [PATCHES] [core-updates] PEP 517 python-build-system |
Date: | Mon, 1 Mar 2021 14:43:22 +0100 |
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
Description: Text Data
0002-gnu-python-pypa-build-Update-to-0.3.0.patch
Description: Text Data
0003-gnu-python-wheel-Install-entrypoint-scripts.patch
Description: Text Data
0004-gnu-python-setuptools-Bootstrap-using-itself.patch
Description: Text Data
0005-python-build-Switch-to-PEP-517-based-build.patch
Description: Text Data
0006-gnu-Add-python-pytoml.patch
Description: Text Data
0007-gnu-Add-python-flit-core.patch
Description: Text Data
0008-gnu-python-pep517-bootstrap-Build-using-flit-core.patch
Description: Text Data
0009-gnu-python-iniconfig-Add-missing-build-input.patch
Description: Text Data
0010-gnu-Add-python-u-msgpack.patch
Description: Text Data
0011-gnu-Add-python-pytest-expect.patch
Description: Text Data
0012-gnu-python-html5lib-Fix-tests-with-pytest-6.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |