Merge pull request #249977 from fabaff/langsmith-bump

python311Packages.langsmith: 0.0.14 -> 0.0.24
This commit is contained in:
OTABI Tomoya 2023-08-19 09:17:21 +09:00 committed by GitHub
commit 2f9286912c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 13 deletions

View file

@ -85,7 +85,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain"; pname = "langchain";
version = "0.0.263"; version = "0.0.268";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -94,7 +94,7 @@ buildPythonPackage rec {
owner = "hwchase17"; owner = "hwchase17";
repo = "langchain"; repo = "langchain";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-/ReuUVSVO/JqfXFmGU/Yk5GAzmSuJvnr8zOTw3qLZvQ="; hash = "sha256-x5cYtOY91JpW3vV7Q6JNNRoTFKGMu93TqBAhnhQ6pHE=";
}; };
sourceRoot = "${src.name}/libs/langchain"; sourceRoot = "${src.name}/libs/langchain";

View file

@ -3,23 +3,24 @@
, fetchFromGitHub , fetchFromGitHub
, poetry-core , poetry-core
, pydantic , pydantic
, requests
, pytestCheckHook
, pytest-asyncio , pytest-asyncio
, pytestCheckHook
, pythonOlder
, requests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "langsmith"; pname = "langsmith";
version = "0.0.14"; version = "0.0.24";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "langchain-ai"; owner = "langchain-ai";
repo = "langchainplus-sdk"; repo = "langsmith-sdk";
# there are no correct tags rev = "refs/tags/v${version}";
# https://github.com/langchain-ai/langchainplus-sdk/issues/105 hash = "sha256-Uv6zzSWs+Fvb0ztwgkbkZcaNJOFpt8pWh88HZHsTris=";
rev = "092f67222e4beabca0f51ba03f1ee028f916da63";
hash = "sha256-U8fs16Uq80EB7Ey5YuQhUKKI9DOXJWlabM5JdoDnWP0=";
}; };
sourceRoot = "${src.name}/python"; sourceRoot = "${src.name}/python";
@ -39,15 +40,18 @@ buildPythonPackage rec {
]; ];
disabledTests = [ disabledTests = [
# these tests require network access # These tests require network access
"integration_tests" "integration_tests"
]; ];
pythonImportsCheck = [ "langsmith" ]; pythonImportsCheck = [
"langsmith"
];
meta = with lib; { meta = with lib; {
description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform"; description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform";
homepage = "https://github.com/langchain-ai/langchainplus-sdk"; homepage = "https://github.com/langchain-ai/langsmith-sdk";
changelog = "https://github.com/langchain-ai/langsmith-sdk/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ natsukium ]; maintainers = with maintainers; [ natsukium ];
}; };