Skip to content

fix: pkgutil namespace package __init__.py collisions when multiple wheels share a namespace stub#1270

Open
xangcastle wants to merge 2 commits into
mainfrom
xangcastle/main-namespace-collision
Open

fix: pkgutil namespace package __init__.py collisions when multiple wheels share a namespace stub#1270
xangcastle wants to merge 2 commits into
mainfrom
xangcastle/main-namespace-collision

fix - reproducing package collision

57025ec
Select commit
Loading
Failed to load commit list.
Aspect Workflows / aspect / test-e2e-rules-proto-grpc-python-bazel-8 succeeded Jul 7, 2026 in 1m 53s

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:52:32 UTC 2026 · ⏱ 1m 54s — 🔧 Setup 7.6s · 🧪 Test 1m 46s
👤 runner · 🖥 runnervmjbsos · 💎 aspect-cli v2026.28.2
📦 4 targets · ⚡ 1,417 of 4,358 actions executed (67% cached) · 🧪 1 of 1 tests executed (0% cached) · 🔧 bazel v8.7.0 test · 🎯 k8 · ⚙️ fastbuild
🐙 GitHub Actions

💬 Last update: test task complete

Details

🎯 Bazel targets (4)

✅ 1 Test Passed
Label   | Target Type       | Duration
--------+-------------------+---------
//:test | py_venv_exec_test | 226ms   
✅ 3 Targets Built
Label                   | Target Type         
------------------------+---------------------
//:greeting_proto       | proto_library       
//:greeting_py_proto    | py_library          
//:greeting_py_proto_pb | python_proto_compile

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 7.6s    
Test  | Run bazel tests              | 1m 46s  
------+------------------------------+---------
Total |                              | 1m 54s  

🧮 Bazel details

📟 Command line · bazel test //...
bazel test \
  --disk_cache=/home/runner/.cache/bazel-disk \
  --test_tag_filters=-skip-on-bazel8 \
  --flaky_test_attempts=2 \
  --test_summary=terse \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/tmp/2e487756-db12-439f-ba29-345efb74ef59.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=0ab7b082-9415-4301-819e-83119575c967 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-fe331410-4d10-413f-8d58-f5e9f8b56acd.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 0558374d-b647-4340-9dad-08ec22f67ade
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Tue Jul 7 19:52:32 UTC 2026
  • End time: Tue Jul 7 19:54:12 UTC 2026
  • User: runner
  • Host name: runnervmjbsos
  • CPU Target: k8
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py/e2e/rules-proto-grpc-python
  • Workspace directory: /home/runner/work/rules_py/rules_py/e2e/rules-proto-grpc-python
  • Server PID: 2810
⏱ Timing
  • Elapsed time: 1m 39s
  • Analysis time: 22.7s
  • Execution time: 1m 31s
  • Bazel server time: 2.3 cpu-minutes
  • Executed Tests Time: 0.2 cpu-seconds
📦 Build graph
  • Targets: 4 targets (15,050 configured, 1 aspect application)
  • Actions: 1,417 actions (4,358 created)
  • Packages: 212 packages loaded
💾 Cache stats
  • Actions: 2,941 of 4,358 cached (67%)
  • Tests: 0 of 1 cached (0%)
⚡ Actions by mnemonic (16)
Mnemonic                   | Count | %    
---------------------------+-------+------
CppCompile                 | 842   | 59.4%
Symlink                    | 485   | 34.2%
ProtoCompile               | 26    | 1.8% 
RepoMappingManifest        | 11    | 0.7% 
SourceSymlinkManifest      | 11    | 0.7% 
CppLink                    | 10    | 0.7% 
Genrule                    | 10    | 0.7% 
Action                     | 5     | 0.3% 
FileWrite                  | 5     | 0.3% 
UnresolvedSymlink          | 3     | 0.2% 
CopyFile                   | 2     | 0.1% 
GenProtoDescriptorSet      | 2     | 0.1% 
InternalCopyFile           | 2     | 0.1% 
BazelWorkspaceStatusAction | 1     | 0.0% 
TemplateExpand             | 1     | 0.0% 
…1 more (1 actions)
🏃 Actions by runner (2)
Runner                | Count | %    
----------------------+-------+------
linux-sandbox · Local | 901   | 63.5%
internal              | 516   | 36.4%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmjbsos
  • BUILD_TIMESTAMP: 1783453958
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 38 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 0ab7b082-9415-4301-819e-83119575c967
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (13)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/d3fdd0e713df2bd6431cad91cf7ba1ae/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/d3fdd0e713df2bd6431cad91cf7ba1ae
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (49)
--announce_rc
--build_event_binary_file=/tmp/build-event-out-fe331410-4d10-413f-8d58-f5e9f8b56acd.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=0ab7b082-9415-4301-819e-83119575c967
--build_metadata=ASPECT_TASK_NAME=Test
--color=yes
--curses=yes
--disk_cache=/home/runner/.cache/bazel-disk
--enable_platform_specific_config
--experimental_fetch_all_coverage_outputs
--experimental_profile_include_target_label
--flaky_test_attempts=2
--generate_json_trace_profile=1
--grpc_keepalive_time=30s
--heap_dump_on_oom
--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_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_auto_exec_groups
--noremote_upload_local_results
--nosandbox_default_allow_network
--profile=/tmp/2e487756-db12-439f-ba29-345efb74ef59.profile.gz
--remote_download_outputs=minimal
--remote_local_fallback
--remote_timeout=3600
--remote_upload_local_results
--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
--test_summary=terse
--test_tag_filters=-skip-on-bazel8

⏱ Last updated Tue Jul 7 19:54:15 UTC 2026 · 📊 GitHub API quota 1,356/15,000 (9% used, resets in 35m)
🚀 Powered by Aspect CLI (v2026.28.2)  |  Aspect Build · X · LinkedIn · YouTube