Bump Django version to Current LTS Version

This patch update Django version to the current LTS version i.e. 3.2.
Django 2.2 is going to end its extended support by April 2022[1].
horizon and all its plugins already support Django3.2 version, So
let's make this the default version. It also bump few other packages
version in lower-constraints.txt to make it work with Django 3.2.

Note: It also change 'openstack-tox-py38' job to non-voting
which I will revert in follow-up patch once this patch is merged.

[1] https://www.djangoproject.com/download/

Change-Id: I49e323b76ad2c2e680c3f133d0f219d850f7908c
This commit is contained in:
manchandavishal 2021-09-28 18:43:11 +05:30
parent e6f5392d4b
commit 7bfb56010d
3 changed files with 10 additions and 8 deletions

View File

@ -38,11 +38,13 @@
# We specify a job in openstack-python3-yoga-jobs(-horizon)
# to keep this project template as it is used in horizon plugins.
# NOTE: We keep it as a template even though it is not used now.
- openstack-tox-py38
- openstack-tox-py38:
voting: false
- horizon-tox-python3-django32:
voting: false
gate:
jobs:
- openstack-tox-py38
- openstack-tox-py38:
voting: false
# Skip these until the django3.x jobs become voting.
# - horizon-tox-python3-django32

View File

@ -15,9 +15,9 @@ cryptography==3.0
debtcollector==1.2.0
decorator==4.4.2
deprecation==1.0
Django==2.2
django-appconf==1.0.2
django-compressor==2.0
Django==3.2
django-appconf==1.0.5
django-compressor==2.4.1
django-debreach==1.4.2
django-pyscss==2.0.2
docutils==0.11
@ -105,7 +105,7 @@ requests==2.25.1
requestsexceptions==1.2.0
restructuredtext-lint==1.1.1
rfc3986==0.3.1
rjsmin==1.0.12
rjsmin==1.1.0
Routes==2.3.1
selenium==2.50.1
semantic-version==2.3.1

View File

@ -12,8 +12,8 @@ pbr>=5.5.0 # Apache-2.0
# Horizon Core Requirements
Babel>=2.6.0 # BSD
debtcollector>=1.2.0 # Apache-2.0
Django>=2.2,<3.0 # BSD
django-compressor>=2.0 # MIT
Django>=3.2,<3.3 # BSD
django-compressor>=2.4.1 # MIT
django-debreach>=1.4.2 # BSD License (2 clause)
django-pyscss>=2.0.2 # BSD License (2 clause)
futurist>=1.2.0 # Apache-2.0