Files
Joseph MaglyandClaude Opus 5.5 02bd8fd056 build: add Nix test environments matching the CPU PR CI
Add a flake that provides local test environments equivalent to the
CPU pull-request job, so local results are comparable with CI on hosts
whose system Python differs.

- Nix supplies Python 3.11, 3.12 and 3.13, git and the native runtime
  libraries prebuilt wheels need; uv.lock remains the single source of
  Python dependencies.
- `nix run .#test[-py311|-py312|-py313]` installs uv at the CI pin,
  syncs the locked non-editable environment with the CI extras and runs
  pytest with the CI options, marker filter and environment variables.
  Extras, markers and the state directory can be overridden, e.g. for
  the operator-UI Gradio gate.
- docs/NIX_TEST_ENVIRONMENT.md documents usage and scope; per-interpreter
  state directories are ignored by git.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:35:16 -05:00

28 lines
567 B
JSON

{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1794537146,
"narHash": "sha256-Wpz/7x/YWnDIBu7yj6ixe8j6fIMsidd9Y+o1PqPF3iM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d5cc6833999746cffdfe0598f7bc801a57b887a9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}