aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/changelog.rst2
-rw-r--r--poetry.lock5
-rw-r--r--pyproject.toml5
3 files changed, 9 insertions, 3 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 83a3af7a..7f0ec3fe 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -4,6 +4,8 @@
Changelog
=========
+- :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.
+- :breaking:`208` Drop support for Python 3.10
- :breaking:`208` Drop support for Pydantic 1.X
- :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.
- :support:`206` Bump ruff from 0.1.15 to 0.2.2, using the new lint config namespace, and linting with the new rules.
diff --git a/poetry.lock b/poetry.lock
index 7c072a07..e48a37ba 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -158,7 +158,6 @@ files = [
]
[package.dependencies]
-fakeredis = {version = ">=1.7.1", extras = ["lua"], optional = true, markers = "extra == \"fakeredis\""}
redis = ">=4.2,<5.0"
[package.extras]
@@ -2046,9 +2045,11 @@ idna = ">=2.0"
multidict = ">=4.0"
[extras]
+all = ["async-rediscache", "fakeredis"]
async-rediscache = ["async-rediscache"]
+fakeredis = ["fakeredis"]
[metadata]
lock-version = "2.0"
python-versions = "3.10.* || 3.11.*"
-content-hash = "10074d9691a66b5086362d12ff78bc54028382f17b3b512d942e7d47c6b7d86d"
+content-hash = "088f8fb148adf7b38413f7888329059ad8f8f6a99d973d22506b86328678c54d"
diff --git a/pyproject.toml b/pyproject.toml
index 25d8317e..7e661666 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -26,13 +26,16 @@ keywords = ["bot", "discord", "discord.py"]
python = "3.10.* || 3.11.*"
"discord.py" = "~=2.3.2"
-async-rediscache = { version = "1.0.0rc2", extras = ["fakeredis"], optional = true }
+async-rediscache = { version = "1.0.0rc2", optional = true }
+fakeredis = { version = "~=2.0", extras = ["lua"], optional = true }
pydantic = "~=2.6"
statsd = "~=4.0"
aiodns = "~=3.1"
[tool.poetry.extras]
async-rediscache = ["async-rediscache"]
+fakeredis = ["fakeredis"]
+all = ["async-rediscache", "fakeredis"]
[tool.poetry.group.dev.dependencies]
taskipy = "1.12.2"