Revert numpy back to 2.3.2 (#180411)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Erwin Douna
2026-08-28 20:05:36 +02:00
committed by GitHub
co-authored by Franck Nijhof
parent 99fca0d2c3
commit 64bf6930aa
9 changed files with 8 additions and 10 deletions
@@ -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"]
}
+1 -1
View File
@@ -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"]
}
+1 -1
View File
@@ -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.
@@ -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"]
}
+1 -1
View File
@@ -8,5 +8,5 @@
"integration_type": "helper",
"iot_class": "calculated",
"quality_scale": "internal",
"requirements": ["numpy==2.5.2"]
"requirements": ["numpy==2.3.2"]
}
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
-2
View File
@@ -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