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 / buildifier succeeded Jul 7, 2026 in 20s

✅ buildifier @buildifier_prebuilt//buildifier · Passed

✅ Succeeded · 📅 Tue Jul 7 19:52:10 UTC 2026 · ⏱ 22.3s — 🔧 Setup 6.2s · 🔨 Build 14.7s · 🔍 Detect 1.3s · ✨ Format 14ms · 📋 Diff 13ms
👤 runner · 🖥 runnervmkkn4f · 💎 aspect-cli v2026.28.2
📦 2 targets · ⚡ 6 of 7 actions executed (14% cached) · 🔧 bazel v8.5.1 build · 🎯 k8 · ⚙️ fastbuild
🐙 GitHub Actions

⚙️ Scope: changed — filtered to 8 changed files
💬 Last update: buildifier task complete

Details

✅ All 8 files in scope are properly formatted.

🔁 Reproduce

aspect buildifier --severity=fail --base-ref=origin/main

Install aspect: aspect.build/docs/cli/install

📎 Artifacts

Artifacts · Profile · BEP

⏱️ Task timing

Phase  | Description                      | Duration
-------+----------------------------------+---------
Setup  | Prepare the task environment     | 6.2s    
Build  | Build formatter                  | 14.7s   
Detect | Detect changed files             | 1.3s    
Format | Format files                     | 14ms    
Diff   | Detect formatter-induced changes | 15ms    
-------+----------------------------------+---------
Total  |                                  | 22.3s   

🎯 Bazel targets (2)

✅ 2 Targets Built
Label                                         | Target Type      
----------------------------------------------+------------------
@@buildifier_prebuilt+//buildifier:buildifier | buildifier_binary
@@buildifier_prebuilt+//buildifier:buildifier | buildifier_binary

🧮 Bazel details

📟 Command line · bazel build @buildifier_prebuilt//buildifier
bazel build \
  --disk_cache=/home/runner/.cache/bazel-disk \
  --generate_json_trace_profile=1 \
  --experimental_profile_include_target_label \
  --profile=/tmp/8d496d51-a487-43c8-a323-06f18fd981cb.profile.gz \
  --color=yes \
  --build_metadata=ASPECT_TASK_NAME=Buildifier \
  --build_metadata=ASPECT_TASK_ID=670b09d1-46ff-4fe6-b503-90cbe7beac66 \
  --experimental_build_event_upload_strategy=local \
  --build_runfile_links \
  --aspects=@aspect_runinfo//:runinfo.bzl%runinfo \
  --output_groups=+aspect_runinfo \
  --inject_repository=aspect_runinfo=/tmp/aspect_runinfo_buildifier \
  --remote_download_outputs=toplevel \
  --build_event_publish_all_actions \
  --build_event_binary_file_upload_mode=fully_async \
  --build_event_binary_file=/tmp/build-event-out-eac3c725-1381-4429-93e2-5902a215df12.bin \
  -- \
  @buildifier_prebuilt//buildifier
ℹ️ Invocation details
  • Invocation ID: 285a2817-4017-450b-9a3c-bd5b3d9535b0
  • Command: build
  • Bazel version: 8.5.1
  • Start time: Tue Jul 7 19:52:10 UTC 2026
  • End time: Tue Jul 7 19:52:17 UTC 2026
  • User: runner
  • Host name: runnervmkkn4f
  • CPU Target: k8
  • Mode: fastbuild
  • Working directory: /home/runner/work/rules_py/rules_py
  • Workspace directory: /home/runner/work/rules_py/rules_py
  • Server PID: 2384
⏱ Timing
  • Elapsed time: 7.6s
  • Analysis time: 2.9s
  • Execution time: 63ms
  • Bazel server time: 22 cpu-seconds
📦 Build graph
  • Targets: 2 targets (968 configured, 3 aspect applications)
  • Actions: 6 actions (7 created)
  • Packages: 106 packages loaded
💾 Cache stats
  • Actions: 1 of 7 cached (14%)
