Switch out aiohttp-isal for aiohttp-fast-zlib to make isal optional (#116814)

* Switch out aiohttp-isal for aiohttp-fast-zlib to make isal optional

aiohttp-isal does not work on core installs where the system has 32bit userland and a 64bit kernel because we have no way to detect this configuration or handle it.

fixes #116681

* Update homeassistant/components/isal/manifest.json

* Update homeassistant/components/isal/manifest.json

* hassfest

* isal

* fixes

* Apply suggestions from code review

* make sure isal is updated before http

* fix tests

* late import
This commit is contained in:
J. Nick Koston 2024-05-05 16:06:12 -05:00 committed by GitHub
parent 092a2de340
commit 673bbc1372
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 62 additions and 9 deletions

View file

@ -0,0 +1,20 @@
"""The isal integration."""
from __future__ import annotations
from homeassistant.core import HomeAssistant
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.typing import ConfigType
DOMAIN = "isal"
CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up up isal.
This integration is only used so that isal can be an optional
dep for aiohttp-fast-zlib.
"""
return True

View file

@ -0,0 +1,10 @@
{
"domain": "isal",
"name": "Intelligent Storage Acceleration",
"codeowners": ["@bdraco"],
"documentation": "https://www.home-assistant.io/integrations/isal",
"integration_type": "system",
"iot_class": "local_polling",
"quality_scale": "internal",
"requirements": ["isal==1.6.1"]
}