Skip to content

Commit f895a7b

Browse files
Fix lambda builds (#2301)
* Fix lambda builds * Resolve Pygments security issue
1 parent e9a0e00 commit f895a7b

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

docker/dockerfiles/Dockerfile.onnx.lambda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN dnf makecache -y && dnf install -y \
3535
&& /var/lang/bin/python3.12 -m pip install --upgrade pip && rm -rf ~/.cache/pip \
3636
&& pip3 install \
3737
--extra-index-url https://download.pytorch.org/whl/cpu \
38-
certifi==2022.12.07 \
38+
certifi==2023.5.7 \
3939
-r _requirements.txt \
4040
-r requirements.clip.txt \
4141
-r requirements.cpu.txt \

docker/dockerfiles/Dockerfile.onnx.lambda.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN dnf makecache -y && dnf install -y \
2828
&& if [ "${TARGETPLATFORM}" == "linux/amd64" ]; then mv requirements.vino.txt requirements.cpu.txt; fi \
2929
&& /var/lang/bin/python3.12 -m pip install --upgrade pip && rm -rf ~/.cache/pip \
3030
&& pip3 install \
31-
certifi==2022.12.07 \
31+
certifi==2023.5.7 \
3232
-r _requirements.txt \
3333
-r requirements.cpu.txt \
3434
-r requirements.http.txt \

inference_models/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ dependencies = [
4343
"GitPython>=3.1.47,<4.0.0",
4444
"CairoSVG>=2.9.0,<3.0.0",
4545
"fonttools>=4.60.2,<5.0.0",
46+
"Pygments>=2.20.0,<3.0.0",
4647
]
4748

4849
[project.optional-dependencies]

inference_models/uv.lock

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)