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 / test (test-e2e-bazel-9)
failed
Jun 11, 2026 in 18m 4s
❌ test //... · Failed to build
❌ Failed · 📅 Thu Jun 11 15:55:58 UTC 2026 · ⏱ 18m 10s · 🧪 Test (failed after 18m 1s) | 🔧 Setup 8.8s
👤 runner · 🖥 runnervmiav63 · 💎 aspect-cli v2026.22.44
📦 204 targets · ⚡ 64,387 of 165,947 actions executed (61% cached) · 🧪 28 of 28 tests executed (0% cached) · 🔧 bazel v9.1.1 test · 🎯 x86_64 · ⚙️ fastbuild
🐙 GitHub Actions
💬 Last update: Bazel test failed
Details
🎯 Bazel targets (204)
💥 1 Build Failure
Label | Target Type | Mnemonic -----------------------------------------------------------------------------+-------------+------------- @@aspect_rules_py++uv+sdist_build__googlemaps_test__googlemaps__4_10_0//:whl | | PySdistBuild
1 more target blocked by a failed dependency
Label | Target Type --------------------------------------+-------------- //cases/uv-legacy-deps-750:googlemaps | _py_venv_test
✅ 28 Tests Passed
Label | Target Type | Duration ------------------------------------------------------------------------+---------------------------------------+--------- //cases/firebase-admin-import:test | py_test | //cases/firebase-admin-import:test_exec | _empty_test | 144ms //cases/interpreter-features-836:test | container_structure_test | //cases/interpreter-provisioning:test | _py_venv_test | //cases/interpreter-version-541:test_3_11_venv | _py_venv_test | //cases/py-library-defaultinfo-891:default_info_no_transitive_srcs_test | _default_info_no_transitive_srcs_test | 114ms //cases/pytest-main-867:test_collection_check | py_test | //cases/pytest-main-867:test_direct_pytest_main | py_test | //cases/pytest-main-867:test_example | py_test | //cases/pytest-main-867:test_multi_src | py_test | //cases/pytest-main-867:test_naming_regression | py_test | //cases/pytest-mock-530:test_mock_py_test | py_test | //cases/pytest-mock-530:test_mock_py_venv_test | _py_venv_test | //cases/root-dir-paths-538:test_root_dir_venv | sh_test | //cases/uv-conflict-817:test_a | _py_venv_test | //cases/uv-conflict-gte:test_b | _py_venv_test | //cases/uv-conflict-tilde-856:test_a | _py_venv_test | //cases/uv-conflict-tilde-856:test_b | _py_venv_test | //cases/uv-dep-hashes:test_lockfile_hashless | sh_test | 108ms //cases/uv-deps-650/airflow:airflow | _py_venv_test | 289ms //cases/uv-deps-650/crossbuild:exec_toolchain_resolution_test | sh_test | 92ms //cases/uv-no-sdist-754:test | sh_test | 128ms //cases/uv-patching-829:test | _py_venv_test | 297ms //cases/uv-platform-filter-844:test | sh_test | 89ms //cases/uv-toolchain:test | sh_test | 129ms //cases/uv-whl-install-output-group:test | _py_venv_test | 676ms //cases/venv-conflict-608:test_no_venv_conflict | _empty_test | 91ms //cases/windows-crossbuild-837:test | sh_test | 129ms
✅ 60 Targets Built
Label | Target Type ---------------------------------------------------------------------------------------+------------------------------ //cases/cross-repo-610/subrepo_a:foo | py_library //cases/cross-repo-610/subrepo_b:bar | py_library //cases/firebase-admin-import:firebase_importer | py_binary //cases/firebase-admin-import:run_in_exec | genrule //cases/interpreter-features-836:amd64_image | platform_transition_filegroup //cases/interpreter-features-836:amd64_layers | platform_transition_filegroup //cases/interpreter-features-836:image | oci_image //cases/interpreter-features-836:image.digest | jq_rule //cases/interpreter-features-836:image_index_json | directory_path //cases/interpreter-features-836:image_index_json_cp | _copy_file //cases/interpreter-features-836:image_write_entrypoint | _write_file //cases/interpreter-features-836:layers | filegroup //cases/interpreter-features-836:layers.manifest | mtree_spec //cases/interpreter-features-836:layers_default | tar //cases/interpreter-features-836:layers_interpreter | tar //cases/interpreter-features-836:layers_manifests | genrule //cases/interpreter-features-836:layers_packages | tar //cases/interpreter-version-541:expanded_test_3_10.py | expand_template //cases/interpreter-version-541:expanded_test_3_11.py | expand_template //cases/interpreter-version-541:expanded_test_3_9.py | expand_template //cases/oci/py_image_layer/branding:branding | py_library //cases/oci/py_image_layer:image_load_write_tags | _write_file //cases/oci/py_image_layer:image_write_entrypoint | _write_file //cases/oci/py_venv_image_layer:image_load_write_tags | _write_file //cases/oci/py_venv_image_layer:image_write_entrypoint | _write_file //cases/pytest-main-867:test_collection_check.pytest_paths | pytest_paths //cases/pytest-main-867:test_example.pytest_paths | pytest_paths //cases/pytest-main-867:test_multi_src.pytest_paths | pytest_paths //cases/pytest-main-867:test_naming_regression.pytest_paths | pytest_paths //cases/pytest-mock-530:test_mock_py_test.pytest_paths | pytest_paths //cases/pytest-subdir-imports:lib | py_library //cases/pytest-subdir-imports:test_subdir_import.pytest_paths | pytest_paths //cases/pytest-xdist-integration:test_xdist.pytest_paths | pytest_paths //cases/repository-rule-deps-299/direct/directmod:directmod | py_library //cases/repository-rule-deps-299/imported/flat:flat | py_library //cases/repository-rule-deps-299/imported:subdir | py_library //cases/repository-rule-deps-299/toplevel:toplevel | py_library //cases/root-dir-paths-538:check_paths_venv_bin | _py_venv_binary //cases/unconstrained-dependencies:get_python_package_version_humble_test.pytest_paths | pytest_paths //cases/unconstrained-dependencies:get_python_package_version_main_test.pytest_paths | pytest_paths //cases/uv-deps-650/crossbuild:image_write_entrypoint | _write_file //cases/uv-deps-650/crossbuild:unpack_path | unpack_toolchain_path //cases/uv-deps-650/crossbuild:unpack_path_for_arm64 | unpack_toolchain_path //cases/uv-deps-650/crossbuild:unpack_path_for_arm64_transition | platform_transition_filegroup //cases/uv-deps-650/third_party/cowsay:cowsay | py_library //cases/uv-gazelle-778:_gazelle_python_manifest_pypi_airflow_whls | platform_transition_filegroup //cases/uv-gazelle-778:_gazelle_python_manifest_pypi_crossbuild_whls | platform_transition_filegroup //cases/uv-gazelle-778:_gazelle_python_manifest_pypi_extras_whls | platform_transition_filegroup //cases/uv-gazelle-778:_gazelle_python_manifest_pypi_say_whls | platform_transition_filegroup //cases/uv-gazelle-778:gazelle_python_manifest | _modules_mapping //cases/uv-gazelle-778:gazelle_python_manifest.update | sh_binary //cases/uv-no-sdist-754:pywin32_targets | genquery //cases/uv-platform-filter-844:watchdog_targets | genquery //cases/uv-toolchain:uv_bazel_fork_version | genrule //cases/uv-toolchain:uv_custom_version | genrule //cases/uv-toolchain:uv_legacy_version | genrule //cases/uv-toolchain:uv_mirror_version | genrule //cases/uv-toolchain:uv_version | genrule //cases/windows-crossbuild-837:windows_arm64_toolchain_deps | genquery //cases/windows-crossbuild-837:windows_x64_toolchain_deps | genquery
⤵️ 115 Targets Skipped
Label | Target Type --------------------------------------------------------------------------+------------------------------ //cases/cross-repo-610:test | _py_venv_test //cases/freethreaded-805:test | platform_transition_test //cases/interpreter-version-541:test_3_10_classic | py_test //cases/interpreter-version-541:test_3_10_venv | _py_venv_test //cases/interpreter-version-541:test_3_11_classic | py_test //cases/interpreter-version-541:test_3_9_classic | py_test //cases/interpreter-version-541:test_3_9_venv | _py_venv_test //cases/oci/py_image_layer:amd64_image | platform_transition_filegroup //cases/oci/py_image_layer:image | oci_image //cases/oci/py_image_layer:image.digest | jq_rule //cases/oci/py_image_layer:image_index_json | directory_path //cases/oci/py_image_layer:image_index_json_cp | _copy_file //cases/oci/py_image_layer:image_load | oci_load //cases/oci/py_image_layer:my_app_bin | py_binary //cases/oci/py_image_layer:my_app_layers | filegroup //cases/oci/py_image_layer:my_app_layers.manifest | mtree_spec //cases/oci/py_image_layer:my_app_layers_default | tar //cases/oci/py_image_layer:my_app_layers_interpreter | tar //cases/oci/py_image_layer:my_app_layers_manifests | genrule //cases/oci/py_image_layer:my_app_layers_packages | tar //cases/oci/py_image_layer:my_app_layers_test | _write_source_file //cases/oci/py_image_layer:my_app_layers_test_listing | genrule //cases/oci/py_image_layer:my_app_layers_test_test | _diff_test //cases/oci/py_image_layer:platform_image | platform_transition_filegroup //cases/oci/py_image_layer:platform_layers | platform_transition_filegroup //cases/oci/py_image_layer:py_image_test | container_structure_test //cases/oci/py_venv_image_layer:amd64_image | platform_transition_filegroup //cases/oci/py_venv_image_layer:amd64_layers | platform_transition_filegroup //cases/oci/py_venv_image_layer:arm64_image | platform_transition_filegroup //cases/oci/py_venv_image_layer:arm64_layers | platform_transition_filegroup //cases/oci/py_venv_image_layer:image | oci_image //cases/oci/py_venv_image_layer:image.digest | jq_rule //cases/oci/py_venv_image_layer:image_index_json | directory_path //cases/oci/py_venv_image_layer:image_index_json_cp | _copy_file //cases/oci/py_venv_image_layer:image_load | oci_load //cases/oci/py_venv_image_layer:my_app_amd64_layers | _write_source_file //cases/oci/py_venv_image_layer:my_app_amd64_layers_listing | genrule //cases/oci/py_venv_image_layer:my_app_amd64_layers_test | _diff_test //cases/oci/py_venv_image_layer:my_app_arm64_layers | _write_source_file //cases/oci/py_venv_image_layer:my_app_arm64_layers_listing | genrule //cases/oci/py_venv_image_layer:my_app_arm64_layers_test | _diff_test //cases/oci/py_venv_image_layer:my_app_layers | filegroup //cases/oci/py_venv_image_layer:my_app_layers.manifest | mtree_spec //cases/oci/py_venv_image_layer:my_app_layers_default | tar //cases/oci/py_venv_image_layer:my_app_layers_interpreter | tar //cases/oci/py_venv_image_layer:my_app_layers_manifests | genrule //cases/oci/py_venv_image_layer:my_app_layers_packages | tar //cases/oci/py_venv_image_layer:platform_image | platform_transition_filegroup //cases/oci/py_venv_image_layer:py_amd64_image_command_test | container_structure_test //cases/oci/py_venv_image_layer:py_amd64_image_content_test | container_structure_test //cases/oci/py_venv_image_layer:py_arm64_image_command_test | container_structure_test //cases/oci/py_venv_image_layer:py_arm64_image_content_test | container_structure_test //cases/pth-namespace-547:test | _py_venv_test //cases/pth-namespace-547:test_legacy | py_test //cases/pytest-subdir-imports:test_subdir_import | py_test //cases/pytest-xdist-integration:test_xdist | py_test //cases/repository-rule-deps-299:all_direct | py_test //cases/repository-rule-deps-299:test | py_test //cases/root-dir-paths-538:check_paths_bin | py_binary //cases/root-dir-paths-538:test_root_dir | sh_test //cases/unconstrained-dependencies:get_python_package_version | py_library //cases/unconstrained-dependencies:get_python_package_version_humble_test | py_test //cases/unconstrained-dependencies:get_python_package_version_main_test | py_test //cases/unconstrained-dependencies:print_python_package_version_humble | py_binary //cases/unconstrained-dependencies:print_python_package_version_main | py_binary //cases/uv-abi3-compat-853:test_import | _py_venv_test //cases/uv-conflict-817:test_b | _py_venv_test //cases/uv-conflict-gte:test_a | _py_venv_test //cases/uv-conflict-max-863:test_a | _py_venv_test //cases/uv-conflict-max-863:test_b | _py_venv_test //cases/uv-console-script-binary:_mkdocs_search | genrule //cases/uv-console-script-binary:_mkdocs_search_binary | _py_venv_binary //cases/uv-console-script-binary:_whoowns_explicit_search | genrule //cases/uv-console-script-binary:_whoowns_explicit_search_binary | _py_venv_binary //cases/uv-console-script-binary:_whoowns_search | genrule //cases/uv-console-script-binary:_whoowns_search_binary | _py_venv_binary //cases/uv-console-script-binary:mkdocs | _py_venv_binary //cases/uv-console-script-binary:test | sh_test //cases/uv-console-script-binary:whoowns | _py_venv_binary //cases/uv-console-script-binary:whoowns_explicit | _py_venv_binary //cases/uv-dep-hashes:test_import | _py_venv_test //cases/uv-deps-650/crossbuild:amd64_image | platform_transition_filegroup //cases/uv-deps-650/crossbuild:amd64_layers | platform_transition_filegroup //cases/uv-deps-650/crossbuild:app_bin | _py_venv_binary //cases/uv-deps-650/crossbuild:app_layers | filegroup //cases/uv-deps-650/crossbuild:app_layers.manifest | mtree_spec //cases/uv-deps-650/crossbuild:app_layers_default | tar //cases/uv-deps-650/crossbuild:app_layers_interpreter | tar //cases/uv-deps-650/crossbuild:app_layers_manifests | genrule //cases/uv-deps-650/crossbuild:app_layers_packages | tar //cases/uv-deps-650/crossbuild:arm64_image | platform_transition_filegroup //cases/uv-deps-650/crossbuild:arm64_layers | platform_transition_filegroup //cases/uv-deps-650/crossbuild:crossbuild_compile_pyc_test | sh_test //cases/uv-deps-650/crossbuild:image | oci_image //cases/uv-deps-650/crossbuild:image.digest | jq_rule //cases/uv-deps-650/crossbuild:image_index | oci_image_index //cases/uv-deps-650/crossbuild:image_index.digest | jq_rule //cases/uv-deps-650/crossbuild:image_index_index_json | directory_path //cases/uv-deps-650/crossbuild:image_index_index_json_cp | _copy_file //cases/uv-deps-650/crossbuild:image_index_json | directory_path //cases/uv-deps-650/crossbuild:image_index_json_cp | _copy_file //cases/uv-deps-650/extras:extras | _py_venv_test //cases/uv-deps-650/say:say | _py_venv_test //cases/uv-include-group:include_group | _py_venv_test //cases/uv-plus-version:test | _py_venv_test //cases/uv-sdist-native-build:test | _py_venv_test //cases/uv-whl-install-output-group:iniconfig_install_dir | filegroup //cases/uv-workspace-789/packages/foo:foo | py_library //cases/uv-workspace-789/packages/pi:pi | py_library //cases/uv-workspace-789:test | _py_venv_test //cases/venv-bin-scripts-423:test | _py_venv_test //cases/venv-conflict-608:app | py_binary //cases/venv-internal-symlinks:test_internal_symlinks | _py_venv_test //cases/venv-internal-symlinks:test_internal_symlinks_legacy | py_test //cases/venv-isolated-mode-703:test | _py_venv_test
🔁 Reproduce
aspect test -- \
@@aspect_rules_py++uv+sdist_build__googlemaps_test__googlemaps__4_10_0//:whl \
//cases/uv-legacy-deps-750:googlemaps
# without Aspect CLI
bazel test -- \
@@aspect_rules_py++uv+sdist_build__googlemaps_test__googlemaps__4_10_0//:whl \
//cases/uv-legacy-deps-750:googlemaps
Install aspect: docs.aspect.build/cli/install
📎 Artifacts
⏱️ Task timing
Phase | Description | Duration ------+--------------------------------------------+--------- Setup | Prepare the task environment | 8.8s Test | Run bazel tests (failed during this phase) | 18m 1s ------+--------------------------------------------+--------- Total | | 18m 10s
🧮 Bazel details
📟 Command line · bazel test //...
bazel test \ --experimental_output_paths=strip \ --disk_cache=/home/runner/.cache/bazel-disk \ --test_tag_filters=-skip-on-bazel9 \ --generate_json_trace_profile=1 \ --experimental_profile_include_target_label \ --profile=/tmp/e0065300-bb61-4d7b-b9ff-b06ee7a82397.profile.gz \ --color=yes \ --build_metadata=ASPECT_TASK_NAME=Test \ --build_metadata=ASPECT_TASK_ID=test-e2e-bazel-9 \ --build_event_publish_all_actions \ --build_event_binary_file_upload_mode=fully_async \ --build_event_binary_file=/tmp/build-event-out-152c7b7d-8ba8-4cd2-a278-786cf4cdb529.bin \ -- \ //...
ℹ️ Invocation details
- Invocation ID:
fe7f9da4-2d84-46d4-9263-9e59c03ebc60 - Command:
test - Bazel version:
9.1.1 - Start time:
Thu Jun 11 15:55:58 UTC 2026 - End time:
Thu Jun 11 16:13:49 UTC 2026 - User:
runner - Host name:
runnervmiav63 - CPU Target:
x86_64 - Mode:
fastbuild - Working directory:
/home/runner/work/rules_py/rules_py/e2e - Workspace directory:
/home/runner/work/rules_py/rules_py/e2e - Server PID:
2816
⏱ Timing
- Elapsed time:
17m 50s - Analysis time:
32s - Execution time:
17m 43s - Bazel server time:
1.1 cpu-hours - Executed Tests Time:
2.2 cpu-seconds
📦 Build graph
- Targets: 204 targets (2,188,672 configured, 6,242 aspect applications)
- Actions: 64,387 actions (165,947 created)
- Packages: 1,343 packages loaded
💾 Cache stats
- Actions: 101,560 of 165,947 cached (61%)
- Tests: 0 of 28 cached (0%)
⚡ Actions by mnemonic (20)
Mnemonic | Count | % ----------------------+--------+------ CppCompile | 32,437 | 50.4% Symlink | 8,809 | 13.6% Rustc | 8,192 | 12.7% FileWrite | 2,431 | 3.7% RepoMappingManifest | 1,616 | 2.5% SourceSymlinkManifest | 1,614 | 2.5% CppArchive | 1,530 | 2.3% ExecutableSymlink | 1,432 | 2.2% CppModuleMap | 1,118 | 1.7% RunfilesTree | 809 | 1.2% CppLink | 808 | 1.2% CopyToDirectory | 724 | 1.1% CargoBuildScriptRun | 701 | 1.0% CcStage0Compile | 473 | 0.7% CppTransitiveArchive | 467 | 0.7% …5 more (1,180 actions)
🏃 Actions by runner (4)
Runner | Count | % ------------------------+--------+------ linux-sandbox · Local | 45,655 | 70.8% internal | 18,146 | 28.1% disk cache hit · Remote | 594 | 0.9% deduplicated · Remote | 4 | 0.0%
🏠 Workspace status (4)
- BUILD_HOST:
runnervmiav63 - BUILD_TIMESTAMP:
1781193365 - BUILD_USER:
runner - FORMATTED_DATE:
2026 Jun 11 15 56 05 Thu
🏷️ Build metadata (2)
- ASPECT_TASK_ID:
test-e2e-bazel-9 - ASPECT_TASK_NAME:
Test
🎛️ Startup options (11)
--connect_timeout_secs=30 --failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/ea5a46adc4ace432824f7d10087e1393/failure_detail.rawproto --idle_server_tasks --max_idle_secs=10800 --noclient_debug --nofatal_event_bus_exceptions --noshutdown_on_low_sys_mem --nowindows_enable_symlinks --output_base=/home/runner/.cache/bazel/_bazel_runner/ea5a46adc4ace432824f7d10087e1393 --output_user_root=/home/runner/.cache/bazel/_bazel_runner --write_command_log
🎛️ Command options (22)
--build_event_binary_file=/tmp/build-event-out-152c7b7d-8ba8-4cd2-a278-786cf4cdb529.bin --build_event_binary_file_upload_mode=fully_async --build_event_publish_all_actions --build_metadata=ASPECT_TASK_ID=test-e2e-bazel-9 --build_metadata=ASPECT_TASK_NAME=Test --color=yes --disk_cache=/home/runner/.cache/bazel-disk --enable_platform_specific_config --experimental_output_paths=strip --experimental_profile_include_target_label --generate_json_trace_profile=1 --host_platform=//:linux_gnu --incompatible_enable_cc_toolchain_resolution --lockfile_mode=off --nobuild_runfile_links --platforms=//:linux_gnu --profile=/tmp/e0065300-bb61-4d7b-b9ff-b06ee7a82397.profile.gz --remote_download_outputs=minimal --repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 --repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1 --repository_cache=/home/runner/.cache/bazel-repo --test_tag_filters=-skip-on-bazel9
⏱ Last updated Thu Jun 11 16:13:55 UTC 2026 · 📊 GitHub API quota 3,842/15,000 (26% used, resets in 2m, throttle 2×)
🚀 Powered by Aspect CLI (v2026.22.44) | Aspect Build · X · LinkedIn · YouTube
Loading