diff --git a/pkgs/development/python-modules/langfuse/default.nix b/pkgs/development/python-modules/langfuse/default.nix index 13040be3fbb6..9527031f45cb 100644 --- a/pkgs/development/python-modules/langfuse/default.nix +++ b/pkgs/development/python-modules/langfuse/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + pythonAtLeast, anyio, backoff, httpx, @@ -19,18 +20,21 @@ wrapt, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "langfuse"; - version = "3.11.0"; + version = "3.11.2"; pyproject = true; src = fetchFromGitHub { owner = "langfuse"; repo = "langfuse-python"; - tag = "v${version}"; - hash = "sha256-3hL29Gu1lonkWAOyTqH2q03joXwVQimbVF0R2nYZUIs="; + tag = "v${finalAttrs.version}"; + hash = "sha256-CZa1nzgGHQSx/cPkOxbDsfkWpgr/veWRN8zgHeYrJOw="; }; + # https://github.com/langfuse/langfuse/issues/9618 + disabled = pythonAtLeast "3.14"; + build-system = [ poetry-core ]; pythonRelaxDeps = [ "packaging" ]; @@ -63,8 +67,8 @@ buildPythonPackage rec { meta = { description = "Instrument your LLM app with decorators or low-level SDK and get detailed tracing/observability"; homepage = "https://github.com/langfuse/langfuse-python"; - changelog = "https://github.com/langfuse/langfuse-python/releases/tag/${src.tag}"; + changelog = "https://github.com/langfuse/langfuse-python/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; }; -} +})