mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
fix: disable sanic test suite to unbreak CI
sanic 25.12.0 in nixpkgs has a flaky test_keep_alive_client_timeout that fails in sandbox builds. Override the python package set to skip sanic's tests — they're upstream's problem, not ours. Cascade was: sanic → sanic-testing → slack-bolt → hermes-agent → all checks.
This commit is contained in:
parent
0a03c43f90
commit
0512a81eb9
1 changed files with 10 additions and 2 deletions
12
package.nix
12
package.nix
|
|
@ -12,8 +12,16 @@
|
|||
}:
|
||||
|
||||
let
|
||||
python = python312;
|
||||
pythonPackages = python312Packages;
|
||||
# Override python package set to fix broken upstream tests
|
||||
python = python312.override {
|
||||
packageOverrides = _final: prev: {
|
||||
sanic = prev.sanic.overridePythonAttrs (_old: {
|
||||
# sanic 25.12.0 has a flaky test_keep_alive_client_timeout in nixpkgs sandbox
|
||||
doCheck = false;
|
||||
});
|
||||
};
|
||||
};
|
||||
pythonPackages = python.pkgs;
|
||||
|
||||
# --- Missing PyPI packages ---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue