Skip to content

fix: replace unzip with zipfile for linux-arm64 builds#1891

Merged
hallvictoria merged 2 commits into
devfrom
hallvictoria/fix-linuxarm64
Jul 21, 2026
Merged

fix: replace unzip with zipfile for linux-arm64 builds#1891
hallvictoria merged 2 commits into
devfrom
hallvictoria/fix-linuxarm64

Conversation

@hallvictoria

Copy link
Copy Markdown
Contributor

Description

The new minimal linux image does not include unzip, which was used in the Linux-Arm64 python builds. Since a Python venv is already active in both scripts, the cleanest fix (no extra packages, no network/policy concerns) is to extract with Python's built-in zipfile module instead.

Fixes #


Pull Request Checklist

Host-Worker Contract

  • Does this PR impact the host-worker contract (e.g., gRPC messages, shared interfaces)?
    • If yes, have the changes been applied to:
      • azure_functions_worker (Python <= 3.12)
      • proxy_worker (Python >= 3.13)
    • If no, please explain why:

Worker Execution Logic

  • Does this PR affect worker execution logic (e.g., function invocation, bindings, lifecycle)?
    If yes, please answer the following:

Python Version Coverage

  • Does this change apply to both Python <=3.12 and 3.13+?
  • If yes, have the changes been made to:
    • azure_functions_worker (Python <= 3.12)
    • runtimes/v1 / runtimes/v2 (Python >= 3.13)
  • If no, please explain why:

Programming Model Compatibility (for Python 3.13+)

  • Does this change apply to both:
    • V1 programming model (runtimes/v1)?
    • V2 programming model (runtimes/v2)?
  • Explanation (if limited to one model):

@hallvictoria
hallvictoria marked this pull request as ready for review July 20, 2026 20:49
@hallvictoria
hallvictoria merged commit 343c9a2 into dev Jul 21, 2026
47 checks passed
@hallvictoria
hallvictoria deleted the hallvictoria/fix-linuxarm64 branch July 21, 2026 15:18
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