mirror of
https://github.com/home-assistant/core.git
synced 2025-12-23 00:08:50 +00:00
Compare commits
3 Commits
schedule/a
...
edenhaus-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e29def52f | ||
|
|
fe3adf8c60 | ||
|
|
074e272ccf |
145
.github/workflows/wheels.yml
vendored
145
.github/workflows/wheels.yml
vendored
@@ -24,85 +24,9 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
init:
|
|
||||||
name: Initialize wheels builder
|
|
||||||
if: github.repository_owner == 'home-assistant'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- &checkout
|
|
||||||
name: Checkout the repository
|
|
||||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
||||||
|
|
||||||
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
|
|
||||||
id: python
|
|
||||||
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.DEFAULT_PYTHON }}
|
|
||||||
check-latest: true
|
|
||||||
|
|
||||||
- name: Create Python virtual environment
|
|
||||||
run: |
|
|
||||||
python -m venv venv
|
|
||||||
. venv/bin/activate
|
|
||||||
python --version
|
|
||||||
pip install "$(grep '^uv' < requirements.txt)"
|
|
||||||
uv pip install -r requirements.txt
|
|
||||||
|
|
||||||
- name: Create requirements_diff file
|
|
||||||
run: |
|
|
||||||
if [[ ${{ github.event_name }} =~ (schedule|workflow_dispatch) ]]; then
|
|
||||||
touch requirements_diff.txt
|
|
||||||
else
|
|
||||||
curl -s -o requirements_diff.txt https://raw.githubusercontent.com/home-assistant/core/master/requirements.txt
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Write env-file
|
|
||||||
run: |
|
|
||||||
(
|
|
||||||
echo "GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true"
|
|
||||||
echo "GRPC_PYTHON_BUILD_WITH_CYTHON=true"
|
|
||||||
|
|
||||||
# Fix out of memory issues with rust
|
|
||||||
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true"
|
|
||||||
|
|
||||||
# OpenCV headless installation
|
|
||||||
echo "CI_BUILD=1"
|
|
||||||
echo "ENABLE_HEADLESS=1"
|
|
||||||
|
|
||||||
# Use C-Extension for SQLAlchemy
|
|
||||||
echo "REQUIRE_SQLALCHEMY_CEXT=1"
|
|
||||||
) > .env_file
|
|
||||||
|
|
||||||
- name: Upload env_file
|
|
||||||
uses: &actions-upload-artifact actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
|
||||||
with:
|
|
||||||
name: env_file
|
|
||||||
path: ./.env_file
|
|
||||||
include-hidden-files: true
|
|
||||||
overwrite: true
|
|
||||||
|
|
||||||
- name: Upload requirements_diff
|
|
||||||
uses: *actions-upload-artifact
|
|
||||||
with:
|
|
||||||
name: requirements_diff
|
|
||||||
path: ./requirements_diff.txt
|
|
||||||
overwrite: true
|
|
||||||
|
|
||||||
- name: Generate requirements
|
|
||||||
run: |
|
|
||||||
. venv/bin/activate
|
|
||||||
python -m script.gen_requirements_all ci
|
|
||||||
|
|
||||||
- name: Upload requirements_all_wheels
|
|
||||||
uses: *actions-upload-artifact
|
|
||||||
with:
|
|
||||||
name: requirements_all_wheels
|
|
||||||
path: ./requirements_all_wheels_*.txt
|
|
||||||
|
|
||||||
core:
|
core:
|
||||||
name: Build Core wheels ${{ matrix.abi }} for ${{ matrix.arch }} (musllinux_1_2)
|
name: Build Core wheels ${{ matrix.abi }} for ${{ matrix.arch }} (musllinux_1_2)
|
||||||
if: github.repository_owner == 'home-assistant'
|
if: github.repository_owner == 'home-assistant'
|
||||||
needs: init
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -115,25 +39,8 @@ jobs:
|
|||||||
- arch: aarch64
|
- arch: aarch64
|
||||||
os: ubuntu-24.04-arm
|
os: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
- *checkout
|
- name: Checkout the repository
|
||||||
|
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
||||||
- &download-env-file
|
|
||||||
name: Download env_file
|
|
||||||
uses: &actions-download-artifact actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: env_file
|
|
||||||
|
|
||||||
- &download-requirements-diff
|
|
||||||
name: Download requirements_diff
|
|
||||||
uses: *actions-download-artifact
|
|
||||||
with:
|
|
||||||
name: requirements_diff
|
|
||||||
|
|
||||||
- name: Adjust build env
|
|
||||||
run: |
|
|
||||||
# Don't build wheels for uv as uv requires a greater version of rust as currently available on alpine
|
|
||||||
sed -i "/uv/d" requirements.txt
|
|
||||||
sed -i "/uv/d" requirements_diff.txt
|
|
||||||
|
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
uses: &home-assistant-wheels home-assistant/wheels@6066c17a2a4aafcf7bdfeae01717f63adfcdba98 # 2025.11.0
|
uses: &home-assistant-wheels home-assistant/wheels@6066c17a2a4aafcf7bdfeae01717f63adfcdba98 # 2025.11.0
|
||||||
@@ -142,51 +49,5 @@ jobs:
|
|||||||
tag: musllinux_1_2
|
tag: musllinux_1_2
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
wheels-key: ${{ secrets.WHEELS_KEY }}
|
wheels-key: ${{ secrets.WHEELS_KEY }}
|
||||||
env-file: true
|
apk: "mariadb-dev;postgresql-dev;libffi-dev"
|
||||||
apk: "libffi-dev;openssl-dev;yaml-dev;nasm;zlib-ng-dev"
|
|
||||||
skip-binary: aiohttp;multidict;propcache;yarl;SQLAlchemy
|
|
||||||
constraints: "homeassistant/package_constraints.txt"
|
|
||||||
requirements-diff: "requirements_diff.txt"
|
|
||||||
requirements: "requirements.txt"
|
requirements: "requirements.txt"
|
||||||
|
|
||||||
integrations:
|
|
||||||
name: Build wheels ${{ matrix.abi }} for ${{ matrix.arch }}
|
|
||||||
if: github.repository_owner == 'home-assistant'
|
|
||||||
needs: init
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix: *matrix-build
|
|
||||||
steps:
|
|
||||||
- *checkout
|
|
||||||
|
|
||||||
- *download-env-file
|
|
||||||
|
|
||||||
- *download-requirements-diff
|
|
||||||
|
|
||||||
- name: Download requirements_all_wheels
|
|
||||||
uses: *actions-download-artifact
|
|
||||||
with:
|
|
||||||
name: requirements_all_wheels
|
|
||||||
|
|
||||||
- name: Adjust build env
|
|
||||||
run: |
|
|
||||||
# Do not pin numpy in wheels building
|
|
||||||
sed -i "/numpy/d" homeassistant/package_constraints.txt
|
|
||||||
# Don't build wheels for uv as uv requires a greater version of rust as currently available on alpine
|
|
||||||
sed -i "/uv/d" requirements.txt
|
|
||||||
sed -i "/uv/d" requirements_diff.txt
|
|
||||||
|
|
||||||
- name: Build wheels
|
|
||||||
uses: *home-assistant-wheels
|
|
||||||
with:
|
|
||||||
abi: ${{ matrix.abi }}
|
|
||||||
tag: musllinux_1_2
|
|
||||||
arch: ${{ matrix.arch }}
|
|
||||||
wheels-key: ${{ secrets.WHEELS_KEY }}
|
|
||||||
env-file: true
|
|
||||||
apk: "bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;uchardet-dev;nasm;zlib-ng-dev"
|
|
||||||
skip-binary: aiohttp;charset-normalizer;grpcio;multidict;SQLAlchemy;propcache;protobuf;pymicro-vad;yarl
|
|
||||||
constraints: "homeassistant/package_constraints.txt"
|
|
||||||
requirements-diff: "requirements_diff.txt"
|
|
||||||
requirements: "requirements_all.txt"
|
|
||||||
|
|||||||
55
requirements.txt
generated
55
requirements.txt
generated
@@ -1,55 +1,8 @@
|
|||||||
# Automatically generated by gen_requirements_all.py, do not edit
|
# Automatically generated by gen_requirements_all.py, do not edit
|
||||||
|
|
||||||
-c homeassistant/package_constraints.txt
|
|
||||||
|
|
||||||
# Home Assistant Core
|
Brotli==1.2.0
|
||||||
aiodns==3.5.0
|
faust-cchardet==2.1.19
|
||||||
aiohasupervisor==0.3.3
|
mysqlclient==2.2.7
|
||||||
aiohttp==3.13.2
|
psycopg2==2.9.11
|
||||||
aiohttp_cors==0.8.1
|
|
||||||
aiohttp-fast-zlib==0.3.0
|
|
||||||
aiohttp-asyncmdnsresolver==0.1.1
|
|
||||||
aiozoneinfo==0.2.3
|
|
||||||
annotatedyaml==1.0.2
|
|
||||||
astral==2.2
|
|
||||||
async-interrupt==1.2.2
|
|
||||||
attrs==25.4.0
|
|
||||||
atomicwrites-homeassistant==1.4.1
|
|
||||||
audioop-lts==0.2.1
|
|
||||||
awesomeversion==25.8.0
|
|
||||||
bcrypt==5.0.0
|
|
||||||
certifi>=2021.5.30
|
|
||||||
ciso8601==2.3.3
|
|
||||||
cronsim==2.7
|
|
||||||
fnv-hash-fast==1.6.0
|
|
||||||
hass-nabucasa==1.6.1
|
|
||||||
httpx==0.28.1
|
|
||||||
home-assistant-bluetooth==1.13.1
|
|
||||||
ifaddr==0.2.0
|
|
||||||
Jinja2==3.1.6
|
|
||||||
lru-dict==1.3.0
|
|
||||||
PyJWT==2.10.1
|
|
||||||
cryptography==46.0.2
|
|
||||||
Pillow==12.0.0
|
|
||||||
propcache==0.4.1
|
|
||||||
pyOpenSSL==25.3.0
|
|
||||||
orjson==3.11.3
|
|
||||||
packaging>=23.1
|
|
||||||
psutil-home-assistant==0.0.1
|
|
||||||
python-slugify==8.0.4
|
|
||||||
PyYAML==6.0.3
|
|
||||||
requests==2.32.5
|
|
||||||
securetar==2025.2.1
|
|
||||||
SQLAlchemy==2.0.41
|
|
||||||
standard-aifc==3.13.0
|
|
||||||
standard-telnetlib==3.13.0
|
|
||||||
typing-extensions>=4.15.0,<5.0
|
|
||||||
ulid-transform==1.5.2
|
|
||||||
urllib3>=2.0
|
|
||||||
uv==0.9.6
|
uv==0.9.6
|
||||||
voluptuous==0.15.2
|
|
||||||
voluptuous-serialize==2.7.0
|
|
||||||
voluptuous-openapi==0.1.0
|
|
||||||
yarl==1.22.0
|
|
||||||
webrtc-models==0.3.0
|
|
||||||
zeroconf==0.148.0
|
|
||||||
|
|||||||
Reference in New Issue
Block a user