[Host OS][docker-vs] No longer install 'wheel' package explicitly (#5641)
It should no longer be necessary to explicitly install the 'wheel' package, as SONiC packages built as wheels should specify 'wheel' as a dependency in their setup.py files. Therefore, pip[3] should check for the presence of 'wheel' and install it if it isn't present before attempting to call 'setup.py bdist_wheel' to install the package.
This commit is contained in:
parent
cdb82b9fc2
commit
bef76b102b
@ -318,11 +318,6 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
|
|||||||
haveged \
|
haveged \
|
||||||
jq
|
jq
|
||||||
|
|
||||||
# Install "wheel" package so that we can install .whl packages and not
|
|
||||||
# encounter a "error: invalid command 'bdist_wheel'" error
|
|
||||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install wheel
|
|
||||||
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install wheel
|
|
||||||
|
|
||||||
if [[ $CONFIGURED_ARCH == amd64 ]]; then
|
if [[ $CONFIGURED_ARCH == amd64 ]]; then
|
||||||
## Pre-install the fundamental packages for amd64 (x86)
|
## Pre-install the fundamental packages for amd64 (x86)
|
||||||
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install \
|
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install \
|
||||||
|
@ -63,8 +63,6 @@ RUN rm redis-tools_6.0.6-1~bpo10+1_amd64.deb redis-server_6.0.6-1~bpo10+1_amd64.
|
|||||||
|
|
||||||
RUN pip install setuptools
|
RUN pip install setuptools
|
||||||
RUN pip3 install setuptools
|
RUN pip3 install setuptools
|
||||||
RUN pip install wheel
|
|
||||||
RUN pip3 install wheel
|
|
||||||
RUN pip install py2_ipaddress
|
RUN pip install py2_ipaddress
|
||||||
RUN pip install six
|
RUN pip install six
|
||||||
RUN pip install pyroute2==0.5.3 netifaces==0.10.7
|
RUN pip install pyroute2==0.5.3 netifaces==0.10.7
|
||||||
|
Loading…
Reference in New Issue
Block a user