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
24
24
ENV HOME=/root
25
25
26
26
# Install build and dev tools
27
- # NOTE: Require python38 to install pre-commit
27
+ # NOTE: Require python311 to install pre-commit
28
28
RUN --mount=type=cache,target=/root/.cache/dnf:rw \
29
29
dnf install --setopt=cachedir=/root/.cache/dnf -y --nodocs \
30
30
nodejs \
31
- python38 \
31
+ python3.11 \
32
+ python3.11-pip \
32
33
&& ln -sf /usr/bin/python3 /usr/bin/python \
33
34
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
34
35
&& true
@@ -149,8 +150,9 @@ RUN --mount=type=cache,target=/root/.cache/microdnf:rw \
149
150
microdnf install --setopt=cachedir=/root/.cache/microdnf \
150
151
gcc \
151
152
gcc-c++ \
152
- python38-devel \
153
- python38 \
153
+ python3.11-devel \
154
+ python3.11 \
155
+ python3.11-pip \
154
156
&& ln -sf /usr/bin/python3 /usr/bin/python \
155
157
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
156
158
&& 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