Commit 86053b0
authored
* chore(deps): requirements-dev.txt pinning Playwright + jsonschema (#95 / #94)
Pins the two third-party Python packages that the repo's dev tooling
imports, so a fresh clone is reproducible without ambient pip state:
- playwright>=1.54,<2.0 — tools/capture-gallery-hero.py (#67 / #94 hero PNG)
- jsonschema>=4.0,<5.0 — verify-plugin.sh, verify-security.sh,
verify-seed-expectations.sh, mock-bootstrap.sh,
generate-spec-anchor-audit.py
Preview Forge is not a Python package, so no pyproject.toml — a plain
requirements-dev.txt matches the script-driven nature of the Python side.
The capture-gallery-hero.py docstring now references the new install
contract.
Verified:
- python3 -m pip install -r requirements-dev.txt (fresh venv) — succeeds
- bash scripts/verify-plugin.sh — Pass: 57 / Fail: 0
- bash tests/fixtures/security/verify-security.sh — all defenses holding
- bash tests/e2e/mock-bootstrap.sh {standard,pro,max} — PASS x3
* docs(contributing): Python dev setup section (#95 / #94)
Adds a "Python dev setup (optional, for tooling / verify-* scripts)"
subsection under "Local setup", documenting the requirements-dev.txt
contract added in the preceding commit (Playwright + jsonschema) and
the optional `playwright install` step for hero-screenshot regen.
Notes that Preview Forge is not a Python package (no pyproject.toml)
and that verify-plugin.sh degrades gracefully on missing jsonschema
locally but is fail-closed in CI.
1 parent 0a4d34d commit 86053b0
3 files changed
Lines changed: 69 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
63 | 93 | | |
64 | 94 | | |
65 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
| |||
0 commit comments