python3Packages.labgrid: fix test_help under python 3.14 (#518712)

This commit is contained in:
Michael Daniels
2026-05-16 23:48:43 +00:00
committed by GitHub
@@ -4,6 +4,7 @@
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
fetchpatch2,
grpcio,
grpcio-tools,
grpcio-reflection,
@@ -53,6 +54,11 @@ buildPythonPackage rec {
url = "https://github.com/Emantor/labgrid/commit/f0b672afe1e8976c257f0adff9bf6e7ee9760d6f.patch";
sha256 = "sha256-M7rg+W9SjWDdViWyWe3ERzbUowxzf09c4w1yG3jQGak=";
})
# Fix test_help under python 3.14 argparse colored output.
(fetchpatch2 {
url = "https://github.com/labgrid-project/labgrid/commit/417ace60b9dc043767afb312113a02bcb0807b17.patch?full_index=1";
hash = "sha256-QCkO/PQbosqUldzJiOyF6BHvyzZI06CGs9IxHPPa6Ek=";
})
];
build-system = [
@@ -98,6 +104,9 @@ buildPythonPackage rec {
"test_argument_device_expansion"
"test_argument_file_expansion"
"test_local_managedfile"
# flaky: teardown race on x86_64-linux
"test_remoteplace_target"
];
pytestFlags = [ "--benchmark-disable" ];