diff --git a/instrumentation/opentelemetry-instrumentation-celery/setup.cfg b/instrumentation/opentelemetry-instrumentation-celery/setup.cfg index 691e6035cd..b12587fd7e 100644 --- a/instrumentation/opentelemetry-instrumentation-celery/setup.cfg +++ b/instrumentation/opentelemetry-instrumentation-celery/setup.cfg @@ -39,14 +39,14 @@ package_dir= =src packages=find_namespace: install_requires = + celery >= 4.0, < 6.0 opentelemetry-api == 0.17.dev0 opentelemetry-instrumentation == 0.17.dev0 - celery ~= 4.0 [options.extras_require] test = pytest - celery ~= 4.0 + celery >= 4.0, < 6.0 opentelemetry-test == 0.17.dev0 [options.packages.find] diff --git a/tox.ini b/tox.ini index 6ceb4a8c2c..509d707825 100644 --- a/tox.ini +++ b/tox.ini @@ -349,7 +349,7 @@ deps = aiopg >= 0.13.0 sqlalchemy ~= 1.3.16 redis ~= 3.3.11 - celery ~= 4.0, != 4.4.4 + celery >= 4.0, < 6.0 protobuf>=3.13.0 requests==2.25.0 changedir =