9d1bb3626b
I believe we need the following steps and it is what I did in past when we bump the Django minimum version. 1. (already done) update global-requirements.txt to allow horizon to update requirements.txt to include Django 3.2. 2. specify the required Django version which includes both 2.2 and 3.2 (at this point upper-constraints uses 2.2) 3. update upper-constraints.txt in the requirements repo to use Django 3.2 4. bump the min version of Django in horizon (optionally) update non-primary-django tests to include non-primary versions of Django. It seems you drops 2.2 support together when we support 3.2, so perhaps this step is not the case though. https://review.opendev.org/c/openstack/horizon/+/811412 directly updated the min version to Django 3.2 which is incompatible with the global upper-constraints.txt. To avoid this, https://review.opendev.org/c/openstack/horizon/+/815206 made almost all tests non-voting. I am not a fan of such approach and believe there is a way to make the transition of Django version more smoothly. --- This commit reverts the zuul configuration changes in https://review.opendev.org/c/openstack/horizon/+/815206 and https://review.opendev.org/c/openstack/horizon/+/811412. horizon-tox-python3-django32 is voting now as we are making it the default version. Change-Id: I60bb672ef1b197e657a8b3bd86d07464bcb1759f
35 lines
998 B
YAML
35 lines
998 B
YAML
- project:
|
|
templates:
|
|
- check-requirements
|
|
- horizon-cross-jobs
|
|
- horizon-nodejs14-jobs
|
|
- horizon-non-primary-django-jobs
|
|
- openstack-lower-constraints-jobs
|
|
- openstack-python3-yoga-jobs
|
|
- periodic-stable-jobs
|
|
- publish-openstack-docs-pti
|
|
- release-notes-jobs-python3
|
|
check:
|
|
jobs:
|
|
- horizon-selenium-headless
|
|
- horizon-integration-tests
|
|
- horizon-dsvm-tempest-plugin
|
|
- horizon-tox-bandit-baseline
|
|
- horizon-tempest-plugin-ipv6
|
|
gate:
|
|
queue: horizon
|
|
jobs:
|
|
- horizon-dsvm-tempest-plugin
|
|
- horizon-selenium-headless
|
|
- horizon-integration-tests
|
|
- horizon-tempest-plugin-ipv6
|
|
experimental:
|
|
jobs:
|
|
- horizon-integration-tests-xstatic-master
|
|
- horizon-tox-py36-xstatic-master
|
|
- horizon-nodejs14-run-test-xstatic-master
|
|
periodic:
|
|
jobs:
|
|
- horizon-nodejs14-run-test
|
|
- horizon-integration-tests
|