From ed83cecb85c473fb9ff74ab0ea149876761b0305 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Sat, 11 Jul 2026 15:45:51 +0100 Subject: [PATCH] refactor: drop NSS references from CI-status test + release-validation doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test_ci_status.py used "nss install smoke" as an example unrelated red workflow — swapped for a generic name (test logic unchanged). The release_validation wheel-install rationale keeps its lesson but drops the [nss] name for a generic "direct git-URL dependency". Follows PyAutoFit#1356. Issue: PyAutoFit#1356 Co-Authored-By: Claude Opus 4.8 --- docs/release_validation.md | 4 ++-- tests/test_ci_status.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/release_validation.md b/docs/release_validation.md index 57704cd..561b6e3 100644 --- a/docs/release_validation.md +++ b/docs/release_validation.md @@ -93,8 +93,8 @@ carries `profile` and `commit_shas`, so the gate can enforce them): 1. **Test BUILDS, not SOURCE.** Today `workspace-validation.yml` shadows the PyAuto packages with source checkouts via `PYTHONPATH`, so the gating run - never touches a wheel — the exact blind spot that let the PyAutoFit `[nss]` - git-URL break every TestPyPI upload for weeks. The release run MUST + never touches a wheel — the exact blind spot that let a direct git-URL + dependency break every TestPyPI upload for weeks. The release run MUST `pip install` the TestPyPI wheels published by the M1 rehearsal and put **no** source on `PYTHONPATH`. diff --git a/tests/test_ci_status.py b/tests/test_ci_status.py index 129fa1a..a25223c 100644 --- a/tests/test_ci_status.py +++ b/tests/test_ci_status.py @@ -138,7 +138,7 @@ def test_build_sidecar_library_uses_tests_workflow(tmp_path): cfg = _cfg(tmp_path) # A library with a green Tests run plus an unrelated red workflow: only the # required Tests workflow gates, so the rollup is success. - runs = [_run("Tests", "success"), _run("nss install smoke", "failure")] + runs = [_run("Tests", "success"), _run("Docs Build", "failure")] side = ci.build_sidecar("PyAutoFit", "libraries", runs, HEAD, "T", config_path=cfg) assert side["conclusion"] == "success"