plain.jobs 0.37.0__tar.gz → 0.37.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of plain.jobs might be problematic. Click here for more details.
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/PKG-INFO +2 -1
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/CHANGELOG.md +20 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/admin.py +6 -6
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/pyproject.toml +2 -1
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/.gitignore +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/LICENSE +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/README.md +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/README.md +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/__init__.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/chores.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/cli.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/config.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/default_settings.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/jobs.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/middleware.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/0001_initial.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/0002_job_span_id_job_trace_id_jobrequest_span_id_and_more.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/0003_rename_job_jobprocess_and_more.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/0004_rename_tables_to_plainjobs.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/0005_rename_constraints_and_indexes.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/0006_alter_jobprocess_table_alter_jobrequest_table_and_more.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/__init__.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/models.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/parameters.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/registry.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/scheduling.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/templates/admin/plainqueue/jobresult_detail.html +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/workers.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/tests/app/settings.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/tests/test_parameters.py +0 -0
- {plain_jobs-0.37.0 → plain_jobs-0.37.2}/tests/test_scheduling.py +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: plain.jobs
|
|
3
|
-
Version: 0.37.
|
|
3
|
+
Version: 0.37.2
|
|
4
4
|
Summary: Process background jobs with a database-driven job queue.
|
|
5
5
|
Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
|
|
6
|
+
License-Expression: BSD-3-Clause
|
|
6
7
|
License-File: LICENSE
|
|
7
8
|
Requires-Python: >=3.13
|
|
8
9
|
Requires-Dist: plain-models<1.0.0
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# plain-jobs changelog
|
|
2
2
|
|
|
3
|
+
## [0.37.2](https://github.com/dropseed/plain/releases/plain-jobs@0.37.2) (2025-10-31)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- Added BSD-3-Clause license specification to package metadata ([8477355e65](https://github.com/dropseed/plain/commit/8477355e65))
|
|
8
|
+
|
|
9
|
+
### Upgrade instructions
|
|
10
|
+
|
|
11
|
+
- No changes required
|
|
12
|
+
|
|
13
|
+
## [0.37.1](https://github.com/dropseed/plain/releases/plain-jobs@0.37.1) (2025-10-24)
|
|
14
|
+
|
|
15
|
+
### What's changed
|
|
16
|
+
|
|
17
|
+
- Fixed admin interface filter functionality to correctly use `preset` instead of `display` for filtering job results ([26fde7d562](https://github.com/dropseed/plain/commit/26fde7d562))
|
|
18
|
+
|
|
19
|
+
### Upgrade instructions
|
|
20
|
+
|
|
21
|
+
- No changes required
|
|
22
|
+
|
|
3
23
|
## [0.37.0](https://github.com/dropseed/plain/releases/plain-jobs@0.37.0) (2025-10-22)
|
|
4
24
|
|
|
5
25
|
### What's changed
|
|
@@ -204,21 +204,21 @@ class JobResultViewset(AdminViewset):
|
|
|
204
204
|
output_field=models.BooleanField(),
|
|
205
205
|
),
|
|
206
206
|
)
|
|
207
|
-
if self.
|
|
207
|
+
if self.preset == "Successful":
|
|
208
208
|
return queryset.successful()
|
|
209
|
-
if self.
|
|
209
|
+
if self.preset == "Errored":
|
|
210
210
|
return queryset.errored()
|
|
211
|
-
if self.
|
|
211
|
+
if self.preset == "Cancelled":
|
|
212
212
|
return queryset.cancelled()
|
|
213
|
-
if self.
|
|
213
|
+
if self.preset == "Lost":
|
|
214
214
|
return queryset.lost()
|
|
215
|
-
if self.
|
|
215
|
+
if self.preset == "Retried":
|
|
216
216
|
return queryset.retried()
|
|
217
217
|
return queryset
|
|
218
218
|
|
|
219
219
|
def get_fields(self) -> list[str]:
|
|
220
220
|
fields = super().get_fields()
|
|
221
|
-
if self.
|
|
221
|
+
if self.preset == "Retried":
|
|
222
222
|
fields.append("retries")
|
|
223
223
|
fields.append("retry_attempt")
|
|
224
224
|
return fields
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "plain.jobs"
|
|
3
|
-
version = "0.37.
|
|
3
|
+
version = "0.37.2"
|
|
4
4
|
description = "Process background jobs with a database-driven job queue."
|
|
5
5
|
authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
|
|
6
6
|
readme = "README.md"
|
|
7
|
+
license = "BSD-3-Clause"
|
|
7
8
|
requires-python = ">=3.13"
|
|
8
9
|
dependencies = [
|
|
9
10
|
"plain<1.0.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/0003_rename_job_jobprocess_and_more.py
RENAMED
|
File without changes
|
{plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/0004_rename_tables_to_plainjobs.py
RENAMED
|
File without changes
|
{plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/migrations/0005_rename_constraints_and_indexes.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plain_jobs-0.37.0 → plain_jobs-0.37.2}/plain/jobs/templates/admin/plainqueue/jobresult_detail.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|