Skip to content

Commit 50595ee

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: Id8e9d66ac026bc359287b997c5c49fbb857667d6 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
1 parent 2d6fea7 commit 50595ee

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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.1.1"]
3+
build-backend = "pbr.build"

0 commit comments

Comments
 (0)