Skip to content

Commit

Permalink
Install netaddr 0.10.1 in the Python 2 part of sonic-mgmt (sonic-net#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
saiarcot895 authored and pull[bot] committed Mar 7, 2024
1 parent 43631e3 commit bb5123d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockers/docker-sonic-mgmt/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ RUN python2 -m pip install allure-pytest==2.8.22 \
mock \
msrest==0.6.21 \
natsort \
netaddr \
netaddr==0.10.1 \
netmiko==2.4.2 \
nnpy \
pandas \
Expand Down

0 comments on commit bb5123d

Please sign in to comment.