Skip to content

Worktree venv launcher; fixed test order; scipy locked in the test extra - #29

Merged
DatMoshu merged 2 commits into
mainfrom
work/SM-VENV1a
Oct 10, 2026
Merged

DatMoshu merged 2 commits into
mainfrom
work/SM-VENV1a

Conversation

@DatMoshu

Copy link
Copy Markdown
Owner

SM-VENV1 + SM-VENV1a (work/SM-VENV1a, aa274cf).

tools/worktree-venv/run.py creates and refreshes a per-worktree venv, with .bat/.sh launchers under the fleet rule; common.bat/.sh prefer workspace/venv. pytest runs in a fixed order (-p no:randomly). uv.lock gains scipy in the test extra (1.15.3 / 1.17.1 / 1.18.1 by Python marker) and the imaging extra main's lock had been missing since #23; requires-dist matches pyproject; uv lock --check clean.

Director checks: repository + portability tests in the worktree venv 14 passed / 1 skipped; uv lock --check clean. Verdict ACCEPT (switchboard 6672). Touches uv.lock, same as the release PR: merge this first, then rebase the release PR. Moshu merges.

🤖 Generated with Claude Code

DatMoshu and others added 2 commits October 9, 2026 20:08
…mmon/

launchers/dev/worktree-venv (.bat + .sh) runs tools/worktree-venv/run.py: builds
workspace/venv, pip install -e .[test], and fails unless spritemotion.__file__ is
this checkout's common/. common.bat/common.sh prefer workspace/venv when it exists.
The test extra gains scipy>=1.13 (numpy 2 compatible); pytest addopts gets
-p no:randomly. CLAUDE.md checks point at the launchers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…v.lock

uv 0.6.14, uv lock without --upgrade. Adds scipy 1.15.3/1.17.1/1.18.1 (numpy
markers per python version) and the imaging/test extra entries pyproject
already declared; no existing package versions changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T01:21:25.349779Z aa274cf PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@DatMoshu DatMoshu mentioned this pull request Oct 10, 2026
@DatMoshu
DatMoshu enabled auto-merge (squash) October 10, 2026 01:20
@DatMoshu
DatMoshu merged commit ac9209f into main Oct 10, 2026
4 checks passed
@DatMoshu
DatMoshu deleted the work/SM-VENV1a branch October 10, 2026 01:21

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aa274cfaf2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

call "%~dp0config.bat"

@rem workspace\venv (launchers\dev\worktree-venv) tests THIS checkout; .venvs\spritemotion is main's editable install.
if not defined SPRITEMOTION_PYTHON if exist "%SM_ROOT%\workspace\venv\Scripts\python.exe" set "SPRITEMOTION_PYTHON=%SM_ROOT%\workspace\venv\Scripts\python.exe"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep 0-setup pinned to the shared venv

When workspace/venv exists, this assignment makes pipeline/0-setup.bat see an existing SPRITEMOTION_PYTHON, so it skips creating .venvs/spritemotion and installs into the worktree environment instead. The shell twin similarly updates workspace/venv whenever both environments exist because it never resets the selected interpreter to SM_VENV_PYTHON. Consequently, running the documented setup after the worktree setup can leave the shared environment missing or stale; 0-setup should explicitly target .venvs/spritemotion rather than inherit this preference.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant