[Django] #35859: Add DEP14 Tasks interface

15 views
Skip to first unread message

Django

unread,
Oct 22, 2024, 4:38:08 AM10/22/24
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
-----------------------------------------+-----------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Uncategorized | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+-----------------------------
As part of [https://github.com/django/deps/blob/main/accepted/0014
-background-workers.rst DEP 14], this ticket adds a generic Task
interface, allowing enqueueing background tasks. Specifically:

- Common API interface
- Base backend
- Task / result classes
- Immediate / Dummy backends

These features already exist in [https://github.com/realOrangeOne/django-
tasks django-tasks], but need to make their way into Django core.

The database backend is intentionally absent, but will be added in a
future ticket. This makes the PR significantly smaller, and easier to
review.
--
Ticket URL: <https://code.djangoproject.com/ticket/35859>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 22, 2024, 4:39:51 AM10/22/24
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
-------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Uncategorized | Version: 5.0
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 Jake Howard):

* stage: Unreviewed => Accepted

Comment:

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

Django

unread,
Oct 22, 2024, 4:45:35 AM10/22/24
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
-------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Uncategorized | Version: 5.0
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 Carlton Gibson):

* cc: Carlton Gibson (added)

Comment:

Hey Jake, great.

You can’t accept your own ticket, but I’ll *pretend do that* now. ✅
--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:2>

Django

unread,
Oct 22, 2024, 4:46:23 AM10/22/24
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
-------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Uncategorized | Version: 5.0
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
-------------------------------+---------------------------------------
Comment (by Carlton Gibson):

We might need a new Tasks component for Trac. 😅
--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:3>

Django

unread,
Oct 22, 2024, 4:49:27 AM10/22/24
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
-------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Uncategorized | Version: 5.0
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 Harro):

* cc: Harro (added)

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

Django

unread,
Oct 22, 2024, 5:16:17 AM10/22/24
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Core (Other) | 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 Claude Paroz):

* component: Uncategorized => Core (Other)
* version: 5.0 => dev

--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:5>

Django

unread,
Oct 25, 2024, 4:29:09 AM10/25/24
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Core (Other) | 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 Evstifeev Roman):

* cc: Evstifeev Roman (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:6>

Django

unread,
Nov 3, 2024, 7:41:12 AM11/3/24
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Core (Other) | 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 şuayip üzülmez):

* cc: şuayip üzülmez (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:7>

Django

unread,
Jan 17, 2025, 4:01:06 AMJan 17
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------+---------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:8>

Django

unread,
Aug 15, 2025, 8:25:42 AMAug 15
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Core (Other) | 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 Jake Howard):

* needs_better_patch: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:9>

Django

unread,
Aug 20, 2025, 9:59:15 AMAug 20
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------+---------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:10>

Django

unread,
Sep 5, 2025, 10:22:56 AM (5 days ago) Sep 5
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
------------------------------+---------------------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Core (Other) | 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 Jake Howard):

* needs_better_patch: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:11>

Django

unread,
Sep 5, 2025, 10:54:33 AM (5 days ago) Sep 5
to django-...@googlegroups.com
#35859: Add DEP14 Tasks interface
-------------------------------------+-------------------------------------
Reporter: Jake Howard | Owner: Jake
| Howard
Type: New feature | Status: assigned
Component: Core (Other) | 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 Jacob Walls):

* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/35859#comment:12>
Reply all
Reply to author
Forward
0 new messages