[Django] #36276: Omit size=None from ArrayField.deconstruct()

10 views
Skip to first unread message

Django

unread,
Mar 24, 2025, 9:18:32 PM3/24/25
to django-...@googlegroups.com
#36276: Omit size=None from ArrayField.deconstruct()
------------------------------------------------+--------------------------
Reporter: Tim Graham | Owner: (none)
Type: Cleanup/optimization | Status: assigned
Component: contrib.postgres | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+--------------------------
[https://github.com/django/django/commit/604162604bf#diff-
b6a6632418c964155865691be58c9f76717ef512ced704d461f41cc3612a1db3R87 Since
its introduction], `ArrayField.deconstruct()` has unnecessarily included
`size=None` in migration files.
--
Ticket URL: <https://code.djangoproject.com/ticket/36276>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 24, 2025, 9:22:56 PM3/24/25
to django-...@googlegroups.com
#36276: Omit size=None from ArrayField.deconstruct()
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: (none)
Type: | Status: assigned
Cleanup/optimization |
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* has_patch: 0 => 1

Comment:

[https://github.com/django/django/pull/19306 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/36276#comment:1>

Django

unread,
Mar 25, 2025, 3:36:06 AM3/25/25
to django-...@googlegroups.com
#36276: Omit size=None from ArrayField.deconstruct()
--------------------------------------+------------------------------------
Reporter: Tim Graham | Owner: (none)
Type: Cleanup/optimization | Status: assigned
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Sarah Boyce):

* stage: Unreviewed => Accepted

--
Ticket URL: <https://code.djangoproject.com/ticket/36276#comment:2>

Django

unread,
Mar 25, 2025, 3:38:44 AM3/25/25
to django-...@googlegroups.com
#36276: Omit size=None from ArrayField.deconstruct()
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: (none)
Type: | Status: assigned
Cleanup/optimization |
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36276#comment:3>

Django

unread,
Mar 25, 2025, 3:39:12 AM3/25/25
to django-...@googlegroups.com
#36276: Omit size=None from ArrayField.deconstruct()
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: Tim
Type: | Graham
Cleanup/optimization | Status: assigned
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* owner: (none) => Tim Graham

--
Ticket URL: <https://code.djangoproject.com/ticket/36276#comment:4>

Django

unread,
Mar 25, 2025, 7:02:25 AM3/25/25
to django-...@googlegroups.com
#36276: Omit size=None from ArrayField.deconstruct()
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: Tim
Type: | Graham
Cleanup/optimization | Status: closed
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"fecca298a2c6de22b054eaffeb4368b1167c7fd5" fecca29]:
{{{#!CommitTicketReference repository=""
revision="fecca298a2c6de22b054eaffeb4368b1167c7fd5"
Fixed #36276 -- Omitted size=None from ArrayField.deconstruct().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36276#comment:5>
Reply all
Reply to author
Forward
0 new messages