Comment 11 for bug 1997365

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible/+/865312
Committed: https://opendev.org/openstack/openstack-ansible/commit/7eebc69e8a5a2a6346f68b11bd9f6b6109e10fd9
Submitter: "Zuul (22348)"
Branch: master

commit 7eebc69e8a5a2a6346f68b11bd9f6b6109e10fd9
Author: Dmitriy Rabotyagov <email address hidden>
Date: Tue Nov 22 18:10:01 2022 +0100

    Update self version fetching mechanism

    With release of new setuptools running setup.py --version started
    returining extra line. Eventually, running setup.py as a script is not
    considered as good practice and we should not rely on it's output much.
    Instead, we can leverage importlib.metadata as it should be more
    reliable in long run.

    Closes-Bug: #1997365
    Change-Id: Ife227db4ad25851456e1acc6b4daf198f39d989a