From 7cda4f19b54038d306502c56ebe5418998abe3dc Mon Sep 17 00:00:00 2001 From: Subhash Bhushan Date: Thu, 25 Jul 2024 15:31:08 -0700 Subject: [PATCH] Upgrade Redis to v5.0.7+ --- README.md | 1 + poetry.lock | 29 ++++++++++++++++++++++------- pyproject.toml | 2 +- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 63f069f7..8ea12508 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ **Protean** is an opinionated and pragmatic framework for building event-driven applications using the CQRS pattern. +[![Python](https://img.shields.io/pypi/pyversions/protean?label=Python)](https://github.com/proteanhq/protean/) [![Release](https://img.shields.io/pypi/v/protean?label=Release&style=flat-square)](https://pypi.org/project/protean/) [![Build Status](https://github.com/proteanhq/protean/actions/workflows/ci.yml/badge.svg)](https://github.com/proteanhq/protean/actions/workflows/ci.yml) [![Coverage](https://codecov.io/gh/proteanhq/protean/graph/badge.svg?token=0sFuFdLBOx)](https://codecov.io/gh/proteanhq/protean) diff --git a/poetry.lock b/poetry.lock index 77074d26..8234a47d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -43,6 +43,17 @@ six = ">=1.12.0" astroid = ["astroid (>=1,<2)", "astroid (>=2,<4)"] test = ["astroid (>=1,<2)", "astroid (>=2,<4)", "pytest"] +[[package]] +name = "async-timeout" +version = "4.0.3" +description = "Timeout context manager for asyncio programs" +optional = true +python-versions = ">=3.7" +files = [ + {file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"}, + {file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"}, +] + [[package]] name = "babel" version = "2.14.0" @@ -2080,17 +2091,21 @@ md = ["cmarkgfm (>=0.8.0)"] [[package]] name = "redis" -version = "3.5.3" -description = "Python client for Redis key-value store" +version = "5.0.7" +description = "Python client for Redis database and key-value store" optional = true -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +python-versions = ">=3.7" files = [ - {file = "redis-3.5.3-py2.py3-none-any.whl", hash = "sha256:432b788c4530cfe16d8d943a09d40ca6c16149727e4afe8c2c9d5580c59d9f24"}, - {file = "redis-3.5.3.tar.gz", hash = "sha256:0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2"}, + {file = "redis-5.0.7-py3-none-any.whl", hash = "sha256:0e479e24da960c690be5d9b96d21f7b918a98c0cf49af3b6fafaa0753f93a0db"}, + {file = "redis-5.0.7.tar.gz", hash = "sha256:8f611490b93c8109b50adc317b31bfd84fff31def3475b92e7e80bf39f48175b"}, ] +[package.dependencies] +async-timeout = {version = ">=4.0.3", markers = "python_full_version < \"3.11.3\""} + [package.extras] -hiredis = ["hiredis (>=0.1.3)"] +hiredis = ["hiredis (>=1.0.0)"] +ocsp = ["cryptography (>=36.0.1)", "pyopenssl (==20.0.1)", "requests (>=2.26.0)"] [[package]] name = "regex" @@ -2752,4 +2767,4 @@ sqlite = ["sqlalchemy"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "3a0379dc1eb5efb29763f4dd4c010fce708ed3421b722e4b27e9737c64a415bc" +content-hash = "252f6989d5b1c9550840b4e2d093a61894a9d1db1116f952fb8b517496e1e6c4" diff --git a/pyproject.toml b/pyproject.toml index c647133f..fb3b3b11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,7 +64,7 @@ werkzeug = ">=2.0.0" elasticsearch = {version = "~7.17.9", optional = true} elasticsearch-dsl = {version = "~7.4.1", optional = true} -redis = {version = "~3.5.2", optional = true} +redis = {version = "~5.0.7", optional = true} sqlalchemy = {version = "~2.0.30", optional = true} psycopg2 = {version = ">=2.9.9", optional = true} celery = { version = "~5.2.7", extras = ["redis"], optional = true}