From af317c37ad10105cce150eeed2812b934fcbceed Mon Sep 17 00:00:00 2001 From: LiZekun <2954674728@qq.com> Date: Tue, 22 Mar 2022 19:52:19 +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: I08c7cfa28cffe1d82889c9133ec33a8a2e4b560e --- setup.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 6abb47c..a7b70ce 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,11 +1,11 @@ [metadata] name = python-adjutant author = OpenStack -author-email = openstack-discuss@lists.openstack.org +author_email = openstack-discuss@lists.openstack.org summary = An admin task workflow service for openstack. -description-file = package_readme.rst -description-content-type = text/x-rst; charset=UTF-8 -home-page = https://opendev.org/openstack/adjutant +description_file = package_readme.rst +description_content_type = text/x-rst; charset=UTF-8 +home_page = https://opendev.org/openstack/adjutant project_urls = Bug Tracker = https://storyboard.openstack.org/#!/project/openstack/adjutant Documentation = https://docs.openstack.org/adjutant/latest/