fix: fall back to setuptools when declared sdist build backend is unavailable#1106
Draft
xangcastle wants to merge 1 commit into
Draft
fix: fall back to setuptools when declared sdist build backend is unavailable#1106xangcastle wants to merge 1 commit into
xangcastle wants to merge 1 commit into
Aspect Workflows / aspect / gazelle (gazelle)
failed
Jun 11, 2026 in 25s
❌ gazelle //tools/gazelle:gazelle · 1 BUILD file out of date
❌ Failed · 📅 Thu Jun 11 15:54:25 UTC 2026 · ⏱ 26s · 📋 Diff (failed after 1.6s) | 🔧 Setup 5.8s · 🔨 Build 18.5s
👤 runner · 🖥 runnervm1li68 · 💎 aspect-cli v2026.22.44
📦 1 target · ⚡ 5 of 6 actions executed (16% cached) · 🔧 bazel v8.5.1 build · 🎯 k8 · ⚙️ fastbuild
🐙 GitHub Actions
⚙️ Scope: all
💬 Last update: Gazelle failed (1 out of date)
Details
❌ 1 BUILD file is out of date
📝 Files
uv/private/pep517_whl/BUILD.bazel
🛠️ Fix
aspect gazelle --severity=info --check-only=false -- uv/private/pep517_whl
# without Aspect CLI
bazel run //tools/gazelle:gazelle
Install aspect: docs.aspect.build/cli/install
📥 Patch
Download the patch, then run git apply -p0 <file> in your workspace.
One-line download + apply
gh api repos/aspect-build/rules_py/actions/artifacts/7569664370/zip > /tmp/aspect-patch.zip \
&& unzip -p /tmp/aspect-patch.zip \
| git apply -p0🔁 Reproduce
aspect gazelle --severity=fail --check-only=true
Install aspect: docs.aspect.build/cli/install
📎 Artifacts
Artifacts · Profile · BEP · Gazelle Patch
⏱️ Task timing
Phase | Description | Duration ------+----------------------------------------------------+--------- Setup | Prepare the task environment | 5.8s Build | Build gazelle | 18.5s Diff | Compute BUILD-file diff (failed during this phase) | 1.6s ------+----------------------------------------------------+--------- Total | | 26s
🎯 Bazel targets (1)
✅ 1 Target Built
Label | Target Type ------------------------+---------------------- //tools/gazelle:gazelle | aspect_gazelle_runner
🧮 Bazel details
📟 Command line · bazel build //tools/gazelle:gazelle
bazel build \ --disk_cache=/home/runner/.cache/bazel-disk \ --generate_json_trace_profile=1 \ --experimental_profile_include_target_label \ --profile=/tmp/e24343dd-9ebc-478d-99b5-3f4d8e3b2c4f.profile.gz \ --color=yes \ --build_metadata=ASPECT_TASK_NAME=Gazelle \ --build_metadata=ASPECT_TASK_ID=gazelle \ --experimental_build_event_upload_strategy=local \ --remote_download_outputs=toplevel \ --build_runfile_links \ --build_event_publish_all_actions \ --build_event_binary_file_upload_mode=fully_async \ --build_event_binary_file=/tmp/build-event-out-1f3f9903-d401-4279-94fa-9a5009588ec4.bin \ -- \ //tools/gazelle:gazelle
ℹ️ Invocation details
- Invocation ID:
6ac0f660-c8c3-400d-af45-cf99b570995c - Command:
build - Bazel version:
8.5.1 - Start time:
Thu Jun 11 15:54:25 UTC 2026 - End time:
Thu Jun 11 15:54:34 UTC 2026 - User:
runner - Host name:
runnervm1li68 - CPU Target:
k8 - Mode:
fastbuild - Working directory:
/home/runner/work/rules_py/rules_py - Workspace directory:
/home/runner/work/rules_py/rules_py - Server PID:
2350
⏱ Timing
- Elapsed time:
8.9s - Analysis time:
3.8s - Execution time:
71ms - Bazel server time:
26.6 cpu-seconds
📦 Build graph
- Targets: 1 target (2,108 configured, 1 aspect application)
- Actions: 5 actions (6 created)
- Packages: 127 packages loaded
💾 Cache stats
- Actions: 1 of 6 cached (16%)
⚡ Actions by mnemonic (5)
Mnemonic | Count | % ---------------------------+-------+------ BazelWorkspaceStatusAction | 1 | 20.0% FileWrite | 1 | 20.0% RepoMappingManifest | 1 | 20.0% SourceSymlinkManifest | 1 | 20.0% SymlinkTree | 1 | 20.0%
🏃 Actions by runner (1)
Runner | Count | % ---------+-------+------- internal | 5 | 100.0%
🏠 Workspace status (4)
- BUILD_HOST:
runnervm1li68 - BUILD_TIMESTAMP:
1781193270 - BUILD_USER:
runner - FORMATTED_DATE:
2026 Jun 11 15 54 30 Thu
🏷️ Build metadata (2)
- ASPECT_TASK_ID:
gazelle - ASPECT_TASK_NAME:
Gazelle
🎛️ Startup options (13)
--connect_timeout_secs=30 --failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/6df7480ff30c4c8a0931e4b7e7f160da/failure_detail.rawproto --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1 --idle_server_tasks --max_idle_secs=10800 --noclient_debug --nofatal_event_bus_exceptions --noshutdown_on_low_sys_mem --nowatchfs --nowindows_enable_symlinks --output_base=/home/runner/.cache/bazel/_bazel_runner/6df7480ff30c4c8a0931e4b7e7f160da --output_user_root=/home/runner/.cache/bazel/_bazel_runner --write_command_log
🎛️ Command options (58)
--announce_rc --build_event_binary_file=/tmp/build-event-out-1f3f9903-d401-4279-94fa-9a5009588ec4.bin --build_event_binary_file_upload_mode=fully_async --build_event_publish_all_actions --build_metadata=ASPECT_TASK_ID=gazelle --build_metadata=ASPECT_TASK_NAME=Gazelle --build_runfile_links --color=yes --curses=yes --define=SOME_VAR=SOME_VALUE --disk_cache=/home/runner/.cache/bazel-disk --enable_platform_specific_config --experimental_build_event_upload_strategy=local --experimental_fetch_all_coverage_outputs --experimental_profile_include_target_label --generate_json_trace_profile=1 --grpc_keepalive_time=30s --heap_dump_on_oom --host_per_file_copt='external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT' --host_platform=//bazel/platforms:linux_gnu --incompatible_auto_exec_groups --incompatible_autoload_externally='' --incompatible_config_setting_private_default_visibility --incompatible_default_to_explicit_init_py --incompatible_disable_native_repo_rules --incompatible_disable_non_executable_java_binary --incompatible_disable_starlark_host_transitions --incompatible_enable_cc_toolchain_resolution --incompatible_enforce_starlark_utf8=error --incompatible_modify_execution_info_additive --incompatible_repo_env_ignores_action_env --incompatible_strict_action_env --lockfile_mode=error --lockfile_mode=off --module_mirrors=https://bcr.cloudflaremirrors.com --nobuild_runfile_links --noexperimental_check_external_repository_files --noincompatible_disallow_empty_glob --noremote_upload_local_results --nosandbox_default_allow_network --per_file_copt='external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT' --platforms=//bazel/platforms:linux_gnu --profile=/tmp/e24343dd-9ebc-478d-99b5-3f4d8e3b2c4f.profile.gz --remote_download_outputs=minimal --remote_download_outputs=toplevel --remote_local_fallback --remote_timeout=3600 --remote_upload_local_results --repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 --repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1 --repo_env='JAVA_HOME=<REDACTED>' --repository_cache=/home/runner/.cache/bazel-repo --reuse_sandbox_directories --show_progress_rate_limit=60 --show_result=20 --show_timestamps --test_output=errors --toolchain_resolution_debug=@@bazel_tools//tools/cpp:toolchain_type
⏱ Last updated Thu Jun 11 15:54:38 UTC 2026 · 📊 GitHub API quota 2,167/15,000 (14% used, resets in 22m)
🚀 Powered by Aspect CLI (v2026.22.44) | Aspect Build · X · LinkedIn · YouTube
Loading