mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-12-05 18:44:41 +01:00
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>
28 lines
567 B
JSON
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
|
|
}
|