Checklist
Mandatory Debugging Information
Optional Debugging Information
Related Issues and Possible Duplicates
Related Issues
Possible Duplicates
Environment & Settings
Celery version: 4.4.1
Steps to Reproduce
Required Dependencies
Python Packages
pip freeze Output:
```
redis==3.4.1
billiard==3.6.3.0
celery==4.4.1
kombu==4.6.8
```
Other Dependencies
Details
N/A
Minimally Reproducible Test Case
Details
Expected Behavior
Celery just works
Actual Behavior
After upgrading Celery from 4.4.0 to 4.4.1 I suddenly see TypeError: __init__() got an unexpected keyword argument 'socket_keepalive'.
This seems to be caused by PR #5952, which adds this kwarg for Redis connections. However, not all Redis connection constructors take the same arguments (e.g. UnixDomainSocketConnection doesn't take socket_keepalive). This seems to be happened before as noted in issue #2903.
Everything works fine if I downgrade to 4.4.0 again.
Checklist
masterbranch of Celery.contribution guide
on reporting bugs.
for similar or identical bug reports.
for existing proposed fixes.
to find out if the bug was already fixed in the master branch.
in this issue (If there are none, check this box anyway).
Mandatory Debugging Information
celery -A proj reportin the issue.(if you are not able to do this, then at least specify the Celery
version affected).
masterbranch of Celery.pip freezein the issue.to reproduce this bug.
Optional Debugging Information
and/or implementation.
result backend.
broker and/or result backend.
ETA/Countdown & rate limits disabled.
and/or upgrading Celery and its dependencies.
Related Issues and Possible Duplicates
Related Issues
Possible Duplicates
Environment & Settings
Celery version: 4.4.1
Steps to Reproduce
Required Dependencies
Python Packages
pip freezeOutput:``` redis==3.4.1 billiard==3.6.3.0 celery==4.4.1 kombu==4.6.8 ```
Other Dependencies
Details
N/A
Minimally Reproducible Test Case
Details
Expected Behavior
Celery just works
Actual Behavior
After upgrading Celery from 4.4.0 to 4.4.1 I suddenly see
TypeError: __init__() got an unexpected keyword argument 'socket_keepalive'.This seems to be caused by PR #5952, which adds this kwarg for Redis connections. However, not all Redis connection constructors take the same arguments (e.g.
UnixDomainSocketConnectiondoesn't takesocket_keepalive). This seems to be happened before as noted in issue #2903.Everything works fine if I downgrade to 4.4.0 again.