Skip to content

Conversation

@mcdonnnj
Copy link
Member

🗣 Description

This pull request adds the necessary updates to build Python Lambda artifacts for the newly released python3.10 runtime. It also updates the Dockerfile to use Python 3.10 by default (from Python 3.9).

💭 Motivation and context

We should support all of the Python runtimes that AWS actively offers for the lambda service. This will also allow Lambdas to take advantage of new Python features if so desired (as an example Python 3.10 added the match keyword).

🧪 Testing

Automated tests pass. I tested the Lambda image locally to verify functionality.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • Tests have been added and/or modified to cover the changes in this PR.
  • All new and existing tests pass.

Now that a python3.10 runtime is available for Lambdas it makes sense
to update the default to the latest version of Python in use.
@mcdonnnj mcdonnnj added improvement This issue or pull request will add or improve functionality, maintainability, or ease of use dependencies Pull requests that update a dependency file labels Apr 23, 2023
@mcdonnnj mcdonnnj self-assigned this Apr 23, 2023
@mcdonnnj mcdonnnj requested review from dav3r, felddy and jsf9k as code owners April 23, 2023 23:25
@mcdonnnj mcdonnnj requested review from a team and jasonodoom April 23, 2023 23:26
Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

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

👍 with one small thang noted.

Comment on lines +2 to +4
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
Copy link
Member

Choose a reason for hiding this comment

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

This is probably better as a separate PR, but we should alphabetize these per our usual standards:

Suggested change
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

Copy link
Member Author

Choose a reason for hiding this comment

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

If you're amenable I'll make a new branch + PR based on this branch fixing all four Pipfiles.

Copy link
Member

Choose a reason for hiding this comment

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

That works for me, thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Just mention the new PR here when it's created and then I'll resolve this conversation.

Copy link
Member Author

Choose a reason for hiding this comment

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

This PR's work is going to be superseded by implementing #15. The suggestion here will be integrated into the PR that resolved the linked issue.

@dav3r
Copy link
Member

dav3r commented May 14, 2024

@mcdonnnj Can this PR be closed since #15 will cover it?

@mcdonnnj
Copy link
Member Author

mcdonnnj commented Oct 9, 2025

This has been obsoleted by #35.

@mcdonnnj mcdonnnj closed this Oct 9, 2025
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in Skeleton Maintenance Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file improvement This issue or pull request will add or improve functionality, maintainability, or ease of use

Projects

Development

Successfully merging this pull request may close these issues.

5 participants