Skip to content

Commit

Permalink
Disabled Memcached automatic detection due to "Experimental Status"
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Mar 4, 2024
1 parent 507d73f commit 7bdb294
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/getting-started/vendors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ production ready.
Enabled means that it is automatically added to the test setup matrix
when running the test suite :ref:`if the vendor dependencies are installed <installation>`.

.. warning::

Enabling a new vendor will automatically add it globally to every test suite that relies
on the default vendors detection. Be careful when enabling new vendors and make sure they are
stable and production ready.

.. _built-in-worker:

Built-in Celery Worker
Expand Down
3 changes: 2 additions & 1 deletion src/pytest_celery/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
# Uses Kombu
ALL_CELERY_BROKERS.append(CELERY_RABBITMQ_BROKER)

Check warning on line 42 in src/pytest_celery/defaults.py

View check run for this annotation

Codecov / codecov/patch

src/pytest_celery/defaults.py#L42

Added line #L42 was not covered by tests

if _is_vendor_installed("memcached"):
# Memcached is disabled by default regardless of its availability.
if _is_vendor_installed("memcached") and False:
ALL_CELERY_BACKENDS.append(CELERY_MEMCACHED_BACKEND)

Check warning on line 46 in src/pytest_celery/defaults.py

View check run for this annotation

Codecov / codecov/patch

src/pytest_celery/defaults.py#L46

Added line #L46 was not covered by tests

# Worker setup is assumed to be always available.
Expand Down

0 comments on commit 7bdb294

Please sign in to comment.