@@ -34,11 +34,11 @@ jobs:
34
34
architectures : ${{ steps.info.outputs.architectures }}
35
35
steps :
36
36
- name : Checkout the repository
37
- uses : actions/checkout@v4.1.7
37
+ uses : actions/checkout@v4.2.0
38
38
39
39
- name : Set up Python ${{ env.DEFAULT_PYTHON }}
40
40
id : python
41
- uses : actions/setup-python@v5.1 .0
41
+ uses : actions/setup-python@v5.2 .0
42
42
with :
43
43
python-version : ${{ env.DEFAULT_PYTHON }}
44
44
check-latest : true
48
48
python -m venv venv
49
49
. venv/bin/activate
50
50
python --version
51
- pip install "$(grep '^uv' < requirements_test .txt)"
51
+ pip install "$(grep '^uv' < requirements .txt)"
52
52
uv pip install -r requirements.txt
53
53
54
54
- name : Get information
@@ -84,14 +84,15 @@ jobs:
84
84
) > .env_file
85
85
86
86
- name : Upload env_file
87
- uses : actions/upload-artifact@v4.3.4
87
+ uses : actions/upload-artifact@v4.4.0
88
88
with :
89
89
name : env_file
90
90
path : ./.env_file
91
+ include-hidden-files : true
91
92
overwrite : true
92
93
93
94
- name : Upload requirements_diff
94
- uses : actions/upload-artifact@v4.3.4
95
+ uses : actions/upload-artifact@v4.4.0
95
96
with :
96
97
name : requirements_diff
97
98
path : ./requirements_diff.txt
@@ -103,7 +104,7 @@ jobs:
103
104
python -m script.gen_requirements_all ci
104
105
105
106
- name : Upload requirements_all_wheels
106
- uses : actions/upload-artifact@v4.3.4
107
+ uses : actions/upload-artifact@v4.4.0
107
108
with :
108
109
name : requirements_all_wheels
109
110
path : ./requirements_all_wheels_*.txt
@@ -120,7 +121,7 @@ jobs:
120
121
arch : ${{ fromJson(needs.init.outputs.architectures) }}
121
122
steps :
122
123
- name : Checkout the repository
123
- uses : actions/checkout@v4.1.7
124
+ uses : actions/checkout@v4.2.0
124
125
125
126
- name : Download env_file
126
127
@@ -132,6 +133,12 @@ jobs:
132
133
with :
133
134
name : requirements_diff
134
135
136
+ - name : Adjust build env
137
+ run : |
138
+ # Don't build wheels for uv as uv requires a greater version of rust as currently available on alpine
139
+ sed -i "/uv/d" requirements.txt
140
+ sed -i "/uv/d" requirements_diff.txt
141
+
135
142
- name : Build wheels
136
143
uses :
jethub-homeassistant/[email protected]
137
144
with :
@@ -141,7 +148,7 @@ jobs:
141
148
wheels-key : ${{ secrets.WHEELS_KEY }}
142
149
env-file : true
143
150
apk : " libffi-dev;openssl-dev;yaml-dev;nasm"
144
- skip-binary : aiohttp
151
+ skip-binary : aiohttp;multidict;yarl
145
152
constraints : " homeassistant/package_constraints.txt"
146
153
requirements-diff : " requirements_diff.txt"
147
154
requirements : " requirements.txt"
@@ -158,7 +165,7 @@ jobs:
158
165
arch : ${{ fromJson(needs.init.outputs.architectures) }}
159
166
steps :
160
167
- name : Checkout the repository
161
- uses : actions/checkout@v4.1.7
168
+ uses : actions/checkout@v4.2.0
162
169
163
170
- name : Download env_file
164
171
@@ -175,6 +182,18 @@ jobs:
175
182
with :
176
183
name : requirements_all_wheels
177
184
185
+ - name : Adjust build env
186
+ run : |
187
+ if [ "${{ matrix.arch }}" = "i386" ]; then
188
+ echo "NPY_DISABLE_SVML=1" >> .env_file
189
+ fi
190
+
191
+ # Do not pin numpy in wheels building
192
+ sed -i "/numpy/d" homeassistant/package_constraints.txt
193
+ # Don't build wheels for uv as uv requires a greater version of rust as currently available on alpine
194
+ sed -i "/uv/d" requirements.txt
195
+ sed -i "/uv/d" requirements_diff.txt
196
+
178
197
- name : Split requirements all
179
198
run : |
180
199
# We split requirements all into multiple files.
@@ -188,22 +207,11 @@ jobs:
188
207
# Some dependencies still require 'cython<3'
189
208
# and don't yet use isolated build environments.
190
209
# Build these first.
191
- # grpcio: https://github.com/grpc/grpc/issues/33918
192
210
# pydantic: https://github.com/pydantic/pydantic/issues/7689
193
211
194
212
touch requirements_old-cython.txt
195
- cat homeassistant/package_constraints.txt | grep 'grpcio==' >> requirements_old-cython.txt
196
213
cat homeassistant/package_constraints.txt | grep 'pydantic==' >> requirements_old-cython.txt
197
214
198
- - name : Adjust build env
199
- run : |
200
- if [ "${{ matrix.arch }}" = "i386" ]; then
201
- echo "NPY_DISABLE_SVML=1" >> .env_file
202
- fi
203
-
204
- # Do not pin numpy in wheels building
205
- sed -i "/numpy/d" homeassistant/package_constraints.txt
206
-
207
215
- name : Build wheels (old cython)
208
216
uses :
jethub-homeassistant/[email protected]
209
217
with :
@@ -213,7 +221,7 @@ jobs:
213
221
wheels-key : ${{ secrets.WHEELS_KEY }}
214
222
env-file : true
215
223
apk : " bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-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"
216
- skip-binary : aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf;pydantic
224
+ skip-binary : aiohttp;charset-normalizer;grpcio;multidict; SQLAlchemy;protobuf;pydantic;pymicro-vad;yarl
217
225
constraints : " homeassistant/package_constraints.txt"
218
226
requirements-diff : " requirements_diff.txt"
219
227
requirements : " requirements_old-cython.txt"
@@ -228,7 +236,7 @@ jobs:
228
236
wheels-key : ${{ secrets.WHEELS_KEY }}
229
237
env-file : true
230
238
apk : " bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-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"
231
- skip-binary : aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf;pydantic
239
+ skip-binary : aiohttp;charset-normalizer;grpcio;multidict; SQLAlchemy;protobuf;pydantic;pymicro-vad;yarl
232
240
constraints : " homeassistant/package_constraints.txt"
233
241
requirements-diff : " requirements_diff.txt"
234
242
requirements : " requirements_all.txtaa"
@@ -242,7 +250,7 @@ jobs:
242
250
wheels-key : ${{ secrets.WHEELS_KEY }}
243
251
env-file : true
244
252
apk : " bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-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"
245
- skip-binary : aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf;pydantic
253
+ skip-binary : aiohttp;charset-normalizer;grpcio;multidict; SQLAlchemy;protobuf;pydantic;pymicro-vad;yarl
246
254
constraints : " homeassistant/package_constraints.txt"
247
255
requirements-diff : " requirements_diff.txt"
248
256
requirements : " requirements_all.txtab"
@@ -256,7 +264,7 @@ jobs:
256
264
wheels-key : ${{ secrets.WHEELS_KEY }}
257
265
env-file : true
258
266
apk : " bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-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"
259
- skip-binary : aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf;pydantic
267
+ skip-binary : aiohttp;charset-normalizer;grpcio;multidict; SQLAlchemy;protobuf;pydantic;pymicro-vad;yarl
260
268
constraints : " homeassistant/package_constraints.txt"
261
269
requirements-diff : " requirements_diff.txt"
262
270
requirements : " requirements_all.txtac"
0 commit comments