From f7421375b638be5cf2d82a34141fef2976a37114 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 8 May 2025 23:25:07 +0200 Subject: [PATCH] python312Packages.posthog: unbreak, remove broken test --- pkgs/development/python-modules/posthog/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/posthog/default.nix b/pkgs/development/python-modules/posthog/default.nix index b04e5c841849..032cb278bd3e 100644 --- a/pkgs/development/python-modules/posthog/default.nix +++ b/pkgs/development/python-modules/posthog/default.nix @@ -62,11 +62,17 @@ buildPythonPackage rec { "test_flush_interval" ]; - meta = with lib; { + disabledTestPaths = [ + # Revisit this at the next version bump, issue open upstream + # See https://github.com/PostHog/posthog-python/issues/234 + "posthog/test/ai/openai/test_openai.py" + ]; + + meta = { description = "Module for interacting with PostHog"; homepage = "https://github.com/PostHog/posthog-python"; changelog = "https://github.com/PostHog/posthog-python/blob/${src.tag}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ happysalada ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ happysalada ]; }; }