From 7d08a360d73dbf6b1b317867a51dfe86573b51b9 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 9 Mar 2021 09:42:13 +0000 Subject: [PATCH] setup.cfg: Resolve warning setuptools is now emitting the following warning when building nova: UserWarning: Usage of dash-separated 'python-requires' will not be supported in future versions. Please use the underscore name 'python_requires' instead Do as it says. While we're here, we update a few other options to use their new variants and add some additional metadata. This leaves one final warning: Warning: Unknown distribution option: 'requires_python' That unfortunately cannot be fixed here and requires a separate fix in pbr. Change-Id: I859bc89bc1ee80652f471c3463ef6562d720263b Signed-off-by: Stephen Finucane --- setup.cfg | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index 5a21620837d2..58de1ca03ee8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,13 +1,18 @@ [metadata] name = nova summary = Cloud computing fabric controller -description-file = +description_file = README.rst author = OpenStack -author-email = openstack-discuss@lists.openstack.org -home-page = https://docs.openstack.org/nova/latest/ -python-requires = >=3.6 -classifier = +author_email = openstack-discuss@lists.openstack.org +url = https://docs.openstack.org/nova/latest/ +project_urls = + Bug Tracker = https://bugs.launchpad.net/nova/ + Documentation = https://docs.openstack.org/nova/ + Source Code = https://opendev.org/openstack/nova +python_requires = >=3.6 +classifiers = + Development Status :: 5 - Production/Stable Environment :: OpenStack Intended Audience :: Information Technology Intended Audience :: System Administrators