Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove amqp backend. #6360

Merged
merged 1 commit into from Sep 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
322 changes: 0 additions & 322 deletions celery/backends/amqp.py

This file was deleted.

11 changes: 0 additions & 11 deletions docs/internals/reference/celery.backends.amqp.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/internals/reference/index.rst
Expand Up @@ -27,7 +27,6 @@
celery.backends.azureblockblob
celery.backends.rpc
celery.backends.database
celery.backends.amqp
celery.backends.cache
celery.backends.consul
celery.backends.couchdb
Expand Down
5 changes: 5 additions & 0 deletions docs/whatsnew-5.0.rst
Expand Up @@ -229,6 +229,11 @@ We apologize for the lack of notice in advance but we feel that the chance
you'll be affected by this breaking change is minimal which is why we
did it.

AMQP Result Backend
-------------------

The AMQP result backend has been removed as it was deprecated in version 4.0.

.. _new_command_line_interface:

New Command Line Interface
Expand Down
2 changes: 0 additions & 2 deletions t/unit/app/test_backends.py
Expand Up @@ -3,15 +3,13 @@
import pytest

from celery.app import backends
from celery.backends.amqp import AMQPBackend
from celery.backends.cache import CacheBackend
from celery.exceptions import ImproperlyConfigured


class test_backends:

@pytest.mark.parametrize('url,expect_cls', [
('amqp://', AMQPBackend),
('cache+memory://', CacheBackend),
])
def test_get_backend_aliases(self, url, expect_cls, app):
Expand Down