python3Packages.llm-anthropic: 0.14.1 -> 0.15.1 (#391000)

This commit is contained in:
Austin Horstman
2025-03-21 23:56:48 -05:00
committed by GitHub
@@ -9,19 +9,19 @@
pytestCheckHook,
pytest-asyncio,
pytest-recording,
nix-update-script,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "llm-anthropic";
version = "0.14.1";
version = "0.15.1";
pyproject = true;
src = fetchFromGitHub {
owner = "simonw";
repo = "llm-anthropic";
tag = version;
hash = "sha256-tKgcag8sBJA4QWunaFyZxkZH0mtc0SS17104YuX1Kac=";
hash = "sha256-8bVs3MJteOTCiw7n/4pMf+oXMhsQbCSzUFVQqm2ezcE=";
};
build-system = [
@@ -30,22 +30,15 @@ buildPythonPackage rec {
];
dependencies = [ anthropic ];
# Otherwise tests will fail to create directory
# Permission denied: '/homeless-shelter'
preCheck = ''
export HOME=$(mktemp -d)
'';
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-recording
writableTmpDirAsHomeHook
];
pythonImportsCheck = [ "llm_anthropic" ];
passthru.updateScript = nix-update-script { };
passthru.tests = {
llm-plugin = callPackage ./tests/llm-plugin.nix { };
};