placement/pyproject.toml
Stephen Finucane e6b5bf35c3 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 [1][2]. pip 24.2 has now deprecated a similar fallback to
"setup.py develop" and plans to fully remove this in pip 25.0 [3][4][5].
pbr supports editable installs since 6.0.0 so we can get ahead of this
by adding our own minimal pyproject.toml to ensure we are using the
correct build system.

[1] https://pip.pypa.io/en/stable/news/#v23-1
[2] https://github.com/pypa/pip/issues/8368
[3] https://pip.pypa.io/en/stable/news/#v24-2
[4] https://github.com/pypa/pip/issues/11457
[5] https://ichard26.github.io/blog/2024/08/whats-new-in-pip-24.2/

Change-Id: Ice42ff83210953861ff70888e97e3cb371ed192d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-10-15 12:47:08 +01:00

4 lines
91 B
TOML

[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
build-backend = "pbr.build"