Skip to content

Fix the 4.5.14 release builds: ARM Docker image and PyPI upload - #2694

Merged
acockburn merged 1 commit into
AppDaemon:devfrom
tmilnthorp:fix-release-builds
Nov 5, 2026
Merged

acockburn merged 1 commit into
AppDaemon:devfrom
tmilnthorp:fix-release-builds

Conversation

@tmilnthorp

Copy link
Copy Markdown
Contributor

The 4.5.14 tag's Docker and PyPI runs both failed, so 4.5.14 has no image and no PyPI release. Two fixes:

Docker (arm/v7, arm/v6): uvloop==0.23.0 (bumped in 5ce30c8 "Update deps") fails to compile with src/unix/udp.c:36:10: fatal error: linux/errqueue.h: No such file or directory.

  • There are no musllinux armv6 or armv7 wheels for uvloop, so it is built from source on those platforms. The libuv bundled with 0.23.0 needs the kernel headers.
  • Adds linux-headers to the ARM build dependencies.
  • Verified on Alpine 3.23 with the same base image digest: building uvloop 0.23.0 from source fails with exactly that error without linux-headers, and produces a wheel with it.

PyPI upload: uv pip install dist/*.whl fails with "No virtual environment found".

  • This step had never run before. Until the release-trigger change, the job only matched v* tags.
  • Adds the same locked dependency install that python.yml's test job uses (uv sync --locked --no-install-project --no-editable --no-dev --group test) before installing the wheel.
  • Verified locally: those steps followed by uv run pytest -m functional pass (23 passed).

After merging, a re-run of the 4.5.14 workflows, or a new tag, should publish the image and the PyPI release.

- Dockerfile: on ARM, uvloop is built from source (there are no musllinux
  armv6/armv7 wheels), and the libuv bundled with uvloop 0.23.0 needs the
  kernel headers (`linux/errqueue.h`). Add `linux-headers` to the ARM build
  dependencies.
- pypi-upload.yml: install the locked test dependencies into a project
  environment before installing the wheel, as python.yml does. `uv pip
  install` had no virtual environment to install into, so the job failed
  before running the functional tests or publishing.
@acockburn
acockburn merged commit 3d7246a into AppDaemon:dev Nov 5, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants