summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2019-10-14 12:14:35 +0100
committerStephen Finucane <sfinucan@redhat.com>2019-11-18 10:31:06 +0000
commit14872caae1a51c7015dd7c509d0173df2e943ed4 (patch)
tree765116db11c7fa75c6363881867dec2da91eeefd /setup.cfg
parent85a1dd338bf5c0317b1e969927471118f040abe0 (diff)
downloadnova-14872caae1a51c7015dd7c509d0173df2e943ed4.tar.gz
Stop testing Python 2
It's Ussuri. We can *finally* stop testing Python 2 [1]. Time to party. We don't attempt any cleanup but simply stop testing with Python 2, indicate that we only support Python 3 via 'setup.cfg' and remove any Python 2 only dependencies. Our 'tox.ini' is modified such that 'functional' now runs with 'python3', whatever that may point to, though the gate will only use a versioned variant (currently 'functional-py36'). This should free up a significant amount of resources from the gate and let us start using Python 3 idioms in our code. Win-win. [1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html#python2-deprecation-timeline Change-Id: Ie1a0cbd82a617dbcc15729647218ac3e9cd0e5a9 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index 9dc249a5dc..22cdff1c16 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -6,6 +6,7 @@ description-file =
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/nova/latest/
+python-requires = >=3.6
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@@ -13,11 +14,11 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
+ Programming Language :: Python :: 3 :: Only
+ Programming Language :: Python :: Implementation :: CPython
[extras]
osprofiler =