From 7a57e02ea57caaf0b22d212fbf5eea14bd031ff3 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 13 May 2025 12:33:42 +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/836 Signed-off-by: Stephen Finucane Change-Id: I40f9b914af6a714fe2e9b4180c4a9727bbafad48 --- 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 000000000..2a38d6bc7 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["pbr>=6.1.1"] +build-backend = "pbr.build"