From e1cec3f973adbd35107df85f1fbf78ea99d6377e Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 8 Jan 2026 16:20:05 -0800 Subject: [PATCH 1/3] python3Packages.langfuse: apply finalAttrs fix --- pkgs/development/python-modules/langfuse/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/langfuse/default.nix b/pkgs/development/python-modules/langfuse/default.nix index 13040be3fbb6..b6a7faaa5897 100644 --- a/pkgs/development/python-modules/langfuse/default.nix +++ b/pkgs/development/python-modules/langfuse/default.nix @@ -19,7 +19,7 @@ wrapt, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "langfuse"; version = "3.11.0"; pyproject = true; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "langfuse"; repo = "langfuse-python"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-3hL29Gu1lonkWAOyTqH2q03joXwVQimbVF0R2nYZUIs="; }; @@ -63,8 +63,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 ]; }; -} +}) From 7ac1ac2845aaff53ffd4ca2608393e1ce5586449 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 8 Jan 2026 16:13:30 -0800 Subject: [PATCH 2/3] python3Packages.langfuse: 3.11.0 -> 3.11.2 CHANGELOG: https://github.com/langfuse/langfuse-python/releases/tag/v3.11.2 DIFF: https://github.com/langfuse/langfuse-python/compare/v3.11.0...v3.11.2 --- pkgs/development/python-modules/langfuse/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langfuse/default.nix b/pkgs/development/python-modules/langfuse/default.nix index b6a7faaa5897..9a0f81683c93 100644 --- a/pkgs/development/python-modules/langfuse/default.nix +++ b/pkgs/development/python-modules/langfuse/default.nix @@ -21,14 +21,14 @@ buildPythonPackage (finalAttrs: { pname = "langfuse"; - version = "3.11.0"; + version = "3.11.2"; pyproject = true; src = fetchFromGitHub { owner = "langfuse"; repo = "langfuse-python"; tag = "v${finalAttrs.version}"; - hash = "sha256-3hL29Gu1lonkWAOyTqH2q03joXwVQimbVF0R2nYZUIs="; + hash = "sha256-CZa1nzgGHQSx/cPkOxbDsfkWpgr/veWRN8zgHeYrJOw="; }; build-system = [ poetry-core ]; From 397d17c28932cae3ccde8440fbab9b450fad22ae Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 8 Jan 2026 16:16:31 -0800 Subject: [PATCH 3/3] python3Packages.langfuse: disable on python 3.14 --- pkgs/development/python-modules/langfuse/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/langfuse/default.nix b/pkgs/development/python-modules/langfuse/default.nix index 9a0f81683c93..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, @@ -31,6 +32,9 @@ buildPythonPackage (finalAttrs: { hash = "sha256-CZa1nzgGHQSx/cPkOxbDsfkWpgr/veWRN8zgHeYrJOw="; }; + # https://github.com/langfuse/langfuse/issues/9618 + disabled = pythonAtLeast "3.14"; + build-system = [ poetry-core ]; pythonRelaxDeps = [ "packaging" ];