Skip to content

Commit 1fe3f8c

Browse files
committed
Split fakeredis optional dep out from async-rediscache
1 parent 46c54e4 commit 1fe3f8c

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
Changelog
55
=========
66

7+
- :breaking:`208` Split ``fakeredis`` optional dependency from the ``async-rediscache`` extra. You can now install with ``[fakeredis]`` to just install fakeredis (with lua support), ``[async-rediscache]`` to install just ``async-rediscache``, or use either ``[all]`` or ``[async-rediscache,fakeredis]`` to install both. This allows users who do no rely on fakeredis to install in 3.12 environments.
8+
- :breaking:`208` Drop support for Python 3.10
79
- :breaking:`208` Drop support for Pydantic 1.X
810
- :breaking:`207` Enable more ruff linting rules. See :literal-url:`GitHub release notes <https://github.com/python-discord/bot-core/releases/tag/v11.0.0>` for breaking changes.
911
- :support:`206` Bump ruff from 0.1.15 to 0.2.2, using the new lint config namespace, and linting with the new rules.

poetry.lock

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

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,16 @@ keywords = ["bot", "discord", "discord.py"]
2626
python = "3.10.* || 3.11.*"
2727

2828
"discord.py" = "~=2.3.2"
29-
async-rediscache = { version = "1.0.0rc2", extras = ["fakeredis"], optional = true }
29+
async-rediscache = { version = "1.0.0rc2", optional = true }
30+
fakeredis = { version = "~=2.0", extras = ["lua"], optional = true }
3031
pydantic = "~=2.6"
3132
statsd = "~=4.0"
3233
aiodns = "~=3.1"
3334

3435
[tool.poetry.extras]
3536
async-rediscache = ["async-rediscache"]
37+
fakeredis = ["fakeredis"]
38+
all = ["async-rediscache", "fakeredis"]
3639

3740
[tool.poetry.group.dev.dependencies]
3841
taskipy = "1.12.2"

0 commit comments

Comments
 (0)