Skip to content

Commit 102bb1f

Browse files
authored
Remove deprecated archs (home-assistant#156414)
1 parent e5b2d44 commit 102bb1f

File tree

7 files changed

+1
-75
lines changed

7 files changed

+1
-75
lines changed

.github/workflows/builder.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ jobs:
8888
fail-fast: false
8989
matrix:
9090
arch: ${{ fromJson(needs.init.outputs.architectures) }}
91-
exclude:
92-
- arch: armv7
93-
- arch: armhf
94-
- arch: i386
9591
steps:
9692
- name: Checkout the repository
9793
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0

.github/workflows/wheels.yml

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,8 @@ jobs:
7777
7878
# Use C-Extension for SQLAlchemy
7979
echo "REQUIRE_SQLALCHEMY_CEXT=1"
80-
81-
# Add additional pip wheel build constraints
82-
echo "PIP_CONSTRAINT=build_constraints.txt"
8380
) > .env_file
8481
85-
- name: Write pip wheel build constraints
86-
run: |
87-
(
88-
# ninja 1.11.1.2 + 1.11.1.3 seem to be broken on at least armhf
89-
# this caused the numpy builds to fail
90-
# https://github.com/scikit-build/ninja-python-distributions/issues/274
91-
echo "ninja==1.11.1.1"
92-
) > build_constraints.txt
93-
9482
- name: Upload env_file
9583
uses: &actions-upload-artifact actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
9684
with:
@@ -99,13 +87,6 @@ jobs:
9987
include-hidden-files: true
10088
overwrite: true
10189

102-
- name: Upload build_constraints
103-
uses: *actions-upload-artifact
104-
with:
105-
name: build_constraints
106-
path: ./build_constraints.txt
107-
overwrite: true
108-
10990
- name: Upload requirements_diff
11091
uses: *actions-upload-artifact
11192
with:
@@ -138,13 +119,6 @@ jobs:
138119
- os: ubuntu-latest
139120
- arch: aarch64
140121
os: ubuntu-24.04-arm
141-
exclude:
142-
- abi: cp314
143-
arch: armv7
144-
- abi: cp314
145-
arch: armhf
146-
- abi: cp314
147-
arch: i386
148122
steps:
149123
- *checkout
150124

@@ -154,12 +128,6 @@ jobs:
154128
with:
155129
name: env_file
156130

157-
- &download-build-constraints
158-
name: Download build_constraints
159-
uses: *actions-download-artifact
160-
with:
161-
name: build_constraints
162-
163131
- &download-requirements-diff
164132
name: Download requirements_diff
165133
uses: *actions-download-artifact
@@ -199,7 +167,7 @@ jobs:
199167
- *checkout
200168

201169
- *download-env-file
202-
- *download-build-constraints
170+
203171
- *download-requirements-diff
204172

205173
- name: Download requirements_all_wheels
@@ -209,10 +177,6 @@ jobs:
209177

210178
- name: Adjust build env
211179
run: |
212-
if [ "${{ matrix.arch }}" = "i386" ]; then
213-
echo "NPY_DISABLE_SVML=1" >> .env_file
214-
fi
215-
216180
# Do not pin numpy in wheels building
217181
sed -i "/numpy/d" homeassistant/package_constraints.txt
218182
# Don't build wheels for uv as uv requires a greater version of rust as currently available on alpine

Dockerfile

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
image: ghcr.io/home-assistant/{arch}-homeassistant
22
build_from:
33
aarch64: ghcr.io/home-assistant/aarch64-homeassistant-base:2025.11.0
4-
armhf: ghcr.io/home-assistant/armhf-homeassistant-base:2025.11.0
5-
armv7: ghcr.io/home-assistant/armv7-homeassistant-base:2025.11.0
64
amd64: ghcr.io/home-assistant/amd64-homeassistant-base:2025.11.0
7-
i386: ghcr.io/home-assistant/i386-homeassistant-base:2025.11.0
85
cosign:
96
base_identity: https://github.com/home-assistant/docker/.*
107
identity: https://github.com/home-assistant/core/.*

homeassistant/package_constraints.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@ aiofiles>=24.1.0
210210
# https://github.com/aio-libs/multidict/issues/1131
211211
multidict>=6.4.2
212212

213-
# rpds-py frequently updates cargo causing build failures
214-
# No wheels upstream available for armhf & armv7
215-
rpds-py==0.26.0
216-
217213
# Constraint num2words to 0.5.14 as 0.5.15 and 0.5.16 were removed from PyPI
218214
num2words==0.5.14
219215

script/gen_requirements_all.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -52,30 +52,11 @@
5252
"include": INCLUDED_REQUIREMENTS_WHEELS,
5353
"markers": {},
5454
},
55-
# Pandas has issues building on armhf, it is expected they
56-
# will drop the platform in the near future (they consider it
57-
# "flimsy" on 386). The following packages depend on pandas,
58-
# so we comment them out.
59-
"wheels_armhf": {
60-
"exclude": {"env-canada", "noaa-coops", "pyezviz", "pykrakenapi"},
61-
"include": INCLUDED_REQUIREMENTS_WHEELS,
62-
"markers": {},
63-
},
64-
"wheels_armv7": {
65-
"exclude": set(),
66-
"include": INCLUDED_REQUIREMENTS_WHEELS,
67-
"markers": {},
68-
},
6955
"wheels_amd64": {
7056
"exclude": set(),
7157
"include": INCLUDED_REQUIREMENTS_WHEELS,
7258
"markers": {},
7359
},
74-
"wheels_i386": {
75-
"exclude": set(),
76-
"include": INCLUDED_REQUIREMENTS_WHEELS,
77-
"markers": {},
78-
},
7960
}
8061

8162
URL_PIN = (
@@ -221,10 +202,6 @@
221202
# https://github.com/aio-libs/multidict/issues/1131
222203
multidict>=6.4.2
223204
224-
# rpds-py frequently updates cargo causing build failures
225-
# No wheels upstream available for armhf & armv7
226-
rpds-py==0.26.0
227-
228205
# Constraint num2words to 0.5.14 as 0.5.15 and 0.5.16 were removed from PyPI
229206
num2words==0.5.14
230207

script/hassfest/docker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
RUN \
3636
case "${{BUILD_ARCH}}" in \
3737
"aarch64") go2rtc_suffix='arm64' ;; \
38-
"armhf") go2rtc_suffix='armv6' ;; \
39-
"armv7") go2rtc_suffix='arm' ;; \
4038
*) go2rtc_suffix=${{BUILD_ARCH}} ;; \
4139
esac \
4240
&& curl -L https://github.com/AlexxIT/go2rtc/releases/download/v{go2rtc}/go2rtc_linux_${{go2rtc_suffix}} --output /bin/go2rtc \

0 commit comments

Comments
 (0)