SortedDict class is deprecated since Django 1.7 and will be removed in 1.9

Bug #1492270 reported by Timur Sufiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Masco

Bug Description

Thus django.utils.datastructures.SortedDict should be replaced with collections.OrderedDict.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/220510

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Timur Sufiev (<email address hidden>) on branch: master
Review: https://review.openstack.org/220510
Reason: Was outrunned by https://review.openstack.org/#/c/212399/

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :
Changed in horizon:
status: In Progress → Invalid
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Okay, there is an opinion that a blueprint is a too loud word for such a change.

Changed in horizon:
status: Invalid → Confirmed
Changed in horizon:
assignee: Timur Sufiev (tsufiev-x) → Matthias Runge (mrunge)
status: Confirmed → In Progress
Matthias Runge (mrunge)
Changed in horizon:
assignee: Matthias Runge (mrunge) → Masco Kaliyamoorthy (masco)
milestone: none → liberty-rc1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/212399
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=4e8549ee9a21ea8a2f44c8607b0abaf1a63f66a3
Submitter: Jenkins
Branch: master

commit 4e8549ee9a21ea8a2f44c8607b0abaf1a63f66a3
Author: Masco Kaliyamoorthy <email address hidden>
Date: Thu Aug 13 13:31:32 2015 +0530

    Replace SortedDict with OrderedDict

    From django V1.9 django.utils.datastructures.SortedDict
    will be removed and it is deprecated in V1.7.

    The similar functionality is added in collections.OrderedDict
    from python 2.7.

    Horizon code also should avoid the SortedDict class and
    start using the OrderedDict class.

    This patch replacing the SortedDict with OrderedDict.

    Change-Id: I8dfcf7c29fc49b6215451f160cf7a951bf11b5ad
    Closes-Bug: #1492270

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-rc1 → 8.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.