Skip to content

Commit

Permalink
IN-X Update Python version and dependencies
Browse files Browse the repository at this point in the history
Why these changes are being introduced:
* Keeping our Python version and dependencies updated
is good practice and allows us to take advantage
of the latest security updates and bug fixes for Python.

How this addresses that need:
* Update Dockerfile
* Update Pipfile
* Update .python-version

Side effects of this change:
* None

Relevant ticket(s):
* TBD
  • Loading branch information
jonavellecuerdo committed Aug 16, 2023
1 parent e98b1be commit 987bec0
Show file tree
Hide file tree
Showing 4 changed files with 382 additions and 404 deletions.
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.10
3.11.2
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lambda/python:3.10
FROM public.ecr.aws/lambda/python:3.11

# Copy function code
COPY . ${LAMBDA_TASK_ROOT}/
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ types-requests = "*"
typing-extensions = "*"

[requires]
python_version = "3.10"
python_version = "3.11"
Loading

0 comments on commit 987bec0

Please sign in to comment.