diff options
author | manchandavishal <manchandavishal143@gmail.com> | 2021-11-13 01:57:23 +0530 |
---|---|---|
committer | Vishal Manchanda <manchandavishal143@gmail.com> | 2022-01-05 19:26:56 +0000 |
commit | 8918bf751def72c2cf4fa5975645bc0ae54edb70 (patch) | |
tree | 517abe5066d1fbc2c55fbb0c753b762b965df771 /.zuul.d | |
parent | 12bb9fe5184c9dd3329ba17b3d03c90887dbcc3d (diff) | |
download | horizon-8918bf751def72c2cf4fa5975645bc0ae54edb70.tar.gz |
Drop Django 2.2 support
Django 2.2 support was dropped. Django 2.2 ends its extended support
in April 2022[1]. Considering this, horizon dropped Django 2.2 support
and use Django 3.2 as default version of Django.
It also updates the python version from py38 to py39 for
"horizon-non-primary-django-jobs" and
"horizon-tox-python3-django" project template because py36
and py39 are now runtime for the Yoga cycle[2]. So I have updated it to
py39.
[1] https://www.djangoproject.com/download/
[2] https://review.opendev.org/c/openstack/governance/+/820195
Change-Id: I8886f12f7e51b721ac5123070086d5dcfefe4e72
Diffstat (limited to '.zuul.d')
-rw-r--r-- | .zuul.d/django-jobs.yaml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/.zuul.d/django-jobs.yaml b/.zuul.d/django-jobs.yaml index 7a81e6568..5bf2af21f 100644 --- a/.zuul.d/django-jobs.yaml +++ b/.zuul.d/django-jobs.yaml @@ -17,30 +17,22 @@ pre-run: playbooks/horizon-tox-django/pre.yaml run: playbooks/horizon-tox-django/run.yaml vars: - tox_envlist: py38 + tox_envlist: py39 required-projects: - name: openstack/horizon -- job: - name: horizon-tox-python3-django32 - parent: horizon-tox-python3-django - vars: - django_version: '>=3.2,<3.3' - - project-template: name: horizon-non-primary-django-jobs description: | Run unit tests with non-primary Django versions. check: jobs: - # Currently we only support Django 2.2, so there is no need + # Currently we only support Django 3.2, so there is no need # to run tests with different versions of Django. # 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 - - horizon-tox-python3-django32 + - openstack-tox-py39 gate: jobs: - - openstack-tox-py38 - - horizon-tox-python3-django32 + - openstack-tox-py39 |