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

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:52:07 UTC 2026 · ⏱ 26.7s — 🔧 Setup 6.5s · 🧪 Test 20.2s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 7 targets · ⚡ 71 of 84 actions executed (15% 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 (7)

✅ 1 Test Passed
Label          | Target Type       | Duration
---------------+-------------------+---------
//:pytest_test | py_venv_exec_test | 476ms   
✅ 6 Targets Built
Label                | Target Type    
---------------------+----------------
//:__test__          | py_library     
//:__test___template | _py_pytest_main
//:app               | py_venv_exec   
//:app_snake         | py_venv_exec   
//:cowsnake          | py_library     
//:greet             | py_library     

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 6.5s    
Test  | Run bazel tests              | 20.2s   
------+------------------------------+---------
Total |                              | 26.7s   

🧮 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/e02ce9cc-f4c4-4ab2-aad9-1403960a3f37.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=9595df23-dd0d-4f6c-98dd-9ba777583f57 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-725c3a6a-e726-4329-ac1f-e99399d4934d.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 8ef7bcdd-5877-4fb2-ae62-b303ac0d573d
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Tue Jul 7 19:52:07 UTC 2026
  • End time: Tue Jul 7 19:52:19 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: k8
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py/examples/virtual_deps
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/virtual_deps
  • Server PID: 2403
⏱ Timing
  • Elapsed time: 12.6s
  • Analysis time: 5.5s
  • Execution time: 7s
  • Bazel server time: 35.6 cpu-seconds
  • Executed Tests Time: 0.4 cpu-seconds
📦 Build graph
  • Targets: 7 targets (5,254 configured, 1 aspect application)
  • Actions: 71 actions (84 created)
  • Packages: 122 packages loaded
💾 Cache stats
  • Actions: 13 of 84 cached (15%)
  • Tests: 0 of 1 cached (0%)
⚡ Actions by mnemonic (11)
Mnemonic                   | Count | %    
---------------------------+-------+------
UnresolvedSymlink          | 27    | 38.0%
FileWrite                  | 15    | 21.1%
WhlInstall                 | 7     | 9.8% 
TemplateExpand             | 5     | 7.0% 
Action                     | 3     | 4.2% 
RepoMappingManifest        | 3     | 4.2% 
SourceSymlinkManifest      | 3     | 4.2% 
Symlink                    | 3     | 4.2% 
SymlinkTree                | 3     | 4.2% 
BazelWorkspaceStatusAction | 1     | 1.4% 
TestRunner                 | 1     | 1.4% 
🏃 Actions by runner (3)
Runner                         | Count | %    
-------------------------------+-------+------
internal                       | 60    | 84.5%
disk cache hit · Remote        | 10    | 14.0%
processwrapper-sandbox · Local | 1     | 1.4% 
🏠 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: 9595df23-dd0d-4f6c-98dd-9ba777583f57
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (12)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/c87e3b449f503c70fb17b5b7254abf1c/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/c87e3b449f503c70fb17b5b7254abf1c
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (12)
--build_event_binary_file=/tmp/build-event-out-725c3a6a-e726-4329-ac1f-e99399d4934d.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=9595df23-dd0d-4f6c-98dd-9ba777583f57
--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/e02ce9cc-f4c4-4ab2-aad9-1403960a3f37.profile.gz
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel8

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