refactor: remove use of rules_python internals#1288
Merged
Aspect Workflows / aspect / test-e2e-bazel-8
succeeded
Jul 10, 2026 in 3m 0s
✅ test //... · Tests passed
✅ Succeeded · 📅 Fri Jul 10 17:25:47 UTC 2026 · ⏱ 3m — 🔧 Setup 4.5s · 🧪 Test 2m 56s
👤 runner · 🖥 runnervmos4r4 · 💎 aspect-cli v2026.28.2
📦 468 targets · ⚡ 14,291 of 26,212 actions executed (45% cached) · 🧪 195 of 195 tests executed (0% cached) · 🔧 bazel v8.5.1 test · 🎯 k8 · ⚙️ opt
🐙 GitHub Actions
💬 Last update: test task complete
Details
🎯 Bazel targets (468)
✅ 195 Tests Passed
Label | Target Type | Duration -------------------------------------------------------------------------------+---------------------------------------+--------- //:snapshots_0_test | _diff_test | 44ms //:snapshots_10_test | _diff_test | 82ms //:snapshots_11_test | _diff_test | 33ms //:snapshots_12_test | _diff_test | 52ms //:snapshots_13_test | _diff_test | 47ms //:snapshots_14_test | _diff_test | 43ms //:snapshots_15_test | _diff_test | 23ms //:snapshots_16_test | _diff_test | 28ms //:snapshots_17_test | _diff_test | 59ms //:snapshots_18_test | _diff_test | 88ms //:snapshots_1_test | _diff_test | 56ms //:snapshots_20_test | _diff_test | 41ms //:snapshots_21_test | _diff_test | 72ms //:snapshots_22_test | _diff_test | 63ms //:snapshots_23_test | _diff_test | 44ms //:snapshots_2_test | _diff_test | 64ms //:snapshots_3_test | _diff_test | 109ms //:snapshots_4_test | _diff_test | 53ms //:snapshots_5_test | _diff_test | 78ms //:snapshots_6_test | _diff_test | 59ms //:snapshots_7_test | _diff_test | 57ms //:snapshots_8_test | _diff_test | 30ms //:snapshots_9_test | _diff_test | 38ms //arch-alias-marker:arch_alias_marker | py_venv_exec_test | 145ms //arch-alias-marker:inactive_marker_package_test | inactive_marker_package_test | 55ms //arch-alias-marker:inactive_marker_wheel_test | inactive_marker_wheel_test | 67ms //cross-repo-610:test | py_venv_exec_test | 87ms //cross-repo-610:venv_test | py_venv_exec_test | 104ms //current-py-toolchain-896:test | sh_test | 75ms //current-py-toolchain-bazel-env-896:test | sh_test | 84ms //inactive-marker:inactive_marker_test_py313 | py_venv_exec_test | 192ms //interpreter-exec-under-glibc-target:interpreter_exec_under_glibc_target_test | _empty_test | 57ms //interpreter-local-pyvenv-home:test_pyvenv_home | py_venv_exec_test | 97ms //interpreter-provisioning:test | py_venv_exec_test | 181ms //interpreter-provisioning:venv_test | py_venv_exec_test | 214ms //interpreter-version-541:test_3_10_classic | py_venv_exec_test | 179ms //interpreter-version-541:test_3_10_venv | py_venv_exec_test | 103ms //interpreter-version-541:test_3_11_classic | py_venv_exec_test | 121ms //interpreter-version-541:test_3_11_venv | py_venv_exec_test | 146ms //multi-project-hub:alpha_dev | py_venv_exec_test | 114ms //multi-project-hub:beta | py_venv_exec_test | 150ms //multi-project-hub:gamma | py_venv_exec_test | 196ms //oci/py_image_layer:my_app_host_test | py_venv_exec_test | 219ms //oci/py_venv_image_layer:my_app_host_test | py_venv_exec_test | 190ms //pep517-frontend-exec-group:frontend_exec_platform_test | _empty_test | 44ms //pex-interpreter-exclusion:test_pex_excludes_interpreter | py_venv_exec_test | 224ms //pth-install-tree-fallback:test | py_venv_exec_test | 77ms //pth-namespace-547:test | py_venv_exec_test | 236ms //pth-namespace-547:test_legacy | py_venv_exec_test | 216ms //pth-namespace-547:test_partial_merge | py_venv_exec_test | 219ms //py-library-defaultinfo-891:default_info_no_transitive_srcs_test | _default_info_no_transitive_srcs_test | 62ms //pytest-main-867:test_example | py_venv_exec_test | 727ms //pytest-main-867:test_multi_src | py_venv_exec_test | 777ms //pytest-subdir-imports:test_subdir_import | py_venv_exec_test | 774ms //repository-rule-deps-299:all_direct | py_venv_exec_test | 124ms //repository-rule-deps-299:test | py_venv_exec_test | 85ms //root-dir-paths-538:test_root_dir | sh_test | 95ms //root-dir-paths-538:test_root_dir_expose_venv | sh_test | 141ms //root-dir-paths-538:test_root_dir_venv | sh_test | 75ms //single-project-hub:single_project_hub | py_venv_exec_test | 116ms //tools/verify_venv:verify_venv_test | py_venv_exec_test | 122ms //uv-conflict-817:test_a | py_venv_exec_test | 355ms //uv-conflict-817:test_a_venv_test | py_venv_exec_test | 457ms //uv-conflict-817:test_b | py_venv_exec_test | 284ms //uv-conflict-817:test_b_venv_test | py_venv_exec_test | 308ms //uv-conflict-gte:test_a | py_venv_exec_test | 112ms //uv-conflict-gte:test_b | py_venv_exec_test | 78ms //uv-conflict-gte:test_b_venv_test | py_venv_exec_test | 62ms //uv-conflict-max-863:test_a | py_venv_exec_test | 108ms //uv-conflict-max-863:test_a_venv_test | py_venv_exec_test | 121ms //uv-conflict-max-863:test_b | py_venv_exec_test | 175ms //uv-conflict-tilde-856:test_a | py_venv_exec_test | 55ms //uv-conflict-tilde-856:test_a_venv_test | py_venv_exec_test | 84ms //uv-conflict-tilde-856:test_b | py_venv_exec_test | 66ms //uv-conflict-tilde-856:test_b_venv_test | py_venv_exec_test | 97ms //uv-console-script-extras:black_console_scripts_test | console_scripts_metadata_test | 60ms //uv-console-script-extras:google_auth_oauthlib_console_scripts_test | console_scripts_metadata_test | 114ms //uv-dep-hashes:test_lockfile_hashless | sh_test | 80ms //uv-deps-650/crossbuild:exec_toolchain_resolution_test | sh_test | 96ms //uv-deps-650/extras:extras | py_venv_exec_test | 477ms //uv-deps-650/extras:extras_venv_test | py_venv_exec_test | 518ms //uv-deps-650/say:say | py_venv_exec_test | 140ms //uv-deps-650/say:say_venv_test | py_venv_exec_test | 106ms //uv-dup-lock-records:test_merged_wheels | py_venv_exec_test | 267ms //uv-include-group:wheel_root_pth_link_test | sh_test | 215ms //uv-include-group:wheel_root_pth_test | py_venv_exec_test | 76ms //uv-incompatible-wheel-source:test | py_venv_exec_test | 192ms //uv-invalid-build-overrides:custom_patches_test | _empty_test | 70ms //uv-no-sdist-754:test | py_venv_exec_test | 334ms //uv-patching-829:test | py_venv_exec_test | 151ms //uv-patching-829:venv_test | py_venv_exec_test | 92ms //uv-platform-filter-844:test | sh_test | 42ms //uv-plus-version:encoded_plus_metadata_test | wheel_metadata_test | 43ms //uv-plus-version:literal_plus_metadata_test | wheel_metadata_test | 96ms //uv-toolchain:test | sh_test | 91ms //venv-bin-scripts-423:test_non_isolated | py_venv_exec_test | 1s //venv-bin-scripts-423:venv_test | py_venv_exec_test | 1.1s //venv-conflict-608:test_no_venv_conflict | _empty_test | 74ms //venv-internal-symlinks:test_internal_symlinks_legacy | py_venv_exec_test | 333ms //windows-crossbuild-837:test | sh_test | 55ms _95 more not shown._
✅ 256 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_14 | _write_source_file //:snapshots_15 | _write_source_file //:snapshots_16 | _write_source_file //:snapshots_17 | _write_source_file //:snapshots_18 | _write_source_file //:snapshots_2 | _write_source_file //:snapshots_20 | _write_source_file //:snapshots_21 | _write_source_file //:snapshots_22 | _write_source_file //:snapshots_23 | _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 //cross-repo-610/subrepo_a:foo | py_library //cross-repo-610/subrepo_b:bar | py_library //cross-repo-610:venv_test.venv | _py_venv //current-py-toolchain-896:python_path | genrule //current-py-toolchain-bazel-env-896:python_env | _bazel_env_rule //interpreter-exec-under-glibc-target:invoke_tool | genrule //interpreter-exec-under-glibc-target:invoke_tool_under_glibc | platform_transition_filegroup //interpreter-exec-under-glibc-target:tool | py_venv_exec //interpreter-features-836:image_write_entrypoint | _write_file //interpreter-features-tkinter:image_write_entrypoint | _write_file //interpreter-local-pyvenv-home:system_py3_runtime | py_runtime //interpreter-local-pyvenv-home:system_runtime_pair | py_runtime_pair //interpreter-local-pyvenv-home:venv_sys | _py_venv //interpreter-provisioning:venv_test.venv | _py_venv //interpreter-version-541:expanded_test_3_10.py | expand_template //interpreter-version-541:expanded_test_3_11.py | expand_template //interpreter-version-541:expanded_test_3_9.py | expand_template //interpreter-version-541:test_3_10_venv.venv | _py_venv //interpreter-version-541:test_3_11_venv.venv | _py_venv //oci/py_image_layer/branding:branding | py_library //oci/py_image_layer:image_load_write_tags | _write_file //oci/py_image_layer:image_write_entrypoint | _write_file //oci/py_image_layer:my_app_bin | py_venv_exec //oci/py_image_layer:my_app_multi_bin | py_venv_exec //oci/py_image_layer:my_app_multi_tier | py_layer_tier //oci/py_image_layer:my_app_tier | py_layer_tier //oci/py_image_layer:server | py_venv_exec //oci/py_image_layer:server_image_write_entrypoint | _write_file //oci/py_venv_image_layer:image_load_write_tags | _write_file //oci/py_venv_image_layer:image_write_entrypoint | _write_file //oci/py_venv_image_layer:my_app_bin.venv | _py_venv //oci/validator-exec-config:app | py_venv_exec //pbs-symlink-prefix-1048:action_probe_310 | py_venv_exec //pbs-symlink-prefix-1048:action_probe_310.venv | _py_venv //pbs-symlink-prefix-1048:action_probe_310_output | genrule //pbs-symlink-prefix-1048:action_probe_311 | py_venv_exec //pbs-symlink-prefix-1048:action_probe_311.venv | _py_venv //pbs-symlink-prefix-1048:action_probe_311.venv.cfg | genrule //pbs-symlink-prefix-1048:action_probe_311_output | genrule //pbs-symlink-prefix-1048:action_probe_313 | py_venv_exec //pbs-symlink-prefix-1048:action_probe_313.venv | _py_venv //pbs-symlink-prefix-1048:action_probe_313.venv.cfg | genrule //pbs-symlink-prefix-1048:action_probe_313_output | genrule //pep517-frontend-exec-group:cc | fake_cc_toolchain //pep517-frontend-exec-group:frontend | sh_binary //pep517-frontend-exec-group:frontend_script | _write_xfile //pep517-frontend-exec-group:linux_aarch64_compiler | _write_xfile //pep517-frontend-exec-group:linux_x86_64_compiler | _write_xfile //pep517-frontend-exec-group:stub_sdist | _write_file //pep517-frontend-exec-group:wheel_linux_aarch64 | platform_transition_filegroup //pep517-frontend-exec-group:wheel_linux_x86_64 | platform_transition_filegroup //pex-interpreter-exclusion:app | py_venv_exec //pex-interpreter-exclusion:app_pex | py_pex_binary //pth-install-tree-fallback:itfa | py_unpacked_wheel //pth-install-tree-fallback:itfb | py_unpacked_wheel //pth-install-tree-fallback:test.venv | _py_venv //pth-install-tree-fallback:test.venv.pth | genrule //pth-install-tree-fallback:wheel_a | genrule //pth-install-tree-fallback:wheel_b | genrule //pth-namespace-547:test.venv | _py_venv //pth-namespace-547:test.venv.pth | genrule //pth-namespace-547:test_partial_merge.venv | _py_venv //pytest-anyio-plugin:test_anyio_plugin.pytest_paths | pytest_paths //pytest-main-867:test_collection_check.pytest_paths | pytest_paths //pytest-main-867:test_example.pytest_paths | pytest_paths //pytest-main-867:test_multi_src.pytest_paths | pytest_paths //pytest-main-867:test_naming_regression.pytest_paths | pytest_paths //pytest-mock-530:test_mock_py_test.pytest_paths | pytest_paths //pytest-subdir-imports:lib | py_library //pytest-subdir-imports:test_subdir_import.pytest_paths | pytest_paths //pytest-xdist-integration:test_xdist.pytest_paths | pytest_paths //repository-rule-deps-299/direct/directmod:directmod | py_library //repository-rule-deps-299/imported/flat:flat | py_library //repository-rule-deps-299/imported:subdir | py_library //repository-rule-deps-299/toplevel:toplevel | py_library //root-dir-paths-538:check_paths_bin | py_venv_exec //root-dir-paths-538:check_paths_expose_venv | py_venv_exec //root-dir-paths-538:check_paths_expose_venv.venv | _py_venv //root-dir-paths-538:check_paths_via_venv_macro | py_venv_exec //root-dir-paths-538:check_paths_via_venv_macro.venv | _py_venv //tools/verify_venv:verify_venv | py_library //unconstrained-dependencies:get_python_package_version_humble_test.pytest_paths | pytest_paths //unconstrained-dependencies:get_python_package_version_main_test.pytest_paths | pytest_paths //uv-bare-linux-wheels:grpcio_targets | genquery //uv-conflict-817:test_a_venv_test.venv | _py_venv //uv-conflict-817:test_b_venv_test.venv | _py_venv //uv-conflict-gte:test_a_venv_test.venv | _py_venv //uv-conflict-gte:test_b_venv_test.venv | _py_venv //uv-conflict-max-863:test_a_venv_test.venv | _py_venv //uv-conflict-max-863:test_b_venv_test.venv | _py_venv //uv-conflict-tilde-856:test_a_venv_test.venv | _py_venv //uv-conflict-tilde-856:test_b_venv_test.venv | _py_venv //uv-console-script-binary:_whoowns_explicit_search | genrule //uv-console-script-binary:_whoowns_explicit_search_binary | py_venv_exec //uv-console-script-binary:_whoowns_search | genrule //uv-console-script-binary:_whoowns_search_binary | py_venv_exec //uv-console-script-binary:whoowns | py_venv_exec //uv-console-script-binary:whoowns_explicit | py_venv_exec //uv-deps-650/crossbuild:image_write_entrypoint | _write_file //uv-deps-650/crossbuild:unpack_path | exec_python_path //uv-deps-650/crossbuild:unpack_path_for_arm64 | exec_python_path //uv-deps-650/crossbuild:unpack_path_for_arm64_transition | platform_transition_filegroup //uv-deps-650/extras:extras_venv_test.venv | _py_venv //uv-deps-650/say:say_venv_test.venv | _py_venv //uv-deps-650/third_party/cowsay:cowsay | py_library //uv-dup-lock-records:markupsafe_targets | genquery //uv-gazelle-778:_gazelle_python_manifest_pypi_uv_deps_650_crossbuild_whls | platform_transition_filegroup //uv-gazelle-778:_gazelle_python_manifest_pypi_uv_deps_650_extras_whls | platform_transition_filegroup //uv-gazelle-778:_gazelle_python_manifest_pypi_uv_deps_650_say_whls | platform_transition_filegroup //uv-include-group:wheel_root_pth_test.venv | _py_venv //uv-include-group:wheel_root_pth_test.venv.pth | genrule //uv-include-group:wheel_root_pth_test.venv_link | py_venv_exec //uv-no-sdist-754:pywin32_targets | genquery //uv-platform-filter-844:watchdog_targets | genquery //uv-toolchain:uv_bazel_fork_version | genrule //uv-toolchain:uv_custom_version | genrule //uv-toolchain:uv_legacy_version | genrule //uv-toolchain:uv_mirror_version | genrule //uv-toolchain:uv_version | genrule //venv-bin-scripts-423:venv_test.venv | _py_venv //venv-conflict-608:app | py_venv_exec //venv-conflict-608:app.venv | _py_venv //venv-isolated-mode-703:test.venv | _py_venv //windows-crossbuild-837:windows_arm64_toolchain_deps | genquery //windows-crossbuild-837:windows_x64_toolchain_deps | genquery _108 more not shown._
⤵️ 17 Targets Skipped
Label | Target Type --------------------------------------------------------+------------------------- //oci/py_venv_image_layer:py_arm64_image_command_test | container_structure_test //pth-namespace-547:jaraco_functools_no_entries | py_unpacked_wheel //unconstrained-dependencies:get_python_package_version | py_library //uv-dep-hashes:test_import | py_venv_exec_test //uv-dep-hashes:test_import.venv | _py_venv //uv-include-group:setuptools_no_top_levels | py_unpacked_wheel //uv-requirements-bzl:all_whl_by_package_data_test | py_venv_exec_test //uv-requirements-bzl:all_whl_data_test | py_venv_exec_test //uv-requirements-bzl:whl_data_test | py_venv_exec_test //uv-sdist-native-build:test | py_venv_exec_test //uv-sdist-native-build:venv_test | py_venv_exec_test //uv-sdist-native-build:venv_test.venv | _py_venv //uv-whl-install-output-group:iniconfig_install_dir | filegroup //uv-whl-install-output-group:test | py_venv_exec_test //uv-whl-install-output-group:venv_test | py_venv_exec_test //uv-workspace-789/packages/foo:foo | py_library //uv-workspace-789/packages/pi:pi | py_library
📎 Artifacts
⏱️ Task timing
Phase | Description | Duration ------+------------------------------+--------- Setup | Prepare the task environment | 4.5s Test | Run bazel tests | 2m 56s ------+------------------------------+--------- Total | | 3m
🧮 Bazel details
📟 Command line · bazel test //...
bazel test \ --experimental_output_paths=strip \ --disk_cache=/home/runner/.cache/bazel-disk \ --test_tag_filters=-skip-on-bazel8 \ --lockfile_mode=error \ --generate_json_trace_profile=1 \ --experimental_profile_include_target_label \ --profile=/tmp/653652c9-449b-4bf5-887d-1081439bd686.profile.gz \ --color=yes \ --build_metadata=ASPECT_TASK_NAME=Test \ --build_metadata=ASPECT_TASK_ID=0d8ee841-9716-4826-b64b-7fc9fbbcceef \ --build_event_publish_all_actions \ --build_event_binary_file_upload_mode=fully_async \ --build_event_binary_file=/tmp/build-event-out-11b3b66c-2a0a-4386-aa04-ec3fd957a427.bin \ -- \ //...
ℹ️ Invocation details
- Invocation ID:
cae3aca8-72fc-4759-a104-e427460fba95 - Command:
test - Bazel version:
8.5.1 - Start time:
Fri Jul 10 17:25:47 UTC 2026 - End time:
Fri Jul 10 17:28:37 UTC 2026 - User:
runner - Host name:
runnervmos4r4 - CPU Target:
k8 - Mode:
opt - Working directory:
/home/runner/work/rules_py/rules_py/e2e/cases - Workspace directory:
/home/runner/work/rules_py/rules_py/e2e/cases - Server PID:
2699
⏱ Timing
- Elapsed time:
2m 49s - Analysis time:
33.5s - Execution time:
2m 45s - Bazel server time:
14.2 cpu-minutes - Executed Tests Time:
1.6 cpu-minutes
📦 Build graph
- Targets: 468 targets (954,055 configured, 1,478 aspect applications)
- Actions: 14,291 actions (26,212 created)
- Packages: 1,603 packages loaded
💾 Cache stats
- Actions: 11,921 of 26,212 cached (45%)
- Tests: 0 of 195 cached (0%)
⚡ Actions by mnemonic (20)
Mnemonic | Count | % ----------------------+-------+------ CppCompile | 5,400 | 38.2% UnresolvedSymlink | 3,806 | 26.9% FileWrite | 1,249 | 8.8% Symlink | 655 | 4.6% WhlInstall | 439 | 3.1% RepoMappingManifest | 373 | 2.6% SourceSymlinkManifest | 373 | 2.6% TemplateExpand | 317 | 2.2% CppArchive | 252 | 1.7% Action | 228 | 1.6% TestRunner | 195 | 1.3% CppLink | 160 | 1.1% CppModuleMap | 152 | 1.0% CopyToDirectory | 134 | 0.9% CcStage0Compile | 90 | 0.6% …5 more (306 actions)
🏃 Actions by runner (5)
Runner | Count | % ------------------------+-------+------ linux-sandbox · Local | 7,335 | 51.3% internal | 6,775 | 47.4% disk cache hit · Remote | 141 | 0.9% deduplicated · Remote | 37 | 0.2% local · Local | 3 | 0.0%
🏠 Workspace status (4)
- BUILD_HOST:
runnervmos4r4 - BUILD_TIMESTAMP:
1783704351 - BUILD_USER:
runner - FORMATTED_DATE:
2026 Jul 10 17 25 51 Fri
🏷️ Build metadata (2)
- ASPECT_TASK_ID:
0d8ee841-9716-4826-b64b-7fc9fbbcceef - ASPECT_TASK_NAME:
Test
🎛️ Startup options (12)
--connect_timeout_secs=30 --failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/bc392e71f7970e3c2154593992262559/failure_detail.rawproto --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/bc392e71f7970e3c2154593992262559 --output_user_root=/home/runner/.cache/bazel/_bazel_runner --write_command_log
🎛️ Command options (23)
--build_event_binary_file=/tmp/build-event-out-11b3b66c-2a0a-4386-aa04-ec3fd957a427.bin --build_event_binary_file_upload_mode=fully_async --build_event_publish_all_actions --build_metadata=ASPECT_TASK_ID=0d8ee841-9716-4826-b64b-7fc9fbbcceef --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_strict_action_env --java_runtime_version=remotejdk_11 --lockfile_mode=error --nobuild_runfile_links --platforms=//:linux_gnu --profile=/tmp/653652c9-449b-4bf5-887d-1081439bd686.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-bazel8
⏱ Last updated Fri Jul 10 17:28:39 UTC 2026 · 📊 GitHub API quota 1,641/15,000 (11% used, resets in 26m)
🚀 Powered by Aspect CLI (v2026.28.2) | Aspect Build · X · LinkedIn · YouTube
Loading