Skip to main content
PyPI CI Codecov Documentation Supported Python versions License

Code to support working with Celery, a distributed task queue.

Overview (please modify)

This package contains utilities to wrap tasks with logging and to persist them if they fail.

It also supports Django administration for searching and deleting failed tasks, and management commands for rerunning failed tasks and deleting old ones.

Documentation

(TODO: Set up documentation)

Publishing a Release

After a PR merges, a new version of the package will automatically be released by Travis when the commit is tagged. Use:

git tag -a X.Y.Z -m "Releasing version X.Y.Z"
git push origin X.Y.Z

Do not create a Github Release, or ensure its message points to the CHANGELOG.rst.

License

The code in this repository is licensed under the Apache 2.0 unless otherwise noted.

Please see LICENSE.txt for details.

How To Contribute

Contributions are very welcome.

Please read How To Contribute for details.

Reporting Security Issues

Please do not report security issues in public. Please email security@openedx.org.

Getting Help

Have a question about this repository, or about Open edX in general? Please refer to this list of resources if you need any assistance.

Change Log

Unreleased

[1.4.0] - 2024-03-31

  • Added django5.2 support. Adding new migration with index_together change.

  • Dropped Python 3.8 support

[1.3.0] - 2024-03-31

  • Added python3.11 and 3.12 support. Dropped django32 support.

[1.2.5] - 2024-02-01

  • Ran django-upgrade tool to add support for Django 4.2 in missing files.

[1.2.3] - 2023-06-15

  • Support added for Django 4.2.

  • Switch from edx-sphinx-theme to sphinx-book-theme since the former is deprecated

[1.2.2] - 2022-01-24

  • Removed future package dependency.

[1.2.1] - 2022-01-24

  • Updated celery constraint to <6.0 to fix make upgrade failure in edx-platform

[1.2.0] - 2022-01-19

  • Removed Django22, 30, 31 support

  • Added Support for Django40

[1.1.1] - 2021-08-24

  • Replacing jsonfield2 with jsonfield as the former is merged back into the latter one.

[1.1.0] - 2021-07-07

  • Added support for django 3.1 and 3.2

[1.0.0] - 2021-01-21

  • Dropped python3.5 support.

[0.5.4] - 2020-12-10

  • Upgrade celery to 5.0.4

[0.5.3] - 2020-09-15

  • Move to Apache 2.0 license

[0.5.2] - 2020-08-28

  • Upgrade celery to 4.2.2

[0.5.1] - 2020-06-30

  • Added python38 support.

[0.5.0] - 2020-04-01

  • No functional change.

[0.4.0] - 2020-03-05

  • Removed all references to django-celery and removed it as a dependency.

  • Removed ChordableDjangoBackend and ChordData.

[0.2.7] - 2017-12-04

  • Add logging for non-retried failed tasks.

[0.2.6] - 2017-08-07

  • Upgrade version of django-celery.

[0.2.5] - 2017-08-03

  • Django 1.11 compatibility

[0.2.4] - 2017-06-20

  • Add management command to fix djcelery tables.

[0.2.1] - 2017-05-22

  • Add ChordableDjangoBackend and testing.

[0.1.3] - 2017-03-01

  • Packaging changes.

[0.1.1] - 2017-02-22

  • Added django admin for management of FailedTasks.

[0.1.0] - 2017-01-31

Initial release

Contains two task base classes:

  • LoggedTask - Reports extra logging info 1) when a task is submitted to the task service (for tracking task latency) and 2) when the task retries, it surfaces information about the raised exception.

  • PersistOnFailureTask - Stores a record of failed tasks that can later be retried.

Metadata

Release files for edx-celeryutils 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edx-celeryutils 2.0.0
File Size Uploaded
edx_celeryutils-2.0.0.tar.gz 20.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for edx-celeryutils 2.0.0
File Interpreter ABI Platform
edx_celeryutils-2.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 38.6 kB

Release files / edx_celeryutils-2.0.0.tar.gz

Download URL edx_celeryutils-2.0.0.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4f58443f8142a1b2675b6713b2c9f69e0fd0b14f4c7b1d2d0d4e3e5c6f55a6dc
BLAKE2b-256 checksum
How to use checksums
d3bba8ab36c6acc4aec1f702439c5f7f474cccb3584bd32b7e3bb09aadc673c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / edx_celeryutils-2.0.0-py2.py3-none-any.whl

Download URL edx_celeryutils-2.0.0-py2.py3-none-any.whl
Size 18.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a0cc4554f2be5bda151c0f6e1b5cae30a39a108437e3ccb865cb45228056f78b
BLAKE2b-256 checksum
How to use checksums
7349bc57aa5a0cfb31c98e4e3ab44619f418d91d61572793e18407d6789f01a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.5

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page