Django 3.2 stored the field information as dict instead OrderedDict
because python 3.7+ ensure the field order of dict as the language spec.
We cannot touch dict itself during iteration. We need to pass a list
instead of a value from .items() itself to avoid the error.
Reviewed: https:/ /review. opendev. org/c/openstack /horizon/ +/810388 /opendev. org/openstack/ horizon/ commit/ a20c4f6f2218255 597c719aa750529 5f689abf9a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit a20c4f6f2218255 597c719aa750529 5f689abf9a
Author: Akihiro Motoki <email address hidden>
Date: Wed Sep 22 19:37:44 2021 +0900
workflow: Do not touch dict during iteration
Django 3.2 stored the field information as dict instead OrderedDict
because python 3.7+ ensure the field order of dict as the language spec.
We cannot touch dict itself during iteration. We need to pass a list
instead of a value from .items() itself to avoid the error.
Change-Id: Ie22865995d14fa 60c16cf2cea582a a0eec46b65d
Closes-Bug: #1944548