Skip to content

fix: pin pillow and dotnet Lambda.Tools to fix CI failures - #557

Merged
ckawl merged 1 commit into
aws:masterfrom
ckawl:fix/ci-preexisting-failures
Jul 14, 2026
Merged

fix: pin pillow and dotnet Lambda.Tools to fix CI failures#557
ckawl merged 1 commit into
aws:masterfrom
ckawl:fix/ci-preexisting-failures

Conversation

@ckawl

@ckawl ckawl commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
  • Pin pillow<=12.2.0 for python3.10 and python3.11 ML templates (scikit, pytorch, xgboost). pillow 12.3.0 has no manylinux2014 wheel, requiring gcc compilation which is not available in Lambda base images.
  • Pin Amazon.Lambda.Tools to 5.14.0 for dotnet6 image template. Version 7.0.0 dropped .NET 6 support.

Issue #, if available:
N/A — pre-existing CI failures

Description of changes:

Fix CI build failures in python3.10/3.11 ML templates and dotnet6 image template:

  • pillow<=12.2.0: pillow 12.3.0 does not ship a manylinux2014 wheel, causing pip to download the source tarball and attempt compilation with gcc (which is not available in Lambda base images).
    Pinning to <=12.2.0 ensures a pre-built wheel is used.
  • Amazon.Lambda.Tools --version 5.14.0: Version 7.0.0 dropped .NET 6.0 support, breaking the dotnet6 image build. Pinning to the last compatible version.

Affected templates:

  • python3.10: apigw-scikit, apigw-pytorch, apigw-xgboost
  • python3.11: apigw-scikit, apigw-pytorch, apigw-xgboost
  • dotnet6: hello-img

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Pin pillow<=12.2.0 for python3.10 and python3.11 ML templates
  (scikit, pytorch, xgboost). pillow 12.3.0 has no manylinux2014
  wheel, requiring gcc compilation which is not available in
  Lambda base images.
- Pin Amazon.Lambda.Tools to 5.14.0 for dotnet6 image template.
  Version 7.0.0 dropped .NET 6 support.
@ckawl
ckawl requested a review from a team as a code owner July 14, 2026 18:00
@github-actions github-actions Bot added pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Jul 14, 2026
@ckawl
ckawl merged commit 756d750 into aws:master Jul 14, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants