Replace aiohttp-zlib-ng[isal] with aiohttp-isal (#115777)

* Replace aiohttp-zlib-ng[isal] with aiohttp-isal

The extra was causing wheel builds to fail

Since isal works on all of our supported platforms we can
always use it and drop the need for zlib-ng

https://github.com/home-assistant/core/actions/runs/8725019072

https://github.com/bdraco/aiohttp-isal

* typo
This commit is contained in:
J. Nick Koston 2024-04-17 12:46:15 -05:00 committed by GitHub
parent d4b62adfdc
commit 0a78e9d4aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ from aiohttp.typedefs import JSONDecoder, StrOrURL
from aiohttp.web_exceptions import HTTPMovedPermanently, HTTPRedirection from aiohttp.web_exceptions import HTTPMovedPermanently, HTTPRedirection
from aiohttp.web_protocol import RequestHandler from aiohttp.web_protocol import RequestHandler
from aiohttp_fast_url_dispatcher import FastUrlDispatcher, attach_fast_url_dispatcher from aiohttp_fast_url_dispatcher import FastUrlDispatcher, attach_fast_url_dispatcher
from aiohttp_zlib_ng import enable_zlib_ng from aiohttp_isal import enable_isal
from cryptography import x509 from cryptography import x509
from cryptography.hazmat.primitives import hashes, serialization from cryptography.hazmat.primitives import hashes, serialization
from cryptography.hazmat.primitives.asymmetric import rsa from cryptography.hazmat.primitives.asymmetric import rsa
@ -202,7 +202,7 @@ class ApiConfig:
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up the HTTP API and debug interface.""" """Set up the HTTP API and debug interface."""
enable_zlib_ng() enable_isal()
conf: ConfData | None = config.get(DOMAIN) conf: ConfData | None = config.get(DOMAIN)

View File

@ -4,7 +4,7 @@ aiodhcpwatcher==1.0.0
aiodiscover==2.0.0 aiodiscover==2.0.0
aiodns==3.2.0 aiodns==3.2.0
aiohttp-fast-url-dispatcher==0.3.0 aiohttp-fast-url-dispatcher==0.3.0
aiohttp-zlib-ng[isal]==0.3.1 aiohttp-isal==0.2.0
aiohttp==3.9.5 aiohttp==3.9.5
aiohttp_cors==0.7.0 aiohttp_cors==0.7.0
aiohttp_session==2.12.0 aiohttp_session==2.12.0

View File

@ -28,7 +28,7 @@ dependencies = [
"aiohttp_cors==0.7.0", "aiohttp_cors==0.7.0",
"aiohttp_session==2.12.0", "aiohttp_session==2.12.0",
"aiohttp-fast-url-dispatcher==0.3.0", "aiohttp-fast-url-dispatcher==0.3.0",
"aiohttp-zlib-ng[isal]==0.3.1", "aiohttp-isal==0.2.0",
"astral==2.2", "astral==2.2",
"async-interrupt==1.1.1", "async-interrupt==1.1.1",
"attrs==23.2.0", "attrs==23.2.0",

View File

@ -8,7 +8,7 @@ aiohttp==3.9.5
aiohttp_cors==0.7.0 aiohttp_cors==0.7.0
aiohttp_session==2.12.0 aiohttp_session==2.12.0
aiohttp-fast-url-dispatcher==0.3.0 aiohttp-fast-url-dispatcher==0.3.0
aiohttp-zlib-ng[isal]==0.3.1 aiohttp-isal==0.2.0
astral==2.2 astral==2.2
async-interrupt==1.1.1 async-interrupt==1.1.1
attrs==23.2.0 attrs==23.2.0