Commit 7c813c9d authored by Sarah Clark's avatar Sarah Clark
Browse files

python312Packages.langsmith: 0.3.10 -> 0.3.22

parent 190060a0
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
  freezegun,
  instructor,
  pytest-asyncio,
  pytest-vcr,
  pytestCheckHook,
  uvicorn,
  attr,
@@ -29,14 +30,14 @@

buildPythonPackage rec {
  pname = "langsmith";
  version = "0.3.10";
  version = "0.3.22";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "langchain-ai";
    repo = "langsmith-sdk";
    tag = "v${version}";
    hash = "sha256-kiKauRYqKEJZaKjL2YgOCgMmuw3UgSQx9+xHOdylCAQ=";
    hash = "sha256-6KHiRwz3lR0+w1DHn1HgYK93MP9hvYFgoUvXtEogskA=";
  };

  sourceRoot = "${src.name}/python";
@@ -61,6 +62,7 @@ buildPythonPackage rec {
    freezegun
    instructor
    pytest-asyncio
    pytest-vcr
    pytestCheckHook
    uvicorn
  ] ++ lib.optionals stdenv.hostPlatform.isLinux [ attr ];
@@ -86,12 +88,14 @@ buildPythonPackage rec {
    # due to circular import
    "tests/integration_tests/test_client.py"
    "tests/integration_tests/test_prompts.py"
    "tests/unit_tests/evaluation/test_runner.py"
    "tests/unit_tests/test_client.py"
    "tests/unit_tests/evaluation/test_runner.py"
    "tests/unit_tests/evaluation/test_runner.py"
    # Tests require a Langsmith API key
    "tests/evaluation/test_evaluation.py"
    "tests/external/test_instructor_evals.py"
    # Marked as flaky in source
    "tests/unit_tests/test_run_helpers.py"
  ];

  pythonImportsCheck = [ "langsmith" ];