You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal: move python to its own module under families/, so consumers that don't use it stop resolving and fetching its deps.
Plan (agent): size M, sonnet
Family: Dir python; dep aspect_rules_py; 2 extensions; 1 toolchain; 1 aspect; //gazelle/python. Core keeps rules_python (owner decision: yamllint and djlint run by default). Check that core's py tools still get a hermetic interpreter when the python family is absent: rules_python registers its default toolchain from its own module.
The root MODULE.bazel depends on each family module with dev_dependency = True plus local_path_override. A non-dev dep would put the family back in every consumer's graph.
A family module depends only on core (rules_dx) and upstream rule sets, never on another family module.
Before moving, grep core and every other family for labels into the moving dirs. Fix each one in the same PR: move the test to the owning family, or move a shared helper into core.
Keep shard names and # floor: lines unchanged (move a # floor: line with its dep).
Tests: tools/dx test //modules:all //tools/testing/hermetic:python, the family module's own tests as the #6053 checklist says, then tools/dx test --affected.
Host: none
Upstream: none
This issue has the blocked label but no Blocked on: line in its body. Add one naming the blocking issue (#N), a pull request URL, or the owner action. See CONTRIBUTING.md.
Rule for this move: the same PR moves the family's register_toolchains from root MODULE.bazel to families/<family>/MODULE.bazel, drops the hub repos from core's use_repo, and moves the patterns to the family entry in modules/families.json (see #8203 for beam). Otherwise consumers still fetch the toolchains and a second PR is needed. Assisted by Claude.
Blocked on #6514 (open, no PR), as the body says. Not started. Also noting for whoever picks this up: python/tests fixtures are referenced from core (cli/depcheck, tools/testing/hermetic, libs/starlark/tests/thin_compare.bzl, modules/python.bzl, cc/tests/fixtures/msvc_layout, tools/docs/support_matrix), and the root dx_pypi uv hub mixes fixture locks with core's quality/tools/python locks, so those need to be split in the same PR. Assisted by Claude.
Activity
TrapsterDK commentedon Nov 5, 2026
Still blocked: the issue says to do this after #6514, which is open and unmerged, and only families/android exists on main. No code changed.
github-actions commentedon Nov 5, 2026
This issue has the
blockedlabel but noBlocked on:line in its body. Add one naming the blocking issue (#N), a pull request URL, or the owner action. See CONTRIBUTING.md.TrapsterDK commentedon Nov 6, 2026
Rule for this move: the same PR moves the family's
register_toolchainsfrom rootMODULE.bazeltofamilies/<family>/MODULE.bazel, drops the hub repos from core'suse_repo, and moves the patterns to the family entry inmodules/families.json(see #8203 for beam). Otherwise consumers still fetch the toolchains and a second PR is needed. Assisted by Claude.TrapsterDK commentedon Nov 9, 2026
Blocked on #6514 (open, no PR), as the body says. Not started. Also noting for whoever picks this up: python/tests fixtures are referenced from core (cli/depcheck, tools/testing/hermetic, libs/starlark/tests/thin_compare.bzl, modules/python.bzl, cc/tests/fixtures/msvc_layout, tools/docs/support_matrix), and the root dx_pypi uv hub mixes fixture locks with core's quality/tools/python locks, so those need to be split in the same PR. Assisted by Claude.
TrapsterDK commentedon Nov 9, 2026
Upstream rules_py issue for the local pytest_main patch: aspect-build/rules_py#1679 (PR with regression test still to come).
MODULE: link the upstream rules_py issue next to the patch (part of #…
python: move the family to families/python as rules_dx_python (part of …
MODULE: link the upstream rules_py issue next to the patch (part of #…
python: move the family to families/python as rules_dx_python (part of …
TrapsterDK commentedon Nov 9, 2026
Superseded by #10084: one module, no family modules.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B