From 3320c662c8030a33722a6a92a354045500b69dba Mon Sep 17 00:00:00 2001 From: yangyawei Date: Thu, 29 Apr 2021 17:36:53 +0800 Subject: [PATCH] setup.cfg: Replace dashes with underscores Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I01ed896fb685dc6e8873b26942fa1c85c897a25f --- setup.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 4d5cca26..7dd5515a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,12 +1,12 @@ [metadata] name = ansible-collections-openstack.cloud summary = Ansible collections for Openstack cloud -description-file = +description_file = README.md author = OpenStack -author-email = openstack-discuss@lists.openstack.org -home-page = https://opendev.org/openstack/ansible-collections-openstack/ +author_email = openstack-discuss@lists.openstack.org +home_page = https://opendev.org/openstack/ansible-collections-openstack/ classifier = License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) Development Status :: 5 - Production/Stable @@ -17,7 +17,7 @@ classifier = Topic :: Utilities [global] -setup-hooks = +setup_hooks = pbr.hooks.setup_hook [files]