From ac5b939013f84fab41ef356aaf8587e012c38eef Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 13 May 2025 12:18:53 +0100 Subject: [PATCH] Add pyproject.toml to support pip 23.1 pip 23.1 removed the "setup.py install" fallback for projects that do not have pyproject.toml and now uses a pyproject.toml which is vendored in pip. pip 25.3 will go a step further and enforce presence of this file. To address that, this change adds the minimal pyproject.toml to enable pbr to be properly used to build editable wheels. See [1] and [2] for more details on the removal of the fallback support. [1] https://pip.pypa.io/en/stable/news/#v23-1 [2] https://github.com/pypa/pip/issues/8368 Change-Id: Icbfd8a97c99c3c5b5ac6e3ec27d41627e15dc458 Signed-off-by: Stephen Finucane --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000000..2a38d6bc75 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["pbr>=6.1.1"] +build-backend = "pbr.build"