Skip to content

Run the street gate with the Python CI actually installs - #7

Merged
Nonarkara merged 1 commit into
mainfrom
cursor/fix-street-python-805e
Nov 9, 2026
Merged

Nonarkara merged 1 commit into
mainfrom
cursor/fix-street-python-805e

Conversation

@Nonarkara

Copy link
Copy Markdown
Owner

Root cause

npm run verify has been red since de075e6 because that commit added check:streets as .venv/bin/python scripts/illustrations/build_streets.py --check. GitHub Actions installs Pillow and NumPy with python -m pip install into the setup-python interpreter and never creates a project .venv. The step exits 127 (sh: 1: .venv/bin/python: not found) before the gate measures a picture, so build, check-generated, check:release, check:slop, check:layout, check:hierarchy, check:sentences, check:data, check:illustrations, check:spatial-sync and check:spatial were all skipped. Run 42363651428; the previous commit 0aad578 was green. falsify on that run succeeded.

The street scenes, their credit, and the byte check in build_streets.py --check are unchanged. check:streets and build:streets now go through scripts/run-streets.mjs, which uses the same interpreter the illustration gate already uses: PYTHON if set, otherwise the project .venv, otherwise python3 on PATH.

What was checked locally

  • The old invocation still exits 127 when .venv is absent.
  • npm run check:streets measures the five scenes (bytes, masters, sizes, credit ink).
  • npm run verify — 288 tests, typecheck.
  • The steps the red run skipped: build, check-generated, check:release, check:slop, check:layout (215 measurements), check:hierarchy (172), check:sentences, check:data, check:illustrations, check:spatial-sync.
  • Spatial on the six pages this commit touches (/amend/, /exam/, /news/, /read/, /sources/, /topics/): 378 fresh measurements, every finding already written down. A full local sweep lost its Chrome renderer mid-run (fatal signal 5); that is an environment crash, not a baseline change. The full sweep still runs in this workflow.
Open in Web Open in Cursor 

check:streets called .venv/bin/python. Actions installs Pillow and NumPy
into setup-python and never creates that venv, so npm run verify exited 127
and every later gate was skipped. The runner now uses the illustration
gate's resolver. The street scenes and their byte check are unchanged.

Co-authored-by: Dr Non Arkara <nonsmartcity@gmail.com>
@Nonarkara
Nonarkara merged commit f9aafa3 into main Nov 9, 2026
2 checks passed
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.

2 participants