Skip to content

Commit

Permalink
Update Redis and Redis accessories
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
SpecLad committed Apr 12, 2023
1 parent 61adec5 commit 0ca72c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cvat/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 2 additions & 5 deletions cvat/requirements/testing.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
-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
coveralls
fakeredis==2.10.3
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ca72c8

Please sign in to comment.