未验证 提交 b8cdd4ef 编写于 作者: R Roman Donchenko 提交者: GitHub

Update Redis and Redis accessories (#6016)

This originally started as a security update for redis-py (see
<https://github.com/redis/redis-py/releases/tag/v4.5.3>,
<https://github.com/redis/redis-py/releases/tag/v4.5.4>). However, I
also had to update other Redis-related components because of
incompatibilities.

* The old version of fakeredis is not compatible with the redis-py 4.x,
so I bumped it too. This also allowed me to remove the six workaround.

* redis-py 4.1.0 and newer don't support Redis < 5, so I bumped Redis
itself in `docker-compose.yml`. Note that the Helm chart is already
using Redis 7.0.x.

Obsoletes #5946.
上级 65d43aae
......@@ -72,7 +72,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The issue related to webhook events not being sent has been resolved (<https://github.com/opencv/cvat/pull/5916>)
### Security
- TDB
- Updated Redis (in the Compose file) to 7.0.x, and redis-py to 4.5.4
(<https://github.com/opencv/cvat/pull/6016>)
## \[2.4.1] - 2023-04-05
### Fixed
......
......@@ -19,7 +19,7 @@ python-ldap==3.4.3
pytz==2020.1
pyunpack==0.2.1
rcssmin==1.0.6
redis==3.5.3
redis==4.5.4
rjsmin==1.1.0
requests==2.26.0
rq==1.5.2
......
-r development.txt
fakeredis==1.4.3
# Fix dependencies for fakeredis 1.1.0
# Pip will not reinstall six package if it is installed already
six==1.15.0
coveralls
\ No newline at end of file
coveralls
fakeredis==2.10.3
......@@ -18,7 +18,7 @@ services:
cvat_redis:
container_name: cvat_redis
image: redis:4.0-alpine
image: redis:7.0-alpine
restart: always
networks:
- cvat
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册