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-dev_deps-bazel-9 succeeded Jul 7, 2026 in 35s

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:52:07 UTC 2026 · ⏱ 36.3s — 🔧 Setup 6.6s · 🧪 Test 29.6s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 3 targets · ⚡ 117 of 127 actions executed (7% 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 (3)

✅ 1 Test Passed
Label             | Target Type | Duration
------------------+-------------+---------
//:app_build_test | _empty_test | 52ms    
✅ 2 Targets Built
Label   | Target Type 
--------+-------------
//:app  | py_venv_exec
//:mode | string_flag 

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 6.6s    
Test  | Run bazel tests              | 29.6s   
------+------------------------------+---------
Total |                              | 36.3s   

🧮 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/4d0d0d21-cb95-4c50-8dc9-a05330597f88.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=e5cfd70d-5004-482d-bcca-2b678941b52a \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-e12c04f2-a0a3-43de-90c1-ff135f74f116.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: fd26b18b-5e35-4889-ada6-8858907392da
  • Command: test
  • Bazel version: 9.1.1
  • Start time: Tue Jul 7 19:52:07 UTC 2026
  • End time: Tue Jul 7 19:52:29 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: x86_64
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py/examples/dev_deps
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/dev_deps
  • Server PID: 2435
⏱ Timing
  • Elapsed time: 22.1s
  • Analysis time: 11.2s
  • Execution time: 16s
  • Bazel server time: 47.6 cpu-seconds
  • Executed Tests Time: 0 cpu-seconds
📦 Build graph
  • Targets: 3 targets (4,853 configured, 1 aspect application)
  • Actions: 117 actions (127 created)
  • Packages: 180 packages loaded
💾 Cache stats
  • Actions: 10 of 127 cached (7%)
  • Tests: 0 of 1 cached (0%)
⚡ Actions by mnemonic (13)
Mnemonic                   | Count | %    
---------------------------+-------+------
UnresolvedSymlink          | 63    | 53.8%
WhlInstall                 | 29    | 24.7%
FileWrite                  | 11    | 9.4% 
RepoMappingManifest        | 2     | 1.7% 
RunfilesTree               | 2     | 1.7% 
SourceSymlinkManifest      | 2     | 1.7% 
SymlinkTree                | 2     | 1.7% 
Action                     | 1     | 0.8% 
BazelWorkspaceStatusAction | 1     | 0.8% 
Genrule                    | 1     | 0.8% 
Symlink                    | 1     | 0.8% 
TemplateExpand             | 1     | 0.8% 
TestRunner                 | 1     | 0.8% 
🏃 Actions by runner (2)
Runner                         | Count | %    
-------------------------------+-------+------
internal                       | 85    | 72.0%
processwrapper-sandbox · Local | 33    | 27.9%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783453933
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 13 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: e5cfd70d-5004-482d-bcca-2b678941b52a
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (11)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/922e2c23e610bf04d75fd13396975694/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/922e2c23e610bf04d75fd13396975694
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (15)
--build_event_binary_file=/tmp/build-event-out-e12c04f2-a0a3-43de-90c1-ff135f74f116.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=e5cfd70d-5004-482d-bcca-2b678941b52a
--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/4d0d0d21-cb95-4c50-8dc9-a05330597f88.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:52:32 UTC 2026 · 📊 GitHub API quota 1,277/15,000 (9% used, resets in 37m)
🚀 Powered by Aspect CLI (v2026.28.2)  |  Aspect Build · X · LinkedIn · YouTube