diff --git a/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix b/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix index c3d6fd8c3bf9..8edc6ec68659 100644 --- a/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix +++ b/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix @@ -18,14 +18,14 @@ buildPythonPackage (finalAttrs: { pname = "lance-namespace"; - version = "0.4.4"; + version = "0.4.5"; pyproject = true; src = fetchFromGitHub { owner = "lancedb"; repo = "lance-namespace"; tag = "v${finalAttrs.version}"; - hash = "sha256-aNo6rrWnnFpFk3iPX1sQsuXTDkE5ZRA/9P7TQeJr4iI="; + hash = "sha256-cUwvPPOQemusthuTMttdojqApnWL4JmCdSB5oGZCfZ8="; }; sourceRoot = "${finalAttrs.src.name}/python/lance_namespace_urllib3_client"; diff --git a/pkgs/development/python-modules/lance-namespace/default.nix b/pkgs/development/python-modules/lance-namespace/default.nix index 6853775d1816..8ec45715bb05 100644 --- a/pkgs/development/python-modules/lance-namespace/default.nix +++ b/pkgs/development/python-modules/lance-namespace/default.nix @@ -30,14 +30,14 @@ buildPythonPackage (finalAttrs: { pname = "lance-namespace"; - version = "0.4.4"; + version = "0.4.5"; pyproject = true; src = fetchFromGitHub { owner = "lancedb"; repo = "lance-namespace"; tag = "v${finalAttrs.version}"; - hash = "sha256-aNo6rrWnnFpFk3iPX1sQsuXTDkE5ZRA/9P7TQeJr4iI="; + hash = "sha256-cUwvPPOQemusthuTMttdojqApnWL4JmCdSB5oGZCfZ8="; }; sourceRoot = "${finalAttrs.src.name}/python/lance_namespace"; diff --git a/pkgs/development/python-modules/lancedb/default.nix b/pkgs/development/python-modules/lancedb/default.nix index 67e143c824a1..0726bc273cb7 100644 --- a/pkgs/development/python-modules/lancedb/default.nix +++ b/pkgs/development/python-modules/lancedb/default.nix @@ -40,7 +40,7 @@ nix-update-script, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "lancedb"; version = "0.26.1"; pyproject = true; @@ -48,14 +48,14 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "lancedb"; repo = "lancedb"; - tag = "python-v${version}"; + tag = "python-v${finalAttrs.version}"; hash = "sha256-yx4cwO7qRH9/1rW0UFz17HkvJ8utJynYoAHnN+wPpKw="; }; buildAndTestSubdir = "python"; cargoDeps = rustPlatform.fetchCargoVendor { - inherit pname version src; + inherit (finalAttrs) pname version src; hash = "sha256-ymoA/KKL7oLgp5u/NcXxbYfOueiKH+bpLxLcO+mn0Eo="; }; @@ -139,8 +139,8 @@ buildPythonPackage rec { meta = { description = "Developer-friendly, serverless vector database for AI applications"; homepage = "https://github.com/lancedb/lancedb"; - changelog = "https://github.com/lancedb/lancedb/releases/tag/python-v${version}"; + changelog = "https://github.com/lancedb/lancedb/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ natsukium ]; }; -} +}) diff --git a/pkgs/development/python-modules/pylance/default.nix b/pkgs/development/python-modules/pylance/default.nix index fedf0cade6e5..d7f296181967 100644 --- a/pkgs/development/python-modules/pylance/default.nix +++ b/pkgs/development/python-modules/pylance/default.nix @@ -32,7 +32,7 @@ tqdm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pylance"; version = "1.0.1"; pyproject = true; @@ -40,14 +40,14 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "lancedb"; repo = "lance"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-S/zVpsfoQG9NYnJyAJm+a0LllVE/lfaCua+NA9DGIsw="; }; - sourceRoot = "${src.name}/python"; + sourceRoot = "${finalAttrs.src.name}/python"; cargoDeps = rustPlatform.fetchCargoVendor { - inherit + inherit (finalAttrs) pname version src @@ -96,7 +96,7 @@ buildPythonPackage rec { pytestCheckHook tqdm ] - ++ optional-dependencies.torch; + ++ finalAttrs.passthru.optional-dependencies.torch; preCheck = '' cd python/tests @@ -155,8 +155,8 @@ buildPythonPackage rec { meta = { description = "Python wrapper for Lance columnar format"; homepage = "https://github.com/lancedb/lance"; - changelog = "https://github.com/lancedb/lance/releases/tag/v${version}"; + changelog = "https://github.com/lancedb/lance/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ natsukium ]; }; -} +})