summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2019-10-04 14:42:41 +0200
committerAkihiro Motoki <amotoki@gmail.com>2020-02-05 05:58:51 +0000
commite6e4b73efa01281002930e0806b765200f38e7c8 (patch)
tree7d329f2d53fad8b6f32825b8ae5b448994612604
parent70ab3f9dd56a638cdff516ca85baa5ebd64c888b (diff)
downloadpython-openstackclient-e6e4b73efa01281002930e0806b765200f38e7c8.tar.gz
Complete "Drop python2 support" goal
We stopped testing python2, but there are more things to be cleanup. - Remove python2 entries from setup.cfg - Add releasenotes - remove universal wheel since this is only python 3 now Change-Id: Ie2bbb4d34b8411939ad5cfd750fc76c933779542
-rw-r--r--doc/requirements.txt3
-rw-r--r--releasenotes/notes/drop-py2-421c90fbdf18dbc2.yaml7
-rw-r--r--setup.cfg5
3 files changed, 8 insertions, 7 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 8639f936..5cfc337b 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -3,8 +3,7 @@
# process, which may cause wedges in the gate later.
openstackdocstheme>=1.23.2 # Apache-2.0
reno>=2.5.0 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.5,<2.0.0;python_version=='2.7' # BSD
-sphinx!=1.6.6,!=1.6.7,>=1.6.5;python_version>='3.4' # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.5 # BSD
sphinxcontrib-apidoc>=0.2.0 # BSD
# redirect tests in docs
diff --git a/releasenotes/notes/drop-py2-421c90fbdf18dbc2.yaml b/releasenotes/notes/drop-py2-421c90fbdf18dbc2.yaml
new file mode 100644
index 00000000..74c5d8b5
--- /dev/null
+++ b/releasenotes/notes/drop-py2-421c90fbdf18dbc2.yaml
@@ -0,0 +1,7 @@
+---
+upgrade:
+ - |
+ Python 2.7 support has been dropped. The last release of
+ python-openstackclient to support Python 2.7 is OpenStack Train. The
+ minimum version of Python now supported by python-openstackclient is
+ Python 3.6.
diff --git a/setup.cfg b/setup.cfg
index fcc97007..60caf5db 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -13,8 +13,6 @@ 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
@@ -720,9 +718,6 @@ openstack.volume.v3 =
[upload_sphinx]
upload-dir = doc/build/html
-[wheel]
-universal = 1
-
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg