python312Packages.prometheus-client: ignore tests that fail in darwin sandbox

This commit is contained in:
Reno Dakota
2025-01-11 02:48:33 -08:00
parent 4138c1b330
commit 6b4c745a8b
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
setuptools,
@@ -32,6 +33,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "prometheus_client" ];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# fails in darwin sandbox: Operation not permitted
"test_instance_ip_grouping_key"
];
meta = with lib; {
description = "Prometheus instrumentation library for Python applications";
homepage = "https://github.com/prometheus/client_python";