diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8a118a5..b75103d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: rev: 22.3.0 hooks: - id: black - language_version: python3.10 + language_version: python3.11 - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 diff --git a/README.md b/README.md index a732117..d71b2f4 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Service is built with Python, FastAPI and is using Redis for data storage. ### Requirements -- Python 3.10+ +- Python 3.11+ - Redis - Python development libraries (optional, only needed for `hiredis` module installation) diff --git a/setup.cfg b/setup.cfg index abc8b2d..be2106f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,14 +7,13 @@ package_dir = = src packages = find: install_requires = fastapi==0.78.0 - aioredis==2.0.1 + redis[hiredis]==4.4.0 click==8.1.3 -python_requires = >=3.10 +python_requires = >=3.11 [options.extras_require] -hiredis = - hiredis==2.0.0 development = + uvicorn pre-commit==2.19.0 [options.entry_points]