refactor: use simplified rules_py providers#1231
Draft
jbedard wants to merge 4 commits into
Draft
Aspect Workflows / aspect / test-e2e-bazel-8
succeeded
Jul 10, 2026 in 3m 15s
✅ test //... · Tests passed
✅ Succeeded · 📅 Fri Jul 10 19:23:34 UTC 2026 · ⏱ 3m 17s — 🔧 Setup 4.6s · 🧪 Test 3m 12s
👤 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 | 82ms //:snapshots_10_test | _diff_test | 80ms //:snapshots_11_test | _diff_test | 114ms //:snapshots_12_test | _diff_test | 225ms //:snapshots_13_test | _diff_test | 208ms //:snapshots_14_test | _diff_test | 62ms //:snapshots_15_test | _diff_test | 118ms //:snapshots_16_test | _diff_test | 176ms //:snapshots_17_test | _diff_test | 179ms //:snapshots_18_test | _diff_test | 112ms //:snapshots_1_test | _diff_test | 189ms //:snapshots_20_test | _diff_test | 88ms //:snapshots_21_test | _diff_test | 86ms //:snapshots_22_test | _diff_test | 95ms //:snapshots_23_test | _diff_test | 108ms //:snapshots_2_test | _diff_test | 143ms //:snapshots_3_test | _diff_test | 117ms //:snapshots_4_test | _diff_test | 203ms //:snapshots_5_test | _diff_test | 127ms //:snapshots_6_test | _diff_test | 151ms //:snapshots_7_test | _diff_test | 109ms //:snapshots_8_test | _diff_test | 84ms //:snapshots_9_test | _diff_test | 183ms //arch-alias-marker:inactive_marker_package_test | inactive_marker_package_test | 77ms //arch-alias-marker:inactive_marker_wheel_test | inactive_marker_wheel_test | 78ms //current-py-toolchain-896:test | sh_test | 104ms //current-py-toolchain-bazel-env-896:test | sh_test | 43ms //inactive-marker:inactive_marker_test | py_venv_exec_test | 511ms //interpreter-exec-under-glibc-target:interpreter_exec_under_glibc_target_test | _empty_test | 55ms //interpreter-provisioning:test | py_venv_exec_test | 183ms //interpreter-provisioning:venv_test | py_venv_exec_test | 237ms //interpreter-version-541:test_3_11_classic | py_venv_exec_test | 212ms //interpreter-version-541:test_3_11_venv | py_venv_exec_test | 225ms //oci/py_image_layer:my_app_host_test | py_venv_exec_test | 242ms //oci/py_venv_image_layer:my_app_host_test | py_venv_exec_test | 221ms //pep517-frontend-exec-group:frontend_exec_platform_test | _empty_test | 90ms //pth-install-tree-fallback:test | py_venv_exec_test | 147ms //pth-namespace-547:test | py_venv_exec_test | 368ms //pth-namespace-547:test_legacy | py_venv_exec_test | 462ms //pth-namespace-547:test_partial_merge | py_venv_exec_test | 321ms //py-library-defaultinfo-891:default_info_no_transitive_srcs_test | _default_info_no_transitive_srcs_test | 83ms //pytest-anyio-plugin:test_anyio_plugin | py_venv_exec_test | 1s //pytest-main-867:test_direct_pytest_main | py_venv_exec_test | 964ms //pytest-main-867:test_example | py_venv_exec_test | 1.1s //pytest-main-867:test_multi_src | py_venv_exec_test | 961ms //pytest-main-867:test_naming_regression | py_venv_exec_test | 984ms //pytest-main-867:test_wrapped_main | py_venv_exec_test | 969ms //pytest-mock-530:test_mock_py_test | py_venv_exec_test | 1.3s //pytest-mock-530:test_mock_py_venv_test | py_venv_exec_test | 1.4s //pytest-subdir-imports:test_subdir_import | py_venv_exec_test | 1s //repository-rule-deps-299:all_direct | py_venv_exec_test | 63ms //repository-rule-deps-299:test | py_venv_exec_test | 186ms //root-dir-paths-538:test_root_dir | sh_test | 88ms //root-dir-paths-538:test_root_dir_expose_venv | sh_test | 82ms //root-dir-paths-538:test_root_dir_venv | sh_test | 130ms //tools/verify_venv:verify_venv_test | py_venv_exec_test | 174ms //uv-bare-linux-wheels:test | sh_test | 153ms //uv-conflict-817:test_a | py_venv_exec_test | 472ms //uv-conflict-817:test_a_venv_test | py_venv_exec_test | 433ms //uv-conflict-817:test_b | py_venv_exec_test | 418ms //uv-conflict-gte:test_a | py_venv_exec_test | 104ms //uv-conflict-gte:test_a_venv_test | py_venv_exec_test | 118ms //uv-conflict-gte:test_b | py_venv_exec_test | 111ms //uv-conflict-gte:test_b_venv_test | py_venv_exec_test | 101ms //uv-conflict-max-863:test_a | py_venv_exec_test | 183ms //uv-conflict-max-863:test_a_venv_test | py_venv_exec_test | 91ms //uv-conflict-max-863:test_b | py_venv_exec_test | 133ms //uv-conflict-max-863:test_b_venv_test | py_venv_exec_test | 100ms //uv-conflict-tilde-856:test_b | py_venv_exec_test | 84ms //uv-conflict-tilde-856:test_b_venv_test | py_venv_exec_test | 122ms //uv-console-script-binary:test | sh_test | 1.5s //uv-console-script-extras:black_console_scripts_test | console_scripts_metadata_test | 80ms //uv-console-script-extras:google_auth_oauthlib_console_scripts_test | console_scripts_metadata_test | 154ms //uv-dep-hashes:test_lockfile_hashless | sh_test | 239ms //uv-deps-650/crossbuild:exec_toolchain_resolution_test | sh_test | 71ms //uv-deps-650/extras:extras | py_venv_exec_test | 552ms //uv-deps-650/extras:extras_venv_test | py_venv_exec_test | 671ms //uv-deps-650/say:say | py_venv_exec_test | 182ms //uv-deps-650/say:say_venv_test | py_venv_exec_test | 155ms //uv-dup-lock-records:test_merged_wheels | py_venv_exec_test | 412ms //uv-duplicate-whl-labels:test_import | py_venv_exec_test | 410ms //uv-include-group:include_group | py_venv_exec_test | 1s //uv-include-group:include_group_venv_test | py_venv_exec_test | 1.2s //uv-include-group:wheel_root_pth_link_test | sh_test | 327ms //uv-include-group:wheel_root_pth_test | py_venv_exec_test | 144ms //uv-incompatible-wheel-source:test | py_venv_exec_test | 274ms //uv-invalid-build-overrides:custom_patches_test | _empty_test | 50ms //uv-no-sdist-754:test | py_venv_exec_test | 430ms //uv-patching-829:test | py_venv_exec_test | 164ms //uv-patching-829:venv_test | py_venv_exec_test | 183ms //uv-platform-filter-844:test | sh_test | 65ms //uv-plus-version:encoded_plus_metadata_test | wheel_metadata_test | 50ms //uv-sdist-mpicc:test | py_venv_exec_test | 3.2s //uv-toolchain:test | sh_test | 196ms //venv-bin-scripts-423:test_non_isolated | py_venv_exec_test | 1.4s //venv-bin-scripts-423:venv_test | py_venv_exec_test | 1.5s //venv-conflict-608:test_no_venv_conflict | _empty_test | 92ms //venv-internal-symlinks:test_internal_symlinks | py_venv_exec_test | 431ms //venv-internal-symlinks:test_internal_symlinks_legacy | py_venv_exec_test | 432ms //windows-crossbuild-837:test | sh_test | 172ms _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_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 //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_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_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 //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 //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-mock-530:test_mock_py_venv_test.venv | _py_venv //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 //unconstrained-dependencies:print_python_package_version_humble | py_venv_exec //unconstrained-dependencies:print_python_package_version_main | py_venv_exec //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:_mkdocs_search | genrule //uv-console-script-binary:_mkdocs_search_binary | py_venv_exec //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:mkdocs | 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_airflow_whls | platform_transition_filegroup //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-gazelle-778:gazelle_python_manifest | _modules_mapping //uv-gazelle-778:gazelle_python_manifest.update | sh_binary //uv-include-group:include_group_venv_test.venv | _py_venv //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-patching-829:venv_test.venv | _py_venv //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 //uv-whl-install-output-group:venv_test.venv | _py_venv //venv-conflict-608:app | py_venv_exec //venv-conflict-608:app.venv | _py_venv //windows-crossbuild-837:windows_arm64_toolchain_deps | genquery //windows-crossbuild-837:windows_x64_toolchain_deps | genquery _107 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.6s Test | Run bazel tests | 3m 12s ------+------------------------------+--------- Total | | 3m 17s
🧮 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/51fa0f06-98b1-4f1c-ada9-0fe4371aad21.profile.gz \ --color=yes \ --build_metadata=ASPECT_TASK_NAME=Test \ --build_metadata=ASPECT_TASK_ID=e5fe6fab-dfb0-4b53-9de3-caa2bd7b6af8 \ --build_event_publish_all_actions \ --build_event_binary_file_upload_mode=fully_async \ --build_event_binary_file=/tmp/build-event-out-97966565-6db6-4274-a0bb-a455fe0a0614.bin \ -- \ //...
ℹ️ Invocation details
- Invocation ID:
d74c6ad7-a2b0-4974-b27a-5106f9386dab - Command:
test - Bazel version:
8.5.1 - Start time:
Fri Jul 10 19:23:34 UTC 2026 - End time:
Fri Jul 10 19:26:39 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:
2826
⏱ Timing
- Elapsed time:
3m 4s - Analysis time:
36.6s - Execution time:
2m 59s - Bazel server time:
18.7 cpu-minutes - Executed Tests Time:
1.7 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 | 143 | 1.0% deduplicated · Remote | 35 | 0.2% local · Local | 3 | 0.0%
🏠 Workspace status (4)
- BUILD_HOST:
runnervmos4r4 - BUILD_TIMESTAMP:
1783711419 - BUILD_USER:
runner - FORMATTED_DATE:
2026 Jul 10 19 23 39 Fri
🏷️ Build metadata (2)
- ASPECT_TASK_ID:
e5fe6fab-dfb0-4b53-9de3-caa2bd7b6af8 - 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-97966565-6db6-4274-a0bb-a455fe0a0614.bin --build_event_binary_file_upload_mode=fully_async --build_event_publish_all_actions --build_metadata=ASPECT_TASK_ID=e5fe6fab-dfb0-4b53-9de3-caa2bd7b6af8 --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/51fa0f06-98b1-4f1c-ada9-0fe4371aad21.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 19:26:42 UTC 2026 · 📊 GitHub API quota 431/15,000 (3% used, resets in 43m)
🚀 Powered by Aspect CLI (v2026.28.2) | Aspect Build · X · LinkedIn · YouTube
Loading