fix: fall back to setuptools when declared sdist build backend is unavailable#1106
fix: fall back to setuptools when declared sdist build backend is unavailable#1106xangcastle wants to merge 1 commit into
❌ buildifier @buildifier_prebuilt//buildifier · Formatted 1 file
❌ Failed · 📅 Thu Jun 11 15:54:11 UTC 2026 · ⏱ 19.5s · 📋 Diff (failed after 626ms) | 🔧 Setup 2.9s · 🔨 Build 13s · 🔍 Detect 2.9s · ✨ Format 4ms
👤 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: changed — filtered to 1 changed file
💬 Last update: Format failed (1 file needs format)
Details
✅ Formatted 1 file
The formatter rewrote 1 file in your working tree. Review and commit the changes.
📝 Files
uv/private/pep517_whl/BUILD.bazel
🛠️ Fix
aspect buildifier --severity=info -- uv/private/pep517_whl/BUILD.bazel
# without Aspect CLI
bazel run --run_in_cwd @buildifier_prebuilt//buildifier -- uv/private/pep517_whl/BUILD.bazel
Install aspect: docs.aspect.build/cli/install
🔁 Reproduce
aspect buildifier --severity=fail --base-ref=origin/1.x
Install aspect: docs.aspect.build/cli/install
📎 Artifacts
Artifacts · Profile · BEP · Format Patch
⏱️ Task timing
Phase | Description | Duration -------+-------------------------------------------------------------+--------- Setup | Prepare the task environment | 2.9s Build | Build formatter | 13s Detect | Detect changed files | 2.9s Format | Format files | 4ms Diff | Detect formatter-induced changes (failed during this phase) | 628ms -------+-------------------------------------------------------------+--------- Total | | 19.5s
🎯 Bazel targets (1)
✅ 1 Target Built
Label | Target Type ----------------------------------------------+------------------ @@buildifier_prebuilt+//buildifier:buildifier | buildifier_binary
🧮 Bazel details
📟 Command line · bazel build @buildifier_prebuilt//buildifier
bazel build \ --disk_cache=/home/runner/.cache/bazel-disk \ --generate_json_trace_profile=1 \ --experimental_profile_include_target_label \ --profile=/tmp/467c134d-6336-4ebe-8c68-838ca7479de2.profile.gz \ --color=yes \ --build_metadata=ASPECT_TASK_NAME=Buildifier \ --build_metadata=ASPECT_TASK_ID=buildifier \ --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-32e7d5f0-05d0-4284-8ebc-3f5ac6feedb2.bin \ -- \ @buildifier_prebuilt//buildifier
ℹ️ Invocation details
- Invocation ID:
9425491c-97f5-4673-bb68-f8e5ab7eeeb3 - Command:
build - Bazel version:
8.5.1 - Start time:
Thu Jun 11 15:54:11 UTC 2026 - End time:
Thu Jun 11 15:54:18 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:
2469
⏱ Timing
- Elapsed time:
7.5s - Analysis time:
3.4s - Execution time:
64ms - Bazel server time:
24.8 cpu-seconds
📦 Build graph
- Targets: 1 target (2,107 configured, 1 aspect application)
- Actions: 5 actions (6 created)
- Packages: 126 packages loaded
💾 Cache stats
- Actions: 1 of 6 cached (16%)
⚡ Actions by mnemonic (5)
Mnemonic | Count | % ---------------------------+-------+------ BazelWorkspaceStatusAction | 1 | 20.0% ExecutableSymlink | 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:
1781193255 - BUILD_USER:
runner - FORMATTED_DATE:
2026 Jun 11 15 54 15 Thu
🏷️ Build metadata (2)
- ASPECT_TASK_ID:
buildifier - ASPECT_TASK_NAME:
Buildifier
🎛️ 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-32e7d5f0-05d0-4284-8ebc-3f5ac6feedb2.bin --build_event_binary_file_upload_mode=fully_async --build_event_publish_all_actions --build_metadata=ASPECT_TASK_ID=buildifier --build_metadata=ASPECT_TASK_NAME=Buildifier --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/467c134d-6336-4ebe-8c68-838ca7479de2.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:23 UTC 2026 · 📊 GitHub API quota 2,117/15,000 (14% used, resets in 22m, throttle 10×)
🚀 Powered by Aspect CLI (v2026.22.44) | Aspect Build · X · LinkedIn · YouTube