File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
model-mesh-triton-adapter/scripts Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,12 @@ USER root
2424ENV HOME=/root
2525
2626# Install build and dev tools
27- # NOTE: Require python38 to install pre-commit
27+ # NOTE: Require python311 to install pre-commit
2828RUN --mount=type=cache,target=/root/.cache/dnf:rw \
2929 dnf install --setopt=cachedir=/root/.cache/dnf -y --nodocs \
3030 nodejs \
31- python38 \
31+ python3.11 \
32+ python3.11-pip \
3233 && ln -sf /usr/bin/python3 /usr/bin/python \
3334 && ln -sf /usr/bin/pip3 /usr/bin/pip \
3435 && true
@@ -149,8 +150,9 @@ RUN --mount=type=cache,target=/root/.cache/microdnf:rw \
149150 microdnf install --setopt=cachedir=/root/.cache/microdnf \
150151 gcc \
151152 gcc-c++ \
152- python38-devel \
153- python38 \
153+ python3.11-devel \
154+ python3.11 \
155+ python3.11-pip \
154156 && ln -sf /usr/bin/python3 /usr/bin/python \
155157 && ln -sf /usr/bin/pip3 /usr/bin/pip \
156158 && true
Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14+
1415import os
1516import sys
1617import time
You can’t perform that action at this time.
0 commit comments