python3Packages.prometheus-flask-exporter: skip test that breaks under prometheus-client 0.24 (#518679)

This commit is contained in:
Michael Daniels
2026-05-16 23:50:30 +00:00
committed by GitHub
@@ -27,6 +27,8 @@ buildPythonPackage rec {
prometheus-client
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "tests/" ];
@@ -34,6 +36,8 @@ buildPythonPackage rec {
disabledTests = [
# AssertionError
"test_group_by_lambda_is_not_supported"
# prometheus-client 0.24 moved CONTENT_TYPE_LATEST to version=1.0.0 while choose_encoder still defaults to 0.0.4
"test_default_format"
];
meta = {