[pip2]: pin down pip to 20.3.3
With the release of pip21.0 (https://pypi.org/project/pip/#history) on branch 201811 stretch build is failing with below error logs: As per https://pypi.org/project/pip/ pip21.0 does not not support python2 from Jan 2021. To fix this tag the pip to 20.3.3 version which was being used last and is working fine. Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
ddbfe0631d
commit
ee4fa7b909
@ -365,7 +365,7 @@ set /files/etc/sysctl.conf/net.core.wmem_max 2097152
|
||||
sudo sed -i 's/^#syslog = yes/syslog = yes/' $FILESYSTEM_ROOT/etc/mcelog/mcelog.conf
|
||||
|
||||
## docker-py is needed by Ansible docker module
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install pip
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install 'pip==20.3.3'
|
||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install 'docker-py==1.6.0'
|
||||
## Note: keep pip installed for maintainance purpose
|
||||
|
||||
|
@ -8,7 +8,7 @@ RUN apt-get update
|
||||
# Dependencies for sonic-cfggen
|
||||
RUN apt-get install -y python-lxml python-yaml python-bitarray python-pip python-dev python-natsort
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install --upgrade pip==20.3.3
|
||||
|
||||
RUN pip install netaddr==0.7.19 ipaddr==2.2.0 jinja2==2.11.2 pyangbind==0.5.10
|
||||
|
||||
|
Reference in New Issue
Block a user