Skip to content

docs: note local pyenv drift and worktree pythonpath gotcha in claude.md#232

Closed
jconstance-amplify wants to merge 1 commit into
mainfrom
docs-add_local_env_notes
Closed

docs: note local pyenv drift and worktree pythonpath gotcha in claude.md#232
jconstance-amplify wants to merge 1 commit into
mainfrom
docs-add_local_env_notes

Conversation

@jconstance-amplify

Copy link
Copy Markdown
Contributor

Summary

  • Add a Local Dev Env note to CLAUDE.md: a stale local pyenv env can produce a misleading pytest collection ImportError when origin/main has added a pinned dependency; run with PYTHONPATH=$(pwd) in a worktree ahead of the editable install's target.

Most of the source memory's content (py310 floor, full-tox requirement, pinned black 22.8.0) was already documented in this file, in more detail than the memory had. This PR adds only the genuinely missing piece.

Test plan

  • pre-commit run --files CLAUDE.md — passes
  • Read the existing CLAUDE.md first to confirm no duplication before adding

Surfaced by a personal memory audit. Most of what that memory covered
(py310 floor, full-tox requirement, pinned black) was already documented
here in more detail — this adds only the piece that wasn't: a stale local
env producing a misleading collection ImportError, and the PYTHONPATH fix
for a worktree ahead of the editable install's target.
@jconstance-amplify jconstance-amplify deleted the docs-add_local_env_notes branch July 10, 2026 13:22
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