mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
parent
b5ef05c01a
commit
67382553e5
3 changed files with 33 additions and 30 deletions
6
CHANGES/1327.misc.rst
Normal file
6
CHANGES/1327.misc.rst
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
Updated dependencies, bumped minimum required version:
|
||||||
|
|
||||||
|
- :code:`magic-filter` - fixed `.resolve` operation
|
||||||
|
- :code:`pydantic` - fixed compatibility (broken in 2.4)
|
||||||
|
- :code:`aiodns` - added new dependency to the :code:`fast` extras (:code:`pip install aiogram[fast]`)
|
||||||
|
- *others...*
|
||||||
|
|
@ -138,7 +138,7 @@ class RedisStorage(BaseStorage):
|
||||||
return RedisEventIsolation(redis=self.redis, key_builder=self.key_builder, **kwargs)
|
return RedisEventIsolation(redis=self.redis, key_builder=self.key_builder, **kwargs)
|
||||||
|
|
||||||
async def close(self) -> None:
|
async def close(self) -> None:
|
||||||
await self.redis.close(close_connection_pool=True)
|
await self.redis.aclose(close_connection_pool=True)
|
||||||
|
|
||||||
async def set_state(
|
async def set_state(
|
||||||
self,
|
self,
|
||||||
|
|
|
||||||
|
|
@ -40,12 +40,12 @@ classifiers = [
|
||||||
"Topic :: Communications :: Chat",
|
"Topic :: Communications :: Chat",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"magic-filter~=1.0.11",
|
"magic-filter>=1.0.12,<1.1",
|
||||||
"aiohttp~=3.8.5",
|
"aiohttp~=3.8.5",
|
||||||
"pydantic>=2.1.1,<2.4",
|
"pydantic>=2.4.1,<2.5",
|
||||||
"aiofiles~=23.1.0",
|
"aiofiles~=23.2.1",
|
||||||
"certifi>=2023.7.22",
|
"certifi>=2023.7.22",
|
||||||
"typing-extensions~=4.7.1",
|
"typing-extensions~=4.8.0",
|
||||||
]
|
]
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
|
|
||||||
|
|
@ -55,55 +55,55 @@ path = "aiogram/__meta__.py"
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
fast = [
|
fast = [
|
||||||
"uvloop>=0.17.0; (sys_platform == 'darwin' or sys_platform == 'linux') and platform_python_implementation != 'PyPy'",
|
"uvloop>=0.17.0; (sys_platform == 'darwin' or sys_platform == 'linux') and platform_python_implementation != 'PyPy'",
|
||||||
|
"aiodns>=3.0.0",
|
||||||
]
|
]
|
||||||
redis = [
|
redis = [
|
||||||
"redis~=4.6.0",
|
"redis[hiredis]~=5.0.1",
|
||||||
]
|
]
|
||||||
proxy = [
|
proxy = [
|
||||||
"aiohttp-socks~=0.8.0",
|
"aiohttp-socks~=0.8.3",
|
||||||
]
|
]
|
||||||
i18n = [
|
i18n = [
|
||||||
"Babel~=2.12.1",
|
"Babel~=2.12.1",
|
||||||
]
|
]
|
||||||
cli = [
|
cli = [
|
||||||
"aiogram-cli~=1.0",
|
"aiogram-cli~=1.0.3",
|
||||||
]
|
]
|
||||||
test = [
|
test = [
|
||||||
"pytest~=7.4.0",
|
"pytest~=7.4.2",
|
||||||
"pytest-html~=4.0.0",
|
"pytest-html~=4.0.2",
|
||||||
"pytest-asyncio~=0.21.0",
|
"pytest-asyncio~=0.21.1",
|
||||||
"pytest-lazy-fixture~=0.6.3",
|
"pytest-lazy-fixture~=0.6.3",
|
||||||
"pytest-mock~=3.11.0",
|
"pytest-mock~=3.11.0",
|
||||||
"pytest-mypy~=0.10.0",
|
"pytest-mypy~=0.10.3",
|
||||||
"pytest-cov~=4.1.0",
|
"pytest-cov~=4.1.0",
|
||||||
"pytest-aiohttp~=1.0.4",
|
"pytest-aiohttp~=1.0.5",
|
||||||
"aresponses~=2.1.6",
|
"aresponses~=2.1.6",
|
||||||
"pytz~=2023.3",
|
"pytz~=2023.3",
|
||||||
"pycryptodomex~=3.19",
|
"pycryptodomex~=3.19.0",
|
||||||
]
|
]
|
||||||
docs = [
|
docs = [
|
||||||
"Sphinx~=7.1.1",
|
"Sphinx~=7.2.6",
|
||||||
"sphinx-intl~=2.0.1",
|
"sphinx-intl~=2.1.0",
|
||||||
"sphinx-autobuild~=2021.3.14",
|
"sphinx-autobuild~=2021.3.14",
|
||||||
"sphinx-copybutton~=0.5.2",
|
"sphinx-copybutton~=0.5.2",
|
||||||
"furo~=2023.7.26",
|
"furo~=2023.9.10",
|
||||||
"Sphinx-Substitution-Extensions~=2022.2.16",
|
"Sphinx-Substitution-Extensions~=2022.2.16",
|
||||||
"towncrier~=23.6.0",
|
"towncrier~=23.6.0",
|
||||||
"pygments~=2.15.1",
|
"pygments~=2.16.1",
|
||||||
"pymdown-extensions~=10.1",
|
"pymdown-extensions~=10.3",
|
||||||
"markdown-include~=0.8.1",
|
"markdown-include~=0.8.1",
|
||||||
"Pygments~=2.15.1",
|
"Pygments~=2.16.1",
|
||||||
"sphinxcontrib-towncrier~=0.3.2a0",
|
"sphinxcontrib-towncrier~=0.3.2a0",
|
||||||
]
|
]
|
||||||
dev = [
|
dev = [
|
||||||
"black~=23.7.0",
|
"black~=23.9.1",
|
||||||
"isort~=5.11",
|
"isort~=5.12.0",
|
||||||
"ruff~=0.0.280",
|
"ruff~=0.0.291",
|
||||||
"mypy~=1.4.1",
|
"mypy~=1.5.1",
|
||||||
"toml~=0.10.2",
|
"toml~=0.10.2",
|
||||||
"pre-commit~=3.3.3",
|
"pre-commit~=3.4.0",
|
||||||
"towncrier~=23.6.0",
|
"packaging~=23.1",
|
||||||
"packaging~=23.0",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
|
|
@ -154,9 +154,6 @@ features = [
|
||||||
"test",
|
"test",
|
||||||
"cli",
|
"cli",
|
||||||
]
|
]
|
||||||
#extra-dependencies = [
|
|
||||||
# "butcher @ git+https://github.com/aiogram/butcher.git@v0.1.22",
|
|
||||||
#]
|
|
||||||
|
|
||||||
[tool.hatch.envs.dev.scripts]
|
[tool.hatch.envs.dev.scripts]
|
||||||
update = [
|
update = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue