plotly / plotly/dash

[BUG] dash>=3.1.0 not compatible with redis==5.3.0

Open
#3,399 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

regression
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Describe the bug

The redis dependencies for dash[celery] seem to have changed between dash 3.0.4 and dash 3.1.0. I couldn’t find any mention of this in the changelog, so am noting this a bug.

Previously, we could have dash 3.0.4 and redis 5.3.0, but as of dash 3.1.0 (and dash 3.2.0), we get the following error when performing a pip install:


dash[celery] 3.1.0 depends on redis<=5.0.4 and >=3.5.3; extra == "celery"


In my requirements.txt, it looks like:

dash==3.1.0
dash[celery]
redis==5.3.0
...

If I remove dash[celery] from my requirements file, it seems to work okay, but I'm not sure if this will cause other issues.

Expected behavior

dash>=3.1.0 should be compatible with redis==5.3.0.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the dependency declarations for dash 3.0.4 and dash 3.1.0, focusing on the celery extra and its Redis constraint. Reproduce the conflict with the requirements.txt entries shown in the issue and verify that installing dash[celery] with redis==5.3.0 either succeeds or has a documented compatibility explanation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, redis
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.