home-assistant / wheels

Build wheels for Home Assistant
https://wheels.home-assistant.io
Apache License 2.0
29 stars 28 forks source link

Fix numpy install (3.12) #631

Closed cdce8p closed 11 months ago

cdce8p commented 11 months ago

This should work to get numpy build with Python 3.12.

A bit more involved than usual, but until https://github.com/scikit-build/ninja-python-distributions/issues/220 is resolved, ninja needs to be build from git directly unfortunately.

/CC @frenck

cdce8p commented 11 months ago

Example run from my fork: https://github.com/cdce8p/wheels/actions/runs/6444260435

Just not sure how to fix the lint issue:

Error: Dockerfile:17 DL4006 warning: Set the SHELL option -o pipefail
  before RUN with a pipe in it. If you are using /bin/sh in an alpine image
  or if your shell is symlinked to busybox then consider explicitly setting
  your SHELL to /bin/ash, or disable this check
frenck commented 11 months ago

Pushed up change, that addressed the Hadolint issue. Could you check if it still works as expected?

cdce8p commented 11 months ago

Pushed up change, that addressed the Hadolint issue. Could you check if it still works as expected?

Thanks! Looks good AFAICT. The workflow is still running but the first jobs were successful already. I'd say, let's try it. https://github.com/cdce8p/wheels/actions/runs/6447285222/job/17503378562