[ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle. solum-dashboard is ready with python 3 and ok to drop the python 2.7 support. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Depends-On: https://review.opendev.org/#/c/693631/ Change-Id: Iaeb821e3e31f7b2bfcd60212790fa3e5d13fd014
This commit is contained in:
@@ -3,6 +3,5 @@
|
|||||||
- check-requirements
|
- check-requirements
|
||||||
- horizon-non-primary-django-jobs
|
- horizon-non-primary-django-jobs
|
||||||
- openstack-lower-constraints-jobs
|
- openstack-lower-constraints-jobs
|
||||||
- openstack-python-jobs-horizon
|
|
||||||
- openstack-python3-ussuri-jobs-horizon
|
- openstack-python3-ussuri-jobs-horizon
|
||||||
- openstack-python3-ussuri-jobs
|
- openstack-python3-ussuri-jobs
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ semantic-version==2.6.0
|
|||||||
simplejson==3.13.2
|
simplejson==3.13.2
|
||||||
six==1.11.0
|
six==1.11.0
|
||||||
snowballstemmer==1.2.1
|
snowballstemmer==1.2.1
|
||||||
Sphinx==1.6.5
|
Sphinx==1.6.2
|
||||||
sphinxcontrib-httpdomain==1.6.1
|
sphinxcontrib-httpdomain==1.6.1
|
||||||
sphinxcontrib-pecanwsme==0.8.0
|
sphinxcontrib-pecanwsme==0.8.0
|
||||||
sphinxcontrib-websupport==1.0.1
|
sphinxcontrib-websupport==1.0.1
|
||||||
|
|||||||
6
releasenotes/notes/drop-py-2-7-241c1a021379927d.yaml
Normal file
6
releasenotes/notes/drop-py-2-7-241c1a021379927d.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
Python 2.7 support has been dropped. Last release of solum-dashboard
|
||||||
|
to support python 2.7 is OpenStack Train. The minimum version of Python now
|
||||||
|
supported by solum-dashboard is Python 3.6.
|
||||||
@@ -3,7 +3,6 @@
|
|||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
pbr!=2.1.0,>=3.1.1 # Apache-2.0
|
pbr!=2.1.0,>=3.1.1 # Apache-2.0
|
||||||
# Horizon Core Requirements
|
# Horizon Core Requirements
|
||||||
Django<2,>=1.11;python_version<'3.0' # BSD
|
|
||||||
Django<2.1,>=1.11;python_version>='3.0' # BSD
|
Django<2.1,>=1.11;python_version>='3.0' # BSD
|
||||||
django-compressor>=2.2 # MIT
|
django-compressor>=2.2 # MIT
|
||||||
oslo.log>=3.37.0 # Apache-2.0
|
oslo.log>=3.37.0 # Apache-2.0
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ description-file = README.rst
|
|||||||
license = Apache Software License
|
license = Apache Software License
|
||||||
classifier =
|
classifier =
|
||||||
Programming Language :: Python
|
Programming Language :: Python
|
||||||
Programming Language :: Python :: 2
|
|
||||||
Programming Language :: Python :: 2.7
|
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3.6
|
Programming Language :: Python :: 3.6
|
||||||
Programming Language :: Python :: 3.7
|
Programming Language :: Python :: 3.7
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ stestr>=2.0.0 # Apache-2.0
|
|||||||
testtools>=2.3.0 # MIT
|
testtools>=2.3.0 # MIT
|
||||||
unittest2>=1.1.0 # BSD
|
unittest2>=1.1.0 # BSD
|
||||||
|
|
||||||
sphinx!=1.6.6,!=1.6.7,>=1.6.5 # BSD
|
sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD
|
||||||
openstackdocstheme>=1.20.0 # Apache-2.0
|
openstackdocstheme>=1.20.0 # Apache-2.0
|
||||||
sphinxcontrib-pecanwsme>=0.8.0 # Apache-2.0
|
sphinxcontrib-pecanwsme>=0.8.0 # Apache-2.0
|
||||||
sphinxcontrib-httpdomain>=1.6.1 # BSD
|
sphinxcontrib-httpdomain>=1.6.1 # BSD
|
||||||
|
|||||||
8
tox.ini
8
tox.ini
@@ -1,9 +1,10 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
envlist = py27,py37,py3-{dj111,dj22},pep8
|
envlist = py37,py3-{dj111,dj22},pep8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
basepython = python3
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
setenv =
|
setenv =
|
||||||
@@ -21,7 +22,6 @@ commands =
|
|||||||
stestr slowest
|
stestr slowest
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python3
|
|
||||||
setenv =
|
setenv =
|
||||||
{[testenv]setenv}
|
{[testenv]setenv}
|
||||||
PYTHON=coverage run --source solumdashboard --parallel-mode
|
PYTHON=coverage run --source solumdashboard --parallel-mode
|
||||||
@@ -32,11 +32,9 @@ commands =
|
|||||||
coverage xml -o cover/coverage.xml
|
coverage xml -o cover/coverage.xml
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
basepython = python3
|
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
@@ -45,11 +43,9 @@ builtins = _
|
|||||||
exclude=.git,.tox,dist,doc,*lib/python*,*egg,tools,horizon,node_modules
|
exclude=.git,.tox,dist,doc,*lib/python*,*egg,tools,horizon,node_modules
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:lower-constraints]
|
[testenv:lower-constraints]
|
||||||
basepython = python3
|
|
||||||
deps =
|
deps =
|
||||||
-c{toxinidir}/lower-constraints.txt
|
-c{toxinidir}/lower-constraints.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user