⚡ Actions by mnemonic (6)
Mnemonic                   | Count | %    
---------------------------+-------+------
BazelWorkspaceStatusAction | 1     | 16.6%
ExecutableSymlink          | 1     | 16.6%
FileWrite                  | 1     | 16.6%
RepoMappingManifest        | 1     | 16.6%
SourceSymlinkManifest      | 1     | 16.6%
SymlinkTree                | 1     | 16.6%
🏃 Actions by runner (1)
Runner   | Count | %     
---------+-------+-------
internal | 6     | 100.0%
🏠 Workspace status (4)
  • BUILD_HOST: runnervmkkn4f
  • BUILD_TIMESTAMP: 1783453934
  • BUILD_USER: runner
  • FORMATTED_DATE: 2026 Jul 07 19 52 14 Tue
🏷️ Build metadata (2)
  • ASPECT_TASK_ID: 670b09d1-46ff-4fe6-b503-90cbe7beac66
  • ASPECT_TASK_NAME: Buildifier
🎛️ Startup options (13)
--connect_timeout_secs=30
--failure_detail_out=/home/runner/.cache/bazel/_bazel_runner/6df7480ff30c4c8a0931e4b7e7f160da/failure_detail.rawproto
--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
--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/6df7480ff30c4c8a0931e4b7e7f160da
--output_user_root=/home/runner/.cache/bazel/_bazel_runner
--write_command_log
🎛️ Command options (61)
--announce_rc
--aspects=@aspect_runinfo//:runinfo.bzl%runinfo
--build_event_binary_file=/tmp/build-event-out-eac3c725-1381-4429-93e2-5902a215df12.bin
--build_event_binary_file_upload_mode=fully_async
--build_event_publish_all_actions
--build_metadata=ASPECT_TASK_ID=670b09d1-46ff-4fe6-b503-90cbe7beac66
--build_metadata=ASPECT_TASK_NAME=Buildifier
--build_runfile_links
--color=yes
--curses=yes
--define=SOME_VAR=SOME_VALUE
--disk_cache=/home/runner/.cache/bazel-disk
--enable_platform_specific_config
--experimental_build_event_upload_strategy=local
--experimental_fetch_all_coverage_outputs
--experimental_profile_include_target_label
--generate_json_trace_profile=1
--grpc_keepalive_time=30s
--heap_dump_on_oom
--host_per_file_copt='external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT'
--host_platform=//bazel/platforms:linux_gnu
--incompatible_auto_exec_groups
--incompatible_autoload_externally=''
--incompatible_config_setting_private_default_visibility
--incompatible_default_to_explicit_init_py
--incompatible_disable_native_repo_rules
--incompatible_disable_non_executable_java_binary
--incompatible_disable_starlark_host_transitions
--incompatible_enable_cc_toolchain_resolution
--incompatible_enforce_starlark_utf8=error
--incompatible_modify_execution_info_additive
--incompatible_repo_env_ignores_action_env
--incompatible_strict_action_env
--inject_repository=aspect_runinfo=/tmp/aspect_runinfo_buildifier
--lockfile_mode=error
--lockfile_mode=off
--module_mirrors=https://bcr.cloudflaremirrors.com
--nobuild_runfile_links
--noexperimental_check_external_repository_files
--noincompatible_disallow_empty_glob
--noremote_upload_local_results
--nosandbox_default_allow_network
--output_groups=+aspect_runinfo
--per_file_copt='external/.*protobuf.*@--PROTOBUF_WAS_NOT_SUPPOSED_TO_BE_BUILT'
--platforms=//bazel/platforms:linux_gnu
--profile=/tmp/8d496d51-a487-43c8-a323-06f18fd981cb.profile.gz
--remote_download_outputs=minimal
--remote_download_outputs=toplevel
--remote_local_fallback
--remote_timeout=3600
--remote_upload_local_results
--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
--repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1
--repo_env='JAVA_HOME=<REDACTED>'
--repository_cache=/home/runner/.cache/bazel-repo
--reuse_sandbox_directories
--show_progress_rate_limit=60
--show_result=20
--show_timestamps
--test_output=errors
--toolchain_resolution_debug=@@bazel_tools//tools/cpp:toolchain_type

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