From ee437c72ca133b42e9abf37b155615888c6711e4 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Thu, 2 Nov 2023 11:16:49 +0000 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: I7cfef5bfabfd416e3ea5951ec14e1babb7a000fe --- 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"