From 5fa874f031b8de1bc6154066fd55f9f646a4d204 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 23 Feb 2026 18:24:50 -0600 Subject: [PATCH] Fix the wheel sbom contents check (again) and ensure CI runs on such changes (#18177) --- .github/workflows/ci.yml | 1 + scripts/check_uv_wheel_contents.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 422a146e3..16cb47e89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,7 @@ jobs: [[ "$file" == "pyproject.toml" || "$file" =~ ^crates/.*/pyproject\.toml$ ]] && python_config_changed=1 [[ "$file" =~ ^\.github/workflows/.*\.yml$ ]] && workflow_changed=1 [[ "$file" == ".github/workflows/build-release-binaries.yml" ]] && release_workflow_changed=1 + [[ "$file" == "scripts/check_uv_wheel_contents.py" ]] && release_build_changed=1 [[ "$file" == ".github/workflows/ci.yml" ]] && ci_workflow_changed=1 [[ "$file" == "uv.schema.json" ]] && schema_changed=1 [[ "$file" =~ ^crates/uv-publish/ || "$file" =~ ^scripts/publish/ || "$file" == "crates/uv/src/commands/publish.rs" ]] && publish_code_changed=1 diff --git a/scripts/check_uv_wheel_contents.py b/scripts/check_uv_wheel_contents.py index d74b63e71..ebdf9dcba 100644 --- a/scripts/check_uv_wheel_contents.py +++ b/scripts/check_uv_wheel_contents.py @@ -28,7 +28,7 @@ uv_build_expected = { "uv_build-VERSION.dist-info/WHEEL", "uv_build-VERSION.dist-info/licenses/LICENSE-APACHE", "uv_build-VERSION.dist-info/licenses/LICENSE-MIT", - "uv_build-VERSION.dist-info/sboms/uv_build.cyclonedx.json", + "uv_build-VERSION.dist-info/sboms/uv-build.cyclonedx.json", "uv_build/__init__.py", "uv_build/__main__.py", "uv_build/py.typed",