diff --git a/homeassistant/components/compensation/manifest.json b/homeassistant/components/compensation/manifest.json index 5b256b28690c..4de2a39ec325 100644 --- a/homeassistant/components/compensation/manifest.json +++ b/homeassistant/components/compensation/manifest.json @@ -5,5 +5,5 @@ "documentation": "https://www.home-assistant.io/integrations/compensation", "iot_class": "calculated", "quality_scale": "legacy", - "requirements": ["numpy==2.5.2"] + "requirements": ["numpy==2.3.2"] } diff --git a/homeassistant/components/iqvia/manifest.json b/homeassistant/components/iqvia/manifest.json index b4977a5de2cc..48a89f5a96a4 100644 --- a/homeassistant/components/iqvia/manifest.json +++ b/homeassistant/components/iqvia/manifest.json @@ -7,5 +7,5 @@ "integration_type": "service", "iot_class": "cloud_polling", "loggers": ["pyiqvia"], - "requirements": ["numpy==2.5.2", "pyiqvia==2022.04.0"] + "requirements": ["numpy==2.3.2", "pyiqvia==2022.04.0"] } diff --git a/homeassistant/components/stream/core.py b/homeassistant/components/stream/core.py index 1203d8b66563..3a3d9f9a75cf 100644 --- a/homeassistant/components/stream/core.py +++ b/homeassistant/components/stream/core.py @@ -484,7 +484,7 @@ class KeyFrameConverter: @staticmethod def transform_image(image: np.ndarray, orientation: int) -> np.ndarray: """Transform image to a given orientation.""" - return TRANSFORM_IMAGE_FUNCTION[orientation](image) # type: ignore[no-any-return] + return TRANSFORM_IMAGE_FUNCTION[orientation](image) def _generate_image(self, width: int | None, height: int | None) -> None: """Generate the keyframe image. diff --git a/homeassistant/components/stream/manifest.json b/homeassistant/components/stream/manifest.json index 664e6097691a..b9cc560699d4 100644 --- a/homeassistant/components/stream/manifest.json +++ b/homeassistant/components/stream/manifest.json @@ -7,5 +7,5 @@ "integration_type": "system", "iot_class": "local_push", "quality_scale": "internal", - "requirements": ["PyTurboJPEG==1.8.3", "av==17.0.1", "numpy==2.5.2"] + "requirements": ["PyTurboJPEG==1.8.3", "av==17.0.1", "numpy==2.3.2"] } diff --git a/homeassistant/components/trend/manifest.json b/homeassistant/components/trend/manifest.json index 05a248e1527d..39ed17a3fbaf 100644 --- a/homeassistant/components/trend/manifest.json +++ b/homeassistant/components/trend/manifest.json @@ -8,5 +8,5 @@ "integration_type": "helper", "iot_class": "calculated", "quality_scale": "internal", - "requirements": ["numpy==2.5.2"] + "requirements": ["numpy==2.3.2"] } diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 442147c9161b..71314c61d38d 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -130,7 +130,7 @@ httpcore==1.0.9 hyperframe>=5.2.0 # Ensure we run compatible with musllinux build env -numpy==2.5.2 +numpy==2.3.2 pandas==2.3.3 # Constrain multidict to avoid typing issues diff --git a/requirements_all.txt b/requirements_all.txt index 854200a70a3b..5b3d93d7cd7b 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1755,7 +1755,7 @@ numato-gpio==0.13.0 # homeassistant.components.iqvia # homeassistant.components.stream # homeassistant.components.trend -numpy==2.5.2 +numpy==2.3.2 # homeassistant.components.nyt_games nyt_games==0.5.0 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index e532f8f1e2fd..5304b2be7fbe 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -114,7 +114,7 @@ httpcore==1.0.9 hyperframe>=5.2.0 # Ensure we run compatible with musllinux build env -numpy==2.5.2 +numpy==2.3.2 pandas==2.3.3 # Constrain multidict to avoid typing issues diff --git a/script/licenses.py b/script/licenses.py index e21e44adf8a6..6603b643e01c 100644 --- a/script/licenses.py +++ b/script/licenses.py @@ -192,8 +192,6 @@ EXCEPTIONS = { "ld2410-ble", # https://github.com/930913/ld2410-ble/pull/7 "maxcube-api", # https://github.com/uebelack/python-maxcube-api/pull/48 "neurio", # https://github.com/jordanh/neurio-python/pull/13 - # numpy: BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0 - "numpy", # CC0-1.0 is not OSI approved "nsw-fuel-api-client", # https://github.com/nickw444/nsw-fuel-api-client/pull/14 "pigpio", # https://github.com/joan2937/pigpio/pull/608 "pymitv", # MIT