From 021780c99d85eeb4cf5ba653bd1c1501e2c88130 Mon Sep 17 00:00:00 2001 From: niuke Date: Thu, 25 May 2023 10:44:51 +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: If80a95e2d8d6b91f150bbdec0e72f37ff1fe974c --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index f5190f5..bbaef5a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,7 +25,7 @@ author_email = openstack-discuss@lists.openstack.org home_page = https://launchpad.net/blazar [global] -setup-hooks = pbr.hooks.setup_hook +setup_hooks = pbr.hooks.setup_hook [files] packages =