Comment 12 for bug 1997365

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

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible/+/865166
Committed: https://opendev.org/openstack/openstack-ansible/commit/f933194813de9d18b89040fa8c5b80bcd0dd967c
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit f933194813de9d18b89040fa8c5b80bcd0dd967c
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