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
This commit is contained in:
parent
206b795517
commit
39fe3495d2
|
@ -15,7 +15,7 @@ description-file =
|
|||
README.txt
|
||||
CHANGES.txt
|
||||
description-content-type = text/plain; charset=UTF-8
|
||||
requires-python = >=2.5
|
||||
python-requires = >=2.5
|
||||
|
||||
requires-dist =
|
||||
setuptools
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue