Skip to content

Commit

Permalink
Celery: Add support for new major version 5.x
Browse files Browse the repository at this point in the history
Add support for Celery v5, which apparently didn't introduce changes that
affect the current instrumentation code [0].

[0] https://github.com/celery/celery/blob/master/Changelog.rst#500
  • Loading branch information
adamantike committed Dec 18, 2020
1 parent 65801c3 commit 37fbedc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 37fbedc

Please sign in to comment.