diff options
author | Matthew Treinish <mtreinish@kortar.org> | 2020-03-30 07:15:56 -0400 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2020-08-06 08:28:11 +0000 |
commit | 39fe3495d2954366b52126f2dc3c93a40e61e733 (patch) | |
tree | b8d967c6b09ed3bc844203d810e5f1ed1121042a /setup.cfg | |
parent | 206b795517a13d759f60ed9605eb03ca785ce10a (diff) | |
download | pbr-39fe3495d2954366b52126f2dc3c93a40e61e733.tar.gz |
Update python requires packaging metadata for package
The metadata field, 'python-requires' was introduced in PEP440 and
appears to have superseded 'requires-python'. [1] The metadata that pbr
uses for itself and it's test package was using the old incorrect field,
this commit updates it to be the proper metadata to show a working
example. To a certain extent it probably doesn't matter because it's very
unlikely someone will try to install pbr with python 2.5, but it's more
about making sure that pbr itself is leading by example and that it's own
config actually works.
[1] https://github.com/mtreinish/stestr/issues/292
Change-Id: I5eb14d490a3731b6b95d7a1137c33ec2d73f193f
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ project_urls = Bug Tracker = https://bugs.launchpad.net/pbr/ Documentation = https://docs.openstack.org/pbr/ Source Code = https://git.openstack.org/cgit/openstack-dev/pbr/ -requires-python = >=2.6 +python-requires = >=2.6 classifier = Development Status :: 5 - Production/Stable Environment :: Console |