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

View file

@ -3,23 +3,24 @@
, fetchFromGitHub
, poetry-core
, pydantic
, requests
, pytestCheckHook
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "langsmith";
version = "0.0.14";
version = "0.0.24";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "langchain-ai";
repo = "langchainplus-sdk";
# there are no correct tags
# https://github.com/langchain-ai/langchainplus-sdk/issues/105
rev = "092f67222e4beabca0f51ba03f1ee028f916da63";
hash = "sha256-U8fs16Uq80EB7Ey5YuQhUKKI9DOXJWlabM5JdoDnWP0=";
repo = "langsmith-sdk";
rev = "refs/tags/v${version}";
hash = "sha256-Uv6zzSWs+Fvb0ztwgkbkZcaNJOFpt8pWh88HZHsTris=";
};
sourceRoot = "${src.name}/python";
@ -39,15 +40,18 @@ buildPythonPackage rec {
];
disabledTests = [
# these tests require network access
# These tests require network access
"integration_tests"
];
pythonImportsCheck = [ "langsmith" ];
pythonImportsCheck = [
"langsmith"
];
meta = with lib; {
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;
maintainers = with maintainers; [ natsukium ];
};