Skip to content

Commit a77f67e

Browse files
committed
fix: resolve remaining rust CI failures
Signed-off-by: lucarlig <luca.carlig@ibm.com>
1 parent d4c8266 commit a77f67e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Containerfile.lite

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ COPY crates/ /build/crates/
6868
# Build local native extensions from maturin crates under crates/
6969
RUN if [ "$ENABLE_RUST" = "true" ]; then \
7070
mkdir -p /build/native-extension-wheels && \
71-
python3 -m pip install --no-cache-dir --upgrade pip "maturin==1.12.6" && \
71+
python3.12 -m pip install --no-cache-dir --upgrade pip "maturin==1.12.6" && \
7272
printf '%s\n' \
7373
'import pathlib' \
7474
'import subprocess' \
75+
'import sys' \
7576
'import tomllib' \
7677
'' \
7778
'crates_root = pathlib.Path("/build/crates")' \
@@ -88,10 +89,10 @@ RUN if [ "$ENABLE_RUST" = "true" ]; then \
8889
' continue' \
8990
' crate_dir = cargo_toml.parent' \
9091
' print(f"🦀 Building local native extension: {crate_dir.name}")' \
91-
' subprocess.run(["maturin", "build", "--release", "--manifest-path", str(cargo_toml), "--out", str(wheel_dir)], check=True)' \
92+
' subprocess.run([sys.executable, "-m", "maturin", "build", "--release", "--manifest-path", str(cargo_toml), "--out", str(wheel_dir)], check=True)' \
9293
'print("✅ Local native extensions built successfully")' \
9394
> /tmp/build_local_native_extensions.py && \
94-
python3 /tmp/build_local_native_extensions.py && \
95+
python3.12 /tmp/build_local_native_extensions.py && \
9596
rm -f /tmp/build_local_native_extensions.py \
9697
else \
9798
echo "⏭️ Skipping local native extension build"; \

supply-chain/audits.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11

22
# cargo-vet audits file
33

4-
[audits]
4+
[[audits.rustls-webpki]]
5+
who = "lucarlig <luca.carlig@ibm.com>"
6+
criteria = "safe-to-deploy"
7+
delta = "0.103.11 -> 0.103.12"
8+
notes = "Security patch update for RUSTSEC-2026-0098; reviewed upstream diff for URI name-constraint handling change."
59

610
[[trusted.aho-corasick]]
711
criteria = "safe-to-deploy"

0 commit comments

Comments
 (0)