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-protobuf-bazel-8 succeeded Jul 7, 2026 in 1m 35s

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:52:05 UTC 2026 · ⏱ 1m 37s — 🔧 Setup 6.1s · 🧪 Test 1m 31s
👤 runner · 🖥 runnervmjbsos · 💎 aspect-cli v2026.28.2
📦 4 targets · ⚡ 1,409 of 4,124 actions executed (65% 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 (4)

✅ 1 Test Passed
Label       | Target Type       | Duration
------------+-------------------+---------
//:app_test | py_venv_exec_test | 369ms   
✅ 3 Targets Built
Label                | Target Type     
---------------------+-----------------
//:app               | py_venv_exec    
//:greeting_proto    | proto_library   
//:greeting_py_proto | py_proto_library

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 6.1s    
Test  | Run bazel tests              | 1m 31s  
------+------------------------------+---------
Total |                              | 1m 37s  

🧮 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/e3f01f75-f9f1-443d-a878-ed0315819605.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=6594d8b8-509c-4334-b741-ca96493ec698 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-c9dfbf05-9df5-4b17-96a2-7d723189e38c.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 49947d21-6051-4a5c-a360-56c99f9319c0
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Tue Jul 7 19:52:05 UTC 2026
  • End time: Tue Jul 7 19:53:28 UTC 2026
  • User: runner
  • Host name: runnervmjbsos
  • CPU Target: k8
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py/examples/protobuf
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/protobuf
  • Server PID: 2822
⏱ Timing
  • Elapsed time: 1m 22s
  • Analysis time: 7.2s
  • Execution time: 1m 11s
  • Bazel server time: 1.5 cpu-minutes
  • Executed Tests Time: 0.3 cpu-seconds
📦 Build graph
  • Targets: 4 targets (6,380 configured, 3 aspect applications)
  • Actions: 1,409 actions (4,124 created)
  • Packages: 169 packages loaded
💾 Cache stats
  • Actions: 2,715 of 4,124 cached (65%)
  • Tests: 0 of 1 cached (0%)
⚡ Actions by mnemonic (16)
Mnemonic                   | Count | %    
---------------------------+-------+------
CppCompile                 | 836   | 59.3%
Symlink                    | 476   | 33.7%
ProtoCompile               | 24    | 1.7% 
RepoMappingManifest        | 12    | 0.8% 
SourceSymlinkManifest      | 12    | 0.8% 
CppLink                    | 10    | 0.7% 
Genrule                    | 10    | 0.7% 
FileWrite                  | 8     | 0.5% 
Action                     | 6     | 0.4% 
UnresolvedSymlink          | 6     | 0.4% 
GenProto                   | 2     | 0.1% 
InternalCopyFile           | 2     | 0.1% 
TemplateExpand             | 2     | 0.1% 
BazelWorkspaceStatusAction | 1     | 0.0% 
GenProtoDescriptorSet      | 1     | 0.0% 
…1 more (1 actions)
🏃 Actions by runner (3)
Runner                  | Count | %    
------------------------+-------+------
linux-sandbox · Local   | 892   | 63.3%
internal                | 516   | 36.6%
disk cache hit · Remote | 1     | 0.0% 
🏠 Workspace status (4)
  • BUILD_HOST: runnervmjbsos
  • BUILD_TIMESTAMP: 1783453929
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 09 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 6594d8b8-509c-4334-b741-ca96493ec698
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (12)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/97600790102d30a947d903785f423405/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/97600790102d30a947d903785f423405
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (15)
--build_event_binary_file=/tmp/build-event-out-c9dfbf05-9df5-4b17-96a2-7d723189e38c.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=6594d8b8-509c-4334-b741-ca96493ec698
--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
--lockfile_mode=off
--nobuild_runfile_links
--profile=/tmp/e3f01f75-f9f1-443d-a878-ed0315819605.profile.gz
--remote_download_outputs=minimal
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel8

⏱ Last updated Tue Jul 7 19:53:30 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