Skip to content

Commit da1503d

Browse files
authored
[sonic-slave]: Fix redis version during pip3 install (#9317)
The recent release of redis 4.0.0 or newer (for python3) breaks sonic-config-engine unit test. Fix to last known good version. ref: https://pypi.org/project/redis/#history
1 parent fba7a7f commit da1503d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sonic-slave-bullseye/Dockerfile.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ RUN pip3 install "PyYAML==5.4.1"
444444
RUN pip3 install "lxml==4.6.2"
445445

446446
# For sonic-platform-common testing
447-
RUN pip3 install redis
447+
RUN pip3 install redis==3.5.3
448448

449449
# For vs image build
450450
RUN pip3 install pexpect==4.8.0

sonic-slave-buster/Dockerfile.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ RUN pip2 install "lxml==4.6.2"
457457
RUN pip3 install "lxml==4.6.2"
458458
459459
# For sonic-platform-common testing
460-
RUN pip3 install redis
460+
RUN pip3 install redis==3.5.3
461461
462462
# For vs image build
463463
RUN pip2 install pexpect==4.6.0

sonic-slave-stretch/Dockerfile.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ RUN pip3 install "lxml==4.6.2"
365365
366366
367367
# For sonic-platform-common testing
368-
RUN pip3 install redis
368+
RUN pip3 install redis==3.5.3
369369
370370
# For vs image build
371371
RUN pip2 install pexpect==4.6.0

0 commit comments

Comments
 (0)