From 0c0b7456e9c3a7a2ab36e48da2f07c1231e19f0e Mon Sep 17 00:00:00 2001 From: likui Date: Thu, 2 Sep 2021 19:58:19 +0800 Subject: 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: Iceaa69d80eef75db5bac67463a59fd615ae0e895 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 9118867..1109fcb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ description_file = author = OpenStack author_email = openstack-discuss@lists.openstack.org home_page = https://docs.openstack.org/oslo.config/latest/ -python-requires = >=3.6 +python_requires = >=3.6 classifier = Development Status :: 5 - Production/Stable Environment :: OpenStack -- cgit v1.2.1