Skip to content

Commit 88027a9

Browse files
kajinamitSeanMooney
andcommitted
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. To address that, this change adds the minimal pyproject.toml to enable pbr to be properly used to build editable wheels. This is required to support installing devstack on centos stream 9 and related distros with GLOBAL_VENV=True Without this change the wsgi scripts are not generated in editable mode. i.e. pip install -e /opt/stack/keystone See https://pip.pypa.io/en/stable/news/#v23-1 and pypa/pip#8368 for more details on the removal of the fallback support. setuptools v64.0.0 is used to support editable installs via its PEP-660 implmentation pypa/setuptools#3488 Co-Authored-By: Sean Mooney <work@seanmooney.info> Change-Id: Iebe24254a74a03d388c2ad768f4bc79945047084
1 parent 6b7b8bb commit 88027a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
3+
build-backend = "pbr.build"

0 commit comments

Comments
 (0)