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

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:52:07 UTC 2026 · ⏱ 46.2s — 🔧 Setup 6.1s · 🧪 Test 40s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 3 targets · ⚡ 47 of 57 actions executed (17% cached) · 🧪 1 of 1 tests executed (0% cached) · 🔧 bazel v9.1.1 test · 🎯 x86_64 · ⚙️ opt
🐙 GitHub Actions

💬 Last update: test task complete

Details

🎯 Bazel targets (3)

✅ 1 Test Passed
Label         | Target Type | Duration
--------------+-------------+---------
//:build_test | _empty_test | 24ms    
✅ 2 Targets Built
Label            | Target Type  
-----------------+--------------
//:binary        | py_venv_exec 
//:py_pex_binary | py_pex_binary

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 6.1s    
Test  | Run bazel tests              | 40s     
------+------------------------------+---------
Total |                              | 46.2s   

🧮 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/829a97b7-1f0e-40b9-a8af-0864a695e7e5.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=98ab4b17-2790-4cf2-bdf9-e4cbd3ea751a \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-b8658245-f015-44ce-8b6c-06392d8d4761.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 788ad13d-ecec-4629-8ab7-28c4a7c1e431
  • Command: test
  • Bazel version: 9.1.1
  • Start time: Tue Jul 7 19:52:07 UTC 2026
  • End time: Tue Jul 7 19:52:40 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: x86_64
  • Mode: opt
  • Working directory: /home/runner/work/rules_py/rules_py/examples/py_pex_binary
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/py_pex_binary
  • Server PID: 2463
⏱ Timing
  • Elapsed time: 32.9s
  • Analysis time: 25s
  • Execution time: 3.5s
  • Bazel server time: 33.8 cpu-seconds
  • Executed Tests Time: 0 cpu-seconds
📦 Build graph
  • Targets: 3 targets (4,768 configured, 1 aspect application)
  • Actions: 47 actions (57 created)
  • Packages: 122 packages loaded
💾 Cache stats
  • Actions: 10 of 57 cached (17%)
  • Tests: 0 of 1 cached (0%)
⚡ Actions by mnemonic (15)
Mnemonic                   | Count | %    
---------------------------+-------+------
UnresolvedSymlink          | 10    | 21.2%
FileWrite                  | 8     | 17.0%
RepoMappingManifest        | 4     | 8.5% 
RunfilesTree               | 4     | 8.5% 
SourceSymlinkManifest      | 4     | 8.5% 
SymlinkTree                | 4     | 8.5% 
Action                     | 2     | 4.2% 
Symlink                    | 2     | 4.2% 
TemplateExpand             | 2     | 4.2% 
WhlInstall                 | 2     | 4.2% 
BazelWorkspaceStatusAction | 1     | 2.1% 
Genrule                    | 1     | 2.1% 
PyPex                      | 1     | 2.1% 
PyUnpackedWheel            | 1     | 2.1% 
TestRunner                 | 1     | 2.1% 
🏃 Actions by runner (2)
Runner                         | Count | %    
-------------------------------+-------+------
internal                       | 39    | 81.2%
processwrapper-sandbox · Local | 9     | 18.7%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783453932
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 12 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 98ab4b17-2790-4cf2-bdf9-e4cbd3ea751a
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (11)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/e8b3245cd48ec30e562e536cea143077/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/e8b3245cd48ec30e562e536cea143077
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (12)
--build_event_binary_file=/tmp/build-event-out-b8658245-f015-44ce-8b6c-06392d8d4761.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=98ab4b17-2790-4cf2-bdf9-e4cbd3ea751a
--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
--profile=/tmp/829a97b7-1f0e-40b9-a8af-0864a695e7e5.profile.gz
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel9

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