Fix build failure for ptp-notification images
Fixes a pip install error when building the notificationservice-base, notificationclient-base and locationservice-base images: ModuleNotFoundError: No module named 'setuptools_rust' It appears that an upstream change to oslo.messaging has caused the setuptools_rust dependency to not be found. Updating pip3 before installing additional modules resolves this issue. Closes-Bug: 1988854 Signed-off-by: Cole Walker <cole.walker@windriver.com> Change-Id: If568191b3e8feb1c23bdbc4168e495395567846d
This commit is contained in:
parent
7842bf33d6
commit
cdfc1a1dff
@ -10,6 +10,7 @@ RUN set -ex ;\
|
|||||||
$(grep '^name=' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \
|
$(grep '^name=' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \
|
||||||
-y \
|
-y \
|
||||||
gcc python3-devel python3-pip \
|
gcc python3-devel python3-pip \
|
||||||
|
&& pip3 install --upgrade pip \
|
||||||
&& pip3 install --user pecan \
|
&& pip3 install --user pecan \
|
||||||
&& pip3 install oslo-config \
|
&& pip3 install oslo-config \
|
||||||
&& pip3 install oslo-messaging \
|
&& pip3 install oslo-messaging \
|
||||||
|
@ -10,6 +10,7 @@ RUN set -ex ;\
|
|||||||
$(grep '^name=' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \
|
$(grep '^name=' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \
|
||||||
-y \
|
-y \
|
||||||
gcc python3-devel python3-pip \
|
gcc python3-devel python3-pip \
|
||||||
|
&& pip3 install --upgrade pip \
|
||||||
&& pip3 install --user pecan \
|
&& pip3 install --user pecan \
|
||||||
&& pip3 install oslo-config \
|
&& pip3 install oslo-config \
|
||||||
&& pip3 install oslo-messaging \
|
&& pip3 install oslo-messaging \
|
||||||
|
@ -10,6 +10,7 @@ RUN set -ex ;\
|
|||||||
$(grep '^name=' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \
|
$(grep '^name=' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \
|
||||||
-y \
|
-y \
|
||||||
gcc python3-devel python3-pip \
|
gcc python3-devel python3-pip \
|
||||||
|
&& pip3 install --upgrade pip \
|
||||||
&& pip3 install --user pecan \
|
&& pip3 install --user pecan \
|
||||||
&& pip3 install pygtail \
|
&& pip3 install pygtail \
|
||||||
&& pip3 install oslo-config \
|
&& pip3 install oslo-config \
|
||||||
|
Loading…
Reference in New Issue
Block a user