mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-08-13 11:09:21 +00:00
Compare commits
2 Commits
2024.12.1
...
faster_bac
Author | SHA1 | Date | |
---|---|---|---|
![]() |
af3256e41e | ||
![]() |
a163121ad4 |
2
.github/workflows/builder.yml
vendored
2
.github/workflows/builder.yml
vendored
@@ -138,7 +138,7 @@ jobs:
|
|||||||
- name: Install dirhash and calc hash
|
- name: Install dirhash and calc hash
|
||||||
if: needs.init.outputs.publish == 'true'
|
if: needs.init.outputs.publish == 'true'
|
||||||
run: |
|
run: |
|
||||||
pip3 install dirhash
|
pip3 install setuptools dirhash
|
||||||
dir_hash="$(dirhash "${{ github.workspace }}/supervisor" -a sha256 --match "*.py")"
|
dir_hash="$(dirhash "${{ github.workspace }}/supervisor" -a sha256 --match "*.py")"
|
||||||
echo "${dir_hash}" > rootfs/supervisor.sha256
|
echo "${dir_hash}" > rootfs/supervisor.sha256
|
||||||
|
|
||||||
|
@@ -23,6 +23,8 @@ pyudev==0.24.1
|
|||||||
PyYAML==6.0.1
|
PyYAML==6.0.1
|
||||||
securetar==2023.12.0
|
securetar==2023.12.0
|
||||||
sentry-sdk==1.39.2
|
sentry-sdk==1.39.2
|
||||||
|
setuptools==69.0.3
|
||||||
voluptuous==0.14.1
|
voluptuous==0.14.1
|
||||||
dbus-fast==2.21.0
|
dbus-fast==2.21.0
|
||||||
typing_extensions==4.9.0
|
typing_extensions==4.9.0
|
||||||
|
zlib-fast==0.1.0
|
||||||
|
@@ -5,8 +5,13 @@ import logging
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from supervisor import bootstrap
|
import zlib_fast
|
||||||
from supervisor.utils.logging import activate_log_queue_handler
|
|
||||||
|
# Enable fast zlib before importing supervisor
|
||||||
|
zlib_fast.enable()
|
||||||
|
|
||||||
|
from supervisor import bootstrap # noqa: E402
|
||||||
|
from supervisor.utils.logging import activate_log_queue_handler # noqa: E402
|
||||||
|
|
||||||
_LOGGER: logging.Logger = logging.getLogger(__name__)
|
_LOGGER: logging.Logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user