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-9 succeeded Jul 7, 2026 in 37s

✅ test //... · Tests passed

✅ Succeeded · 📅 Tue Jul 7 19:51:56 UTC 2026 · ⏱ 38.6s — 🔧 Setup 5.2s · 🧪 Test 33.3s
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 3 targets · ⚡ 23 of 34 actions executed (32% cached) · 🧪 1 of 1 tests executed (0% cached) · 🔧 bazel v9.1.1 test · 🎯 x86_64 · ⚙️ 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 | 332ms   
✅ 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.2s    
Test  | Run bazel tests              | 33.3s   
------+------------------------------+---------
Total |                              | 38.6s   

🧮 Bazel details

📟 Command line · bazel test //...
bazel test \
  --disk_cache=/home/runner/.cache/bazel-disk \
  --test_tag_filters=-skip-on-bazel9 \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/tmp/4663b306-2204-4d81-8195-ee521d46fe30.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Test \
  --build_metadata=ASPECT_TASK_ID=9e5fc34e-0956-4e24-9df4-b26123821f79 \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-09407098-8400-4442-bfa0-3f3b4b6c503c.bin \
  -- \
  //...
ℹ️ Invocation details
  • Invocation ID: 02dc16dd-0510-411d-ac0a-3be3bedaafd8
  • Command: test
  • Bazel version: 9.1.1
  • Start time: Tue Jul 7 19:51:56 UTC 2026
  • End time: Tue Jul 7 19:52:24 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: x86_64
  • 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: 2433
⏱ Timing
  • Elapsed time: 27.6s
  • Analysis time: 23s
  • Execution time: 3.1s
  • Bazel server time: 36.2 cpu-seconds
  • Executed Tests Time: 0.3 cpu-seconds
📦 Build graph
  • Targets: 3 targets (4,876 configured, 1 aspect application)
  • Actions: 23 actions (34 created)
  • Packages: 116 packages loaded
💾 Cache stats
  • Actions: 11 of 34 cached (32%)
  • Tests: 0 of 1 cached (0%)
⚡ Actions by mnemonic (10)
Mnemonic                   | Count | %    
---------------------------+-------+------
FileWrite                  | 3     | 13.0%
RepoMappingManifest        | 3     | 13.0%
RunfilesTree               | 3     | 13.0%
SourceSymlinkManifest      | 3     | 13.0%
TemplateExpand             | 3     | 13.0%
UnresolvedSymlink          | 3     | 13.0%
Symlink                    | 2     | 8.6% 
Action                     | 1     | 4.3% 
BazelWorkspaceStatusAction | 1     | 4.3% 
TestRunner                 | 1     | 4.3% 
🏃 Actions by runner (2)
Runner                         | Count | %    
-------------------------------+-------+------
internal                       | 21    | 87.5%
processwrapper-sandbox · Local | 3     | 12.5%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783453921
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 01 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 9e5fc34e-0956-4e24-9df4-b26123821f79
  • ASPECT_TASK_NAME: Test
🎛️ Startup options (11)
--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
--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-09407098-8400-4442-bfa0-3f3b4b6c503c.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=9e5fc34e-0956-4e24-9df4-b26123821f79
--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/4663b306-2204-4d81-8195-ee521d46fe30.profile.gz
--remote_download_outputs=minimal
--repository_cache=/home/runner/.cache/bazel-repo
--test_tag_filters=-skip-on-bazel9

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