Skip to content

Commit 011dc2c

Browse files
saiarcot895sonic-otn
authored andcommitted
Install netaddr 0.10.1 in the Python 2 part of sonic-mgmt (sonic-net#18094)
Recently, netaddr 1.0.0 was released, which dropped Python 2 support entirely. Because of this, an empty netaddr package is installed for Python 2. Ansible still uses Python 2, so this needs to remain functional. The Python 3 part of sonic-mgmt is fine. Pin the version of netaddr installed in Python 2 to 0.10.1, the last supported version. Signed-off-by: Saikrishna Arcot <[email protected]>
1 parent 37d91ae commit 011dc2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockers/docker-sonic-mgmt/Dockerfile.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ RUN python2 -m pip install allure-pytest==2.8.22 \
151151
mock \
152152
msrest==0.6.21 \
153153
natsort \
154-
netaddr \
154+
netaddr==0.10.1 \
155155
netmiko==2.4.2 \
156156
nnpy \
157157
pandas \

0 commit comments

Comments
 (0)