Skip to content

update-shape.py apply --accept-local: a kept .py copy that imports a name the run's new repo_shape.py dropped passes, and make bootstrap then dies on an ImportError #604

Closed

Description

@brettheap

apply --accept-local should check each kept .py copy's imports against the modules the run writes, before writing anything.

From the checklist triage of 2026-10-15; Brett Heap approved its recommendations at 2026-10-15T16:49:38Z. One pull request covers the lines below.

Lines

Each line above is marked → this issue on its tracking issue. Tick it there too when this closes.

The lines as written on the tracking issues

update-shape.py apply --accept-local <a kept .py copy> can keep a project's own helper that imports a name the run's NEW scripts/repo_shape.py no longer defines.

— #458, comment

Activity

  1. added this to the v1.1.0 milestone on Oct 15, 2026
  2. brettheap commented on Oct 15, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-15T17:34:15Z, for #604

    Logged in lanes/log/openRepoShape-4.md at e23659eb42554367b8fbea4364b829c204920bcd.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#604:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#604"`, kept where the row or its body names `#604`:
       none
    3. `git ls-remote --heads git@github.com:opensoft/openRepoShape` branches naming `604` as a whole token:
       none
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions