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 @@ -25,11 +25,12 @@ USER root
25
25
ENV HOME=/root
26
26
27
27
# Install build and dev tools
28
- # NOTE: Require python38 to install pre-commit
28
+ # NOTE: Require python311 to install pre-commit
29
29
RUN --mount=type=cache,target=/root/.cache/dnf:rw \
30
30
dnf install --setopt=cachedir=/root/.cache/dnf -y --nodocs \
31
31
nodejs \
32
- python38 \
32
+ python3.11 \
33
+ python3.11-pip \
33
34
&& ln -sf /usr/bin/python3 /usr/bin/python \
34
35
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
35
36
&& true
@@ -158,8 +159,9 @@ RUN --mount=type=cache,target=/root/.cache/microdnf:rw \
158
159
microdnf install --setopt=cachedir=/root/.cache/microdnf --setopt=ubi-8-appstream-rpms.module_hotfixes=1 \
159
160
gcc \
160
161
gcc-c++ \
161
- python38-devel \
162
- python38 \
162
+ python3.11-devel \
163
+ python3.11 \
164
+ python3.11-pip \
163
165
&& ln -sf /usr/bin/python3 /usr/bin/python \
164
166
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
165
167
&& true
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
+
14
15
import os
15
16
import sys
16
17
import time
You can’t perform that action at this time.
0 commit comments