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

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:51:58 UTC 2026 · ⏱ 23.7s — 🔧 Setup 5.1s · 🧪 Test 18.6s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 3 targets · ⚡ 20 of 34 actions executed (41% 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
---------------------------------------+-------------------+---------
//:generate_requirements_txt_diff_test | _pip_compile_test | 293ms   
✅ 2 Targets Built
Label                        | Target Type 
-----------------------------+-------------
//:generate_requirements_txt | _pip_compile
//app:app                    | py_venv_exec

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase | Description                  | Duration
------+------------------------------+---------
Setup | Prepare the task environment | 5.1s    
Test  | Run bazel tests              | 18.6s   
------+------------------------------+---------
Total |                              | 23.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/2492a510-a82f-4a3e-a1b2-dccfa9bbe100.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=2b546eda-7cc0-4e3c-bcc1-0c055052fac5 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-8f992cb5-fbe0-49d8-8aeb-6fa7c79793b8.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: eeaaec17-0fc3-4156-9649-f6d4d8c476c4
  • Command: test
  • Bazel version: 8.7.0
  • Start time: Tue Jul 7 19:51:58 UTC 2026
  • End time: Tue Jul 7 19:52:11 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: k8
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py/examples/uv_pip_compile
  • Workspace directory: /home/runner/work/rules_py/rules_py/examples/uv_pip_compile
  • Server PID: 2426
⏱ Timing
  • Elapsed time: 12.5s
  • Analysis time: 8.4s
  • Execution time: 2.9s
  • Bazel server time: 38.2 cpu-seconds
  • Executed Tests Time: 0.2 cpu-seconds
📦 Build graph
  • Targets: 3 targets (5,041 configured, 1 aspect application)
  • Actions: 20 actions (34 created)
  • Packages: 104 packages loaded
💾 Cache stats
  • Actions: 14 of 34 cached (41%)
  • Tests: 0 of 1 cached (0%)
⚡ Actions by mnemonic (9)
Mnemonic                   | Count | %    
---------------------------+-------+------
FileWrite                  | 3     | 15.0%
RepoMappingManifest        | 3     | 15.0%
SourceSymlinkManifest      | 3     | 15.0%
TemplateExpand             | 3     | 15.0%
UnresolvedSymlink          | 3     | 15.0%
Symlink                    | 2     | 10.0%
Action                     | 1     | 5.0% 
BazelWorkspaceStatusAction | 1     | 5.0% 
TestRunner                 | 1     | 5.0% 
🏃 Actions by runner (3)
Runner                         | Count | %    
-------------------------------+-------+------
internal                       | 17    | 85.0%
processwrapper-sandbox · Local | 2     | 10.0%
disk cache hit · Remote        | 1     | 5.0% 
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783453922
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 02 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 2b546eda-7cc0-4e3c-bcc1-0c055052fac5
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (12)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/16ea84e6f592e46b8b51deeab178822d/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/16ea84e6f592e46b8b51deeab178822d
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (15)
--build_event_binary_file=/tmp/build-event-out-8f992cb5-fbe0-49d8-8aeb-6fa7c79793b8.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=2b546eda-7cc0-4e3c-bcc1-0c055052fac5
--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/2492a510-a82f-4a3e-a1b2-dccfa9bbe100.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:52:12 UTC 2026 · 📊 GitHub API quota 1,124/15,000 (7% used, resets in 37m)
🚀 Powered by Aspect CLI (v2026.28.2)  |  Aspect Build · X · LinkedIn · YouTube