Skip to content

Conversation

@ANJAN672
Copy link

Updates Celery from ~=5.5 to >=5.6.0 to fix a bug where task_id becomes None during exception handling while executing a task chain within a chord.

This was reported in celery/celery#9774 and fixed in Celery 5.6.0.

Description

  • Updated celery~=5.5celery>=5.6.0 in pyproject.toml
  • Regenerated uv.lock (Celery 5.5.3 → 5.6.2)
  • All unit tests pass ✅

This PR fixes #3458

Notes for Reviewers

  • This is a dependency version bump to pull in an upstream bug fix
  • No code changes required, only pyproject.toml and uv.lock updated
  • Tested locally: Celery imports correctly and all tests pass

Signed commits

  • Yes, I signed my commits.

Fixes chaoss#3458

Updates Celery from ~=5.5 to >=5.6.0 to fix a bug where task_id becomes
None during exception handling while executing a task chain within a
chord.

This was reported in celery/celery#9774 and fixed in Celery 5.6.0.

Signed-off-by: ANJAN672 <[email protected]>
Celery 5.6+ requires redis CredentialProvider which was added in redis 5.0.0.
Without this update, the import fails with:
ImportError: cannot import name 'CredentialProvider' from 'redis'

Signed-off-by: ANJAN672 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update celery to 5.6.0 to avoid task id none error during exception handling while executing a task chain within a chord

1 participant