Skip to content

[bug] missing 'memcache' dependency in 1.0.0b2 #205

@woutdenolf

Description

@woutdenolf

This works

pip install "pytest-celery==1.0.0b1" celery
pytest -h

This fails

pip install "pytest-celery==1.0.0b2" celery
pytest -h
  File "/home/denolf/virtualenvs/pybox_9uxen5/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 175, in exec_module
    exec(co, module.__dict__)
  File "/home/denolf/virtualenvs/pybox_9uxen5/lib/python3.8/site-packages/pytest_celery/__init__.py", line 28, in <module>
    from pytest_celery.vendors.memcached.container import *
  File "/home/denolf/virtualenvs/pybox_9uxen5/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 175, in exec_module
    exec(co, module.__dict__)
  File "/home/denolf/virtualenvs/pybox_9uxen5/lib/python3.8/site-packages/pytest_celery/vendors/memcached/container.py", line 9, in <module>
    import memcache
ModuleNotFoundError: No module named 'memcache'

celery 5.3.6 and pytest 8.0.0 in both cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions