Skip to content

Draft: select native compilers from the C++ toolchain for sdist wheel builds#1146

Draft
xangcastle wants to merge 1 commit into
mainfrom
xangcastle/uv-2-native-compilers
Draft

Draft: select native compilers from the C++ toolchain for sdist wheel builds#1146
xangcastle wants to merge 1 commit into
mainfrom
xangcastle/uv-2-native-compilers

select native compilers from the C++ toolchain for sdist wheel builds

fbbdcf9
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / test (test-e2e-bazel-9) failed Jun 23, 2026 in 33s

❌ test //... · Failed to build

❌ Failed · 📅 Tue Jun 23 07:58:42 UTC 2026 · ⏱ 34.1s · 🧪 Test (failed after 25.6s) | 🔧 Setup 8.5s
👤 runner · 🖥 runnervm08nci · 💎 aspect-cli v2026.24.11
📦 66 targets · ⚡ 87 actions · 🔧 bazel v9.1.1 test · 🎯 x86_64 · ⚙️ fastbuild
🐙 GitHub Actions

💬 Last update: Bazel test failed

Details

🎯 Bazel targets (66)

✅ 59 Targets Built
Label                                                                                  | Target Type                  
---------------------------------------------------------------------------------------+------------------------------
//:snapshots_0                                                                         | _write_source_file           
//:snapshots_1                                                                         | _write_source_file           
//:snapshots_10                                                                        | _write_source_file           
//:snapshots_11                                                                        | _write_source_file           
//:snapshots_12                                                                        | _write_source_file           
//:snapshots_13                                                                        | _write_source_file           
//:snapshots_2                                                                         | _write_source_file           
//:snapshots_3                                                                         | _write_source_file           
//:snapshots_4                                                                         | _write_source_file           
//:snapshots_5                                                                         | _write_source_file           
//:snapshots_6                                                                         | _write_source_file           
//:snapshots_7                                                                         | _write_source_file           
//:snapshots_8                                                                         | _write_source_file           
//:snapshots_9                                                                         | _write_source_file           
//cases/cross-repo-610/subrepo_a:foo                                                   | py_library                   
//cases/cross-repo-610/subrepo_b:bar                                                   | py_library                   
//cases/interpreter-features-836:image_write_entrypoint                                | _write_file                  
//cases/interpreter-local-pyvenv-home:system_py3_runtime                               | py_runtime                   
//cases/interpreter-local-pyvenv-home:system_runtime_pair                              | py_runtime_pair              
//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_image_layer:my_app_multi_tier                                           | py_layer_tier                
//cases/oci/py_image_layer:my_app_tier                                                 | py_layer_tier                
//cases/oci/py_venv_image_layer:image_load_write_tags                                  | _write_file                  
//cases/oci/py_venv_image_layer:image_write_entrypoint                                 | _write_file                  
//cases/pth-install-tree-fallback:wheel_a                                              | genrule                      
//cases/pth-install-tree-fallback:wheel_b                                              | genrule                      
//cases/pytest-anyio-plugin:test_anyio_plugin.pytest_paths                             | pytest_paths                 
//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/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/third_party/cowsay:cowsay                                          | py_library                   
//cases/uv-dup-lock-records:markupsafe_targets                                         | genquery                     
//cases/uv-gazelle-778:_gazelle_python_manifest_pypi_uv_deps_650_airflow_whls          | platform_transition_filegroup
//cases/uv-gazelle-778:_gazelle_python_manifest_pypi_uv_deps_650_crossbuild_whls       | platform_transition_filegroup
//cases/uv-gazelle-778:_gazelle_python_manifest_pypi_uv_deps_650_extras_whls           | platform_transition_filegroup
//cases/uv-gazelle-778:_gazelle_python_manifest_pypi_uv_deps_650_say_whls              | platform_transition_filegroup
//cases/uv-no-sdist-754:pywin32_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                     
//tools/verify_venv:verify_venv                                                        | py_library                   
⤵️ 7 Targets Skipped
Label                                                         | Target Type             
--------------------------------------------------------------+-------------------------
//:snapshots_15                                               | _write_source_file      
//cases/interpreter-features-836:test                         | container_structure_test
//cases/oci/py_venv_image_layer:py_arm64_image_command_test   | container_structure_test
//cases/unconstrained-dependencies:get_python_package_version | py_library              
//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              

🔁 Reproduce

aspect test -- //...
# vanilla bazel
bazel test -- //...

Install aspect: docs.aspect.build/cli/install

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                                | Duration
------+--------------------------------------------+---------
Setup | Prepare the task environment               | 8.5s    
Test  | Run bazel tests (failed during this phase) | 25.6s   
------+--------------------------------------------+---------
Total |                                            | 34.1s   

🧮 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/47cebf4a-5968-42ec-afdd-b962ef018ed1.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-76914645-47c8-4d16-9518-95059f7070b5.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: a57646bf-e430-44f4-add1-2243e7bb81bd
  • Command: test
  • Bazel version: 9.1.1
  • Start time: Tue Jun 23 07:58:42 UTC 2026
  • End time: Tue Jun 23 07:58:53 UTC 2026
  • User: runner
  • Host name: runnervm08nci
  • 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: 2877
⏱ Timing
  • Elapsed time: 11.3s
  • Execution time: 4.8s
  • Bazel server time: 1.4 cpu-minutes
📦 Build graph
  • Targets: 66 targets (376 configured)
  • Actions: 87 actions
  • Packages: 0 packages loaded
⚡ Actions by mnemonic (6)
Mnemonic                   | Count | %    
---------------------------+-------+------
FileWrite                  | 35    | 40.2%
RepoMappingManifest        | 15    | 17.2%
SourceSymlinkManifest      | 15    | 17.2%
RunfilesTree               | 14    | 16.0%
Genrule                    | 7     | 8.0% 
BazelWorkspaceStatusAction | 1     | 1.1% 
🏃 Actions by runner (2)
Runner                | Count | %    
----------------------+-------+------
internal              | 80    | 91.9%
linux-sandbox · Local | 7     | 8.0% 
🏠 Workspace status (4)
  • BUILD_HOST: runnervm08nci
  • BUILD_TIMESTAMP: 1782201528
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jun 23 07 58 48 Tue
🏷️ 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 (24)
--build_event_binary_file=/tmp/build-event-out-76914645-47c8-4d16-9518-95059f7070b5.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
--incompatible_strict_action_env
--java_runtime_version=remotejdk_11
--lockfile_mode=off
--nobuild_runfile_links
--platforms=//:linux_gnu
--profile=/tmp/47cebf4a-5968-42ec-afdd-b962ef018ed1.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 Tue Jun 23 07:58:56 UTC 2026 · 📊 GitHub API quota 598/15,000 (4% used, resets in 40m)
🚀 Powered by Aspect CLI (v2026.24.11)  |  Aspect Build · X · LinkedIn · YouTube