python312Packages.prometheus-client: ignore tests that fail in darwin sandbox (#370974)

This commit is contained in:
Sandro
2025-01-15 20:43:52 +01:00
committed by GitHub
@@ -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";