[Django] #35724: Add test coverage for migration commands handling of distributed namespace packages

15 views
Skip to first unread message

Django

unread,
Sep 1, 2024, 12:03:59 PM9/1/24
to django-...@googlegroups.com
#35724: Add test coverage for migration commands handling of distributed namespace
packages
-------------------------------------+-------------------------------------
Reporter: Jacob | Owner: Jacob Walls
Walls |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: dev
Migrations |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The migration questioner and writer lack test coverage for handling
failures re: distributed namespace packages
[https://peps.python.org/pep-0420/#nested-namespace-packages (PEP 420)].

[https://github.com/django/django/pull/18218 PR adding coverage, with
links to uncovered lines]
--
Ticket URL: <https://code.djangoproject.com/ticket/35724>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 2, 2024, 3:33:08 AM9/2/24
to django-...@googlegroups.com
#35724: Add test coverage for migration commands handling of distributed namespace
packages
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
Type: | Walls
Cleanup/optimization | Status: assigned
Component: Migrations | 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/35724#comment:1>

Django

unread,
Sep 2, 2024, 9:20:48 AM9/2/24
to django-...@googlegroups.com
#35724: Add test coverage for migration commands handling of distributed namespace
packages
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
Type: | Walls
Cleanup/optimization | Status: assigned
Component: Migrations | 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/35724#comment:2>

Django

unread,
Sep 3, 2024, 2:08:03 AM9/3/24
to django-...@googlegroups.com
#35724: Add test coverage for migration commands handling of distributed namespace
packages
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
Type: | Walls
Cleanup/optimization | Status: closed
Component: Migrations | 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:"4082a8886e8d5f60ab705fcd0aac107778175721" 4082a888]:
{{{#!CommitTicketReference repository=""
revision="4082a8886e8d5f60ab705fcd0aac107778175721"
Fixed #35724 -- Tested migration commands handling of distributed
namespace packages.

Also increased coverage of module_loading.py.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35724#comment:3>
Reply all
Reply to author
Forward
0 new messages