Skip to content

feat: add python option for creating parent packages during copy #765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

joeyhage
Copy link

@joeyhage joeyhage commented Aug 1, 2025

Issue #, if available: aws/aws-sam-cli#6593

Description of changes:

This change introduces a configuration option for the python lambda directory structure. I previously created a wrapper around sam cli to achieve this but would like to contribute the feature back to this project. The issue linked above and my GitHub repo have examples and documentation that explain the goal of this change. Once implemented, I will need to submit a PR for aws-sam-cli as well to utilize this new optional config.

I welcome your criticism and suggestions; thank you for your time reviewing this PR.

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

@joeyhage joeyhage requested a review from a team as a code owner August 1, 2025 20:27
@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. area/workflow/python_pip labels Aug 1, 2025
Copy link

@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.

Thank you for contributing to this repo!

@reedham-aws
Copy link

There's also a few test failures related to the change, should be small change to fix it seems.

@joeyhage
Copy link
Author

joeyhage commented Aug 4, 2025

There's also a few test failures related to the change, should be small change to fix it seems.

Given the test failures are only for python 3.8 and AWS deprecated 3.8 earlier this year, is it worth fixing these? AWS SAM CLI requires 3.9 now based on the setup.py

I believe I found a fix and will push that up shortly.

@joeyhage joeyhage force-pushed the feature/python-packaging branch 4 times, most recently from 7dcfd82 to 30b58f3 Compare August 4, 2025 21:24
reedham-aws
reedham-aws previously approved these changes Aug 4, 2025
@joeyhage
Copy link
Author

@reedham-aws Following up to see what is needed from me now to contribute this code. Thanks!

@reedham-aws
Copy link

We need two reviewers to approve, I will talk to the team about getting another review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workflow/python_pip 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.

2 participants