Files
openstack-ansible/pyproject.toml
Dmitriy Rabotyagov 17b31bf510 Fix OSA_VERSION during upgrades
Installing OSA in editable mode no longer produce egg-info and wheels,
which results in existance of stale egg-info which returns an old
version for openstack-ansible package.

As we do `cd ${OSA_CLONE_DIR}` this is appended to PATH, making
`importlib` to respect stale egg-info rather then actually installed
version from venv.

On top of that we add a simple pyproject.toml to define the build
backend of pbr to detect package versioning correctly during
installation, as otherwise behavior may be unexpected [1] due to
deprecation.

[1] https://github.com/pypa/pip/issues/11457

Closes-Bug: #2137630
Change-Id: I33c4cd030985a360570202b78e9d6f23f72edbb0
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2026-01-26 21:17:52 +00:00

4 lines
69 B
TOML

[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"