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_binary-bazel-8 succeeded Jul 7, 2026 in 22s

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:52:06 UTC 2026 · ⏱ 24.6s — 🔧 Setup 6s · 🧪 Test 18.6s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 3 targets · ⚡ 25 of 37 actions executed (32% 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 (3)

✅ 1 Test Passed
Label         | Target Type | Duration
--------------+-------------+---------
//:build_test | _empty_test | 67ms    
✅ 2 Targets Built
Label        | Target Type    
-------------+----------------
//:py_binary | py_venv_exec   
//:stamped   | expand_template

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 6s      
Test  | Run bazel tests              | 18.6s   
------+------------------------------+---------
Total |                              | 24.6s   

🧮 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/5a18e116-f2ff-4bdb-9f4c-949a11236bb6.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=02c24642-61f2-41b4-a4b9-fe84b692459b \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-dfe4ecce-1214-449f-8bb4-209a270b78bf.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: e13b3ce2-9771-4f8d-92fe-5c680933b4d3
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Tue Jul 7 19:52:06 UTC 2026
  • End time: Tue Jul 7 19:52:18 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: k8
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py/examples/py_binary
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/py_binary
  • Server PID: 2434
⏱ Timing
  • Elapsed time: 11.7s
  • Analysis time: 5.8s
  • Execution time: 3.6s
  • Bazel server time: 31.2 cpu-seconds
  • Executed Tests Time: 0 cpu-seconds
📦 Build graph
  • Targets: 3 targets (5,173 configured, 1 aspect application)
  • Actions: 25 actions (37 created)
  • Packages: 106 packages loaded
💾 Cache stats
  • Actions: 12 of 37 cached (32%)
  • Tests: 0 of 1 cached (0%)
⚡ Actions by mnemonic (12)
Mnemonic                   | Count | %    
---------------------------+-------+------
FileWrite                  | 5     | 20.0%
UnresolvedSymlink          | 5     | 20.0%
TemplateExpand             | 3     | 12.0%
RepoMappingManifest        | 2     | 8.0% 
SourceSymlinkManifest      | 2     | 8.0% 
SymlinkTree                | 2     | 8.0% 
Action                     | 1     | 4.0% 
BazelWorkspaceStatusAction | 1     | 4.0% 
Genrule                    | 1     | 4.0% 
Symlink                    | 1     | 4.0% 
TestRunner                 | 1     | 4.0% 
WhlInstall                 | 1     | 4.0% 
🏃 Actions by runner (2)
Runner                         | Count | %    
-------------------------------+-------+------
internal                       | 20    | 80.0%
processwrapper-sandbox · Local | 5     | 20.0%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783453931
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 11 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 02c24642-61f2-41b4-a4b9-fe84b692459b
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (12)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/955a074578dd81819f3d5885fc0bfc21/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/955a074578dd81819f3d5885fc0bfc21
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (12)
--build_event_binary_file=/tmp/build-event-out-dfe4ecce-1214-449f-8bb4-209a270b78bf.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=02c24642-61f2-41b4-a4b9-fe84b692459b
--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/5a18e116-f2ff-4bdb-9f4c-949a11236bb6.profile.gz
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel8

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