diff options
author | Akihiro Motoki <amotoki@gmail.com> | 2021-10-26 09:18:16 +0900 |
---|---|---|
committer | Akihiro Motoki <amotoki@gmail.com> | 2021-10-26 09:57:06 +0900 |
commit | 9d1bb3626bc1dbcf29a55aeb094f4350067317cd (patch) | |
tree | acc744b80ae21b114336dae634fe3d007ac69249 /horizon | |
parent | ab2021eb1da17a9350f0bcb9784f088a83859ce0 (diff) | |
download | horizon-9d1bb3626bc1dbcf29a55aeb094f4350067317cd.tar.gz |
Allow both Django 2.2 and 3.2 for smooth transition20.2.0
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
Diffstat (limited to 'horizon')
0 files changed, 0 insertions, 0 deletions