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-examples-debugger-bazel-9 succeeded Jul 7, 2026 in 1m 26s

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:52:08 UTC 2026 · ⏱ 1m 28s — 🔧 Setup 6.2s · 🧪 Test 1m 22s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 4 targets · ⚡ 50 of 60 actions executed (16% cached) · 🧪 1 of 1 tests executed (0% cached) · 🔧 bazel v9.1.1 test · 🎯 x86_64 · ⚙️ fastbuild
🐙 GitHub Actions

💬 Last update: test task complete

Details

🎯 Bazel targets (4)

✅ 1 Test Passed
Label             | Target Type | Duration
------------------+-------------+---------
//:app_build_test | _empty_test | 84ms    
✅ 3 Targets Built
Label              | Target Type 
-------------------+-------------
//:_app_debug_main | _debug_main 
//:app             | py_venv_exec
//:mode            | string_flag 

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 6.2s    
Test  | Run bazel tests              | 1m 22s  
------+------------------------------+---------
Total |                              | 1m 28s  

🧮 Bazel details

📟 Command line · bazel test //...
bazel test \
  --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/aab378cf-10bf-42b9-8ae6-bd1d75485a2f.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=50710ff3-8a46-470f-85de-4187b425849d \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-994ae2f8-ba1e-43ab-aabb-7a4ff74a4b8b.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 0576bd0a-16ff-4bf1-b72c-71088aff6bb5
  • Command: test
  • Bazel version: 9.1.1
  • Start time: Tue Jul 7 19:52:08 UTC 2026
  • End time: Tue Jul 7 19:53:23 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: x86_64
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py/examples/debugger
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/debugger
  • Server PID: 2364
⏱ Timing
  • Elapsed time: 1m 14s
  • Analysis time: 1m 6s
  • Execution time: 1m 8s
  • Bazel server time: 48.6 cpu-seconds
  • Executed Tests Time: 0 cpu-seconds
📦 Build graph
  • Targets: 4 targets (4,690 configured, 1 aspect application)
  • Actions: 50 actions (60 created)
  • Packages: 137 packages loaded
💾 Cache stats
  • Actions: 10 of 60 cached (16%)
  • Tests: 0 of 1 cached (0%)
⚡ Actions by mnemonic (13)
Mnemonic                   | Count | %    
---------------------------+-------+------
UnresolvedSymlink          | 19    | 38.0%
WhlInstall                 | 8     | 16.0%
FileWrite                  | 7     | 14.0%
TemplateExpand             | 3     | 6.0% 
RepoMappingManifest        | 2     | 4.0% 
RunfilesTree               | 2     | 4.0% 
SourceSymlinkManifest      | 2     | 4.0% 
SymlinkTree                | 2     | 4.0% 
Action                     | 1     | 2.0% 
BazelWorkspaceStatusAction | 1     | 2.0% 
Genrule                    | 1     | 2.0% 
Symlink                    | 1     | 2.0% 
TestRunner                 | 1     | 2.0% 
🏃 Actions by runner (2)
Runner                         | Count | %    
-------------------------------+-------+------
internal                       | 39    | 76.4%
processwrapper-sandbox · Local | 12    | 23.5%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783453934
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 14 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 50710ff3-8a46-470f-85de-4187b425849d
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (11)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/c464dc53471889880b40254280897c66/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/c464dc53471889880b40254280897c66
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (15)
--build_event_binary_file=/tmp/build-event-out-994ae2f8-ba1e-43ab-aabb-7a4ff74a4b8b.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=50710ff3-8a46-470f-85de-4187b425849d
--build_metadata=ASPECT_TASK_NAME=Test
--color=yes
--disk_cache=/home/runner/.cache/bazel-disk
--experimental_profile_include_target_label
--generate_json_trace_profile=1
--incompatible_enable_cc_toolchain_resolution
--profile=/tmp/aab378cf-10bf-42b9-8ae6-bd1d75485a2f.profile.gz
--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 Jul 7 19:53:25 UTC 2026 · 📊 GitHub API quota 1,324/15,000 (9% used, resets in 36m)
🚀 Powered by Aspect CLI (v2026.28.2)  |  Aspect Build · X · LinkedIn · YouTube