Skip to content

Uncomment cryptography dependency in Python build test fixtures#8667

Merged
licjun merged 2 commits intoaws:developfrom
licjun:issue-8654
Feb 19, 2026
Merged

Uncomment cryptography dependency in Python build test fixtures#8667
licjun merged 2 commits intoaws:developfrom
licjun:issue-8654

Conversation

@licjun
Copy link
Copy Markdown
Contributor

@licjun licjun commented Feb 19, 2026

Which issue(s) does this change fix?

Fixes #8654

Why is this change necessary?

How does it address the issue?

What side effects does this change have?

Mandatory Checklist

PRs will only be reviewed after checklist is complete

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@licjun licjun requested a review from a team as a code owner February 19, 2026 17:34
Copy link
Copy Markdown
Contributor

@reedham-aws reedham-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a couple other places that have cryptography commented out. I'd imagine these need to be changed as well, but not totally sure:

EXPECTED_FILES_PROJECT_MANIFEST = {
"__init__.py",
"main.py",
"numpy",
# 'cryptography',
"requirements.txt",
}

A couple places in test_build_cmd.py:
EXPECTED_FILES_PROJECT_MANIFEST = {
"__init__.py",
"main.py",
"numpy",
# 'cryptography',
"requirements.txt",
}

And lots of stuff related to layers (one example):
# These are some hard packages to build. Using them here helps us verify that building works on various platforms
# `cryptography` has a dependency on `pycparser` which, for some reason doesn't build inside a Docker container.
# Turning this off until we resolve this issue: https://github.com/awslabs/aws-lambda-builders/issues/29
# cryptography~=2.4

I just grep'd the code for cryptography, but then again some of this might not be useful

@licjun licjun added this pull request to the merge queue Feb 19, 2026
Merged via the queue into aws:develop with commit 8792a04 Feb 19, 2026
44 checks passed
roger-zhangg added a commit to roger-zhangg/aws-sam-cli that referenced this pull request Feb 20, 2026
roger-zhangg added a commit that referenced this pull request Feb 20, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests: Add cryptography back as a dependency for Python integration tests

3 participants