Skip to content

Commit 147daeb

Browse files
chrisguidryclaude
andauthored
Update fakeredis dependency to main repo (#179)
Nate's PR fixing xpending_range has been merged into the main fakeredis repo, so we can now switch from his fork to the official repository. ## Changes - Moved fakeredis from dev dependencies to main dependencies (it's used for the memory backend feature, not just testing) - Updated from Nate's fork to main repo at commit ad50a0d - This commit includes the xpending_range fix that returns all 4 required fields (message_id, consumer, time_since_delivered, times_delivered) - Added comment noting we're using a specific commit until version > 2.32.0 is released (presumably 2.33.0) ## Testing Verified with full test suite using memory backend - all 272 tests pass, including the 4 memory backend specific tests. Related: cunla/fakeredis-py#427 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent a5afb8b commit 147daeb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ classifiers = [
2525
dependencies = [
2626
"cloudpickle>=3.1.1",
2727
"exceptiongroup>=1.2.0; python_version < '3.11'",
28+
# Using specific commit until version > 2.32.0 is released
29+
# This includes the fix for xpending_range to return all 4 required fields
30+
# See: https://github.com/cunla/fakeredis-py/pull/427
31+
"fakeredis[lua] @ git+https://github.com/cunla/fakeredis-py.git@ad50a0de8d6dce554fb629ec284bc4ccbc6a7f12",
2832
"opentelemetry-api>=1.30.0",
2933
"opentelemetry-exporter-prometheus>=0.51b0",
3034
"prometheus-client>=0.21.1",
@@ -40,10 +44,6 @@ dependencies = [
4044
dev = [
4145
"codespell>=2.4.1",
4246
"docker>=7.1.0",
43-
# Using fork until https://github.com/cunla/fakeredis-py/pull/427 is merged
44-
# This fixes xpending_range to return all 4 required fields (message_id, consumer,
45-
# time_since_delivered, times_delivered) instead of just 2, matching Redis behavior
46-
"fakeredis[lua] @ git+https://github.com/zzstoatzz/fakeredis-py.git@fix-xpending-range-fields",
4747
"ipython>=8.0.0",
4848
"mypy>=1.14.1",
4949
"opentelemetry-distro>=0.51b0",

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)