From 39f687e3a3c51ea8954784dd4abbe8207ccc2fb2 Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 2 Jun 2025 13:43:00 -0700 Subject: [PATCH] Bump ollama to 0.5.1 (#146063) * Bump ollama to 0.5.1 * Add ollama to license exceptions --- homeassistant/components/ollama/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- script/hassfest/requirements.py | 4 ---- script/licenses.py | 1 + 5 files changed, 4 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/ollama/manifest.json b/homeassistant/components/ollama/manifest.json index c3f7616ca16..87713ce3f62 100644 --- a/homeassistant/components/ollama/manifest.json +++ b/homeassistant/components/ollama/manifest.json @@ -8,5 +8,5 @@ "documentation": "https://www.home-assistant.io/integrations/ollama", "integration_type": "service", "iot_class": "local_polling", - "requirements": ["ollama==0.4.7"] + "requirements": ["ollama==0.5.1"] } diff --git a/requirements_all.txt b/requirements_all.txt index 00de8fd1590..77a69f7dbe5 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1572,7 +1572,7 @@ oemthermostat==1.1.1 ohme==1.5.1 # homeassistant.components.ollama -ollama==0.4.7 +ollama==0.5.1 # homeassistant.components.omnilogic omnilogic==0.4.5 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index c3a604264e7..2227dfbcd4b 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1334,7 +1334,7 @@ odp-amsterdam==6.1.1 ohme==1.5.1 # homeassistant.components.ollama -ollama==0.4.7 +ollama==0.5.1 # homeassistant.components.omnilogic omnilogic==0.4.5 diff --git a/script/hassfest/requirements.py b/script/hassfest/requirements.py index 8377478876c..ebe29c59f59 100644 --- a/script/hassfest/requirements.py +++ b/script/hassfest/requirements.py @@ -49,10 +49,6 @@ PACKAGE_CHECK_VERSION_RANGE_EXCEPTIONS: dict[str, dict[str, set[str]]] = { # https://github.com/joostlek/python-mealie/pull/490 "aiomealie": {"awesomeversion"} }, - "ollama": { - # https://github.com/ollama/ollama-python/pull/445 (not yet released) - "ollama": {"httpx"} - }, } PACKAGE_REGEX = re.compile( diff --git a/script/licenses.py b/script/licenses.py index 9932e61b080..c3b9399d6b8 100644 --- a/script/licenses.py +++ b/script/licenses.py @@ -196,6 +196,7 @@ EXCEPTIONS = { "maxcube-api", # https://github.com/uebelack/python-maxcube-api/pull/48 "neurio", # https://github.com/jordanh/neurio-python/pull/13 "nsw-fuel-api-client", # https://github.com/nickw444/nsw-fuel-api-client/pull/14 + "ollama", # https://github.com/ollama/ollama-python/pull/526 "pigpio", # https://github.com/joan2937/pigpio/pull/608 "pymitv", # MIT "pybbox", # https://github.com/HydrelioxGitHub/pybbox/pull/5