Skip to content

Commit

Permalink
Remove amqp backend. (celery#6360)
Browse files Browse the repository at this point in the history
  • Loading branch information
Omer Katz authored Sep 23, 2020
1 parent 802ead0 commit 5a919c0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 641 deletions.
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit 5a919c0

Please sign in to comment.