python3Packages.llm-ollama: 0.8.2 -> 0.9.1

Diff: https://github.com/taketwo/llm-ollama/compare/0.8.2...0.9.1
Changelog: https://github.com/taketwo/llm-ollama/releases/tag/0.9.1

Also add pytest-asyncio so we don't have to disable tests.
This commit is contained in:
Dionysis Grigoropoulos
2025-03-18 14:24:09 +02:00
parent cc46ba94b5
commit 2b77c05acc
@@ -15,18 +15,20 @@
# tests
pytestCheckHook,
pytest-asyncio,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "llm-ollama";
version = "0.8.2";
version = "0.9.1";
pyproject = true;
src = fetchFromGitHub {
owner = "taketwo";
repo = "llm-ollama";
tag = version;
hash = "sha256-/WAugfkI4izIQ7PoKM9epd/4vFxYPvsiwDbEqqTdMq4=";
hash = "sha256-NAJ0tfGRQOxYVAi2X0AI2d9+wyUS3ro1bfMSViZjaR0=";
};
build-system = [
@@ -43,14 +45,8 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
];
# These tests try to access the filesystem and fail
disabledTests = [
"test_registered_model"
"test_registered_chat_models"
"test_registered_embedding_models"
"test_registered_models_when_ollama_is_down"
pytest-asyncio
writableTmpDirAsHomeHook
];
pythonImportsCheck = [