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

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:51:59 UTC 2026 · ⏱ 27.9s — 🔧 Setup 6s · 🧪 Test 21.8s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 9 targets · ⚡ 72 of 90 actions executed (20% cached) · 🧪 3 of 3 tests executed (0% cached) · 🔧 bazel v8.7.0 test · 🎯 k8 · ⚙️ fastbuild
🐙 GitHub Actions

💬 Last update: test task complete

Details

🎯 Bazel targets (9)

✅ 3 Tests Passed
Label                 | Target Type | Duration
----------------------+-------------+---------
//:test_exposed_venv  | sh_test     | 79ms    
//:test_internal_venv | sh_test     | 69ms    
//:test_simple_binary | sh_test     | 68ms    
✅ 6 Targets Built
Label                 | Target Type    
----------------------+----------------
//:exposed_venv       | py_venv_exec   
//:exposed_venv.venv  | _py_venv       
//:internal_venv      | py_venv_exec   
//:internal_venv.venv | _py_venv       
//:simple_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              | 21.8s   
------+------------------------------+---------
Total |                              | 27.9s   

🧮 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/4cf8a698-858c-4a13-8a53-4a8ff2e279eb.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=9f56def6-ff64-420e-8f50-d98b5ecb20cf \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-b2f1a8aa-09b4-4a5c-86fe-d8638dd67977.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 19d7f942-70a0-4211-97a5-666b939081df
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Tue Jul 7 19:51:59 UTC 2026
  • End time: Tue Jul 7 19:52:13 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: k8
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py/examples/py_venv
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/py_venv
  • Server PID: 2452
⏱ Timing
  • Elapsed time: 13.8s
  • Analysis time: 6.6s
  • Execution time: 5.6s
  • Bazel server time: 37.2 cpu-seconds
  • Executed Tests Time: 0.2 cpu-seconds
📦 Build graph
  • Targets: 9 targets (5,189 configured, 1 aspect application)
  • Actions: 72 actions (90 created)
  • Packages: 105 packages loaded
💾 Cache stats
  • Actions: 18 of 90 cached (20%)
  • Tests: 0 of 3 cached (0%)
⚡ Actions by mnemonic (12)
Mnemonic                   | Count | %    
---------------------------+-------+------
UnresolvedSymlink          | 15    | 20.8%
FileWrite                  | 12    | 16.6%
RepoMappingManifest        | 8     | 11.1%
SourceSymlinkManifest      | 8     | 11.1%
SymlinkTree                | 8     | 11.1%
TemplateExpand             | 7     | 9.7% 
Action                     | 3     | 4.1% 
ExecutableSymlink          | 3     | 4.1% 
Symlink                    | 3     | 4.1% 
TestRunner                 | 3     | 4.1% 
BazelWorkspaceStatusAction | 1     | 1.3% 
WhlInstall                 | 1     | 1.3% 
🏃 Actions by runner (2)
Runner                         | Count | %    
-------------------------------+-------+------
internal                       | 62    | 86.1%
processwrapper-sandbox · Local | 10    | 13.8%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783453924
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 04 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 9f56def6-ff64-420e-8f50-d98b5ecb20cf
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (12)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/c8025ae0a37a263fb6e10605e4275258/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/c8025ae0a37a263fb6e10605e4275258
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (12)
--build_event_binary_file=/tmp/build-event-out-b2f1a8aa-09b4-4a5c-86fe-d8638dd67977.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=9f56def6-ff64-420e-8f50-d98b5ecb20cf
--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/4cf8a698-858c-4a13-8a53-4a8ff2e279eb.profile.gz
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel8

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