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-8 succeeded Jul 7, 2026 in 24s

✅ test //... · Tests passed (cached)

✅ Succeeded · 📅 Tue Jul 7 19:51:57 UTC 2026 · ⏱ 26.1s — 🔧 Setup 4.8s · 🧪 Test 21.3s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 4 targets · ⚡ 48 of 60 actions executed (20% cached) · 🧪 1 test (100% cached) · 🔧 bazel v8.7.0 test · 🎯 k8 · ⚙️ fastbuild
🐙 GitHub Actions

💬 Last update: test task complete

Details

🎯 Bazel targets (4)

⚡ 1 Test Cached
Label             | Target Type | Duration
------------------+-------------+---------
//:app_build_test | _empty_test | 47ms    
✅ 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 | 4.8s    
Test  | Run bazel tests              | 21.3s   
------+------------------------------+---------
Total |                              | 26.1s   

🧮 Bazel details

📟 Command line · bazel test //...
bazel test \
  --disk_cache=/home/runner/.cache/bazel-disk \
  --test_tag_filters=-skip-on-bazel8 \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/tmp/52677a8a-67c2-4d97-9df5-9a164d91843f.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=8023e004-f794-4132-a000-c84bd3677eb5 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-49c3b9b3-ed50-4cf0-9417-9da6f49bfefb.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: ed91dd50-5bd2-4a7d-b652-b9cfffe74c3e
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Tue Jul 7 19:51:57 UTC 2026
  • End time: Tue Jul 7 19:52:12 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: k8
  • 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: 2425
⏱ Timing
  • Elapsed time: 15.2s
  • Analysis time: 9.3s
  • Execution time: 9.8s
  • Bazel server time: 46.6 cpu-seconds
  • Cached tests time saved: 0 cpu-seconds
📦 Build graph
  • Targets: 4 targets (5,287 configured, 1 aspect application)
  • Actions: 48 actions (60 created)
  • Packages: 125 packages loaded
💾 Cache stats
  • Actions: 12 of 60 cached (20%)
  • Tests: 1 of 1 cached (100%)
⚡ Actions by mnemonic (12)
Mnemonic                   | Count | %    
---------------------------+-------+------
UnresolvedSymlink          | 19    | 39.5%
WhlInstall                 | 8     | 16.6%
FileWrite                  | 7     | 14.5%
TemplateExpand             | 3     | 6.2% 
RepoMappingManifest        | 2     | 4.1% 
SourceSymlinkManifest      | 2     | 4.1% 
SymlinkTree                | 2     | 4.1% 
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                | 36    | 75.0%
disk cache hit · Remote | 12    | 25.0%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783453922
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 02 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 8023e004-f794-4132-a000-c84bd3677eb5
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (12)
--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
--nowatchfs
--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-49c3b9b3-ed50-4cf0-9417-9da6f49bfefb.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=8023e004-f794-4132-a000-c84bd3677eb5
--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/52677a8a-67c2-4d97-9df5-9a164d91843f.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-bazel8

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