Skip to content

Why does Kombu insist on redis-py < 6.0 ? #2374

@coredumperror

Description

@coredumperror

The requirements/extras/redis.txt file specifies that kombu[redis] install this:

redis>=4.5.2,!=4.5.5,!=5.0.2,<6

I understand why the low-end and version-specific restrictions are in there, but why the <6?

I ask because those two characters force projects that want the latest celery[redis] to use an old version of redis-py, because celery[redis] now specifies its redis version via kombu[redis]. This makes it impossible to use redis 6.x with anything later than Celery 5.3.1, which is when Celery started basing its redis dependency on kombu's.

This causes very confusing behavior, as updating Celery to 5.5.3 downgrades redis-py to 5.2.1, yet forcing redis-py to 6.x downgrades celery to 5.3.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions