← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1944548] Re: django32: RuntimeError: dictionary changed size during iteration

 

Reviewed:  https://review.opendev.org/c/openstack/horizon/+/810388
Committed: https://opendev.org/openstack/horizon/commit/a20c4f6f2218255597c719aa7505295f689abf9a
Submitter: "Zuul (22348)"
Branch:    master

commit a20c4f6f2218255597c719aa7505295f689abf9a
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
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: Ie22865995d14fa60c16cf2cea582aa0eec46b65d
    Closes-Bug: #1944548


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1944548

Title:
  django32: RuntimeError: dictionary changed size during iteration

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  trove-dashboard UT with Django 3.2 (and horizon master latest) fails
  with "RuntimeError: dictionary changed size during iteration"

  Detail: https://paste.opendev.org/show/809491/

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1944548/+subscriptions



References