Skip to content
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

UML-3337 new python and package versions #104

Merged
merged 4 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lambda_functions/v1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-slim-buster
FROM python:3.10-slim-buster
WORKDIR /var/www/lambda_functions/v1

# Install Python Dependencies
Expand Down
2 changes: 1 addition & 1 deletion lambda_functions/v1/Dockerfile-tests
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8.17-slim-buster
FROM python:3.10-slim-buster
ARG FUNCTION_DIR="lpa_data/lambda_functions/v1"

# Create function directory
Expand Down
22 changes: 11 additions & 11 deletions lambda_functions/v1/requirements/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
connexion==2.7.0
fakeredis==1.4.5
connexion==2.14.2
fakeredis==2.21.3
flake8==3.8.4
flake8-quotes==3.2.0
hypothesis==6.0.0
moto~=4.1
pytest==6.2.1
pytest-cov==2.10.1
pytest-env==0.6.2
pytest-html==3.1.1
tenacity==6.3.1
validators==0.18.2
yarl==1.6.3
importlib-metadata==4.13.0
moto~=4.2.3
pytest==7.4.4
pytest-cov==4.1.0
pytest-env==1.1.3
pytest-html==4.1.1
tenacity==8.2.3
validators==0.23.1
yarl==1.9.4
importlib-metadata==7.0.2
opg-sirius-service==2.1.1
2 changes: 1 addition & 1 deletion lambda_functions/v1/requirements/pact-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
connexion==2.7.0
connexion==2.14.2
swagger-ui-bundle
requests
4 changes: 2 additions & 2 deletions lambda_functions/v1/requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Update this date to trigger update of layers: 20230619
Flask==2.2.5
Flask==3.0.2
markupsafe==2.1.1
localstack-client==1.39
localstack-client==2.5
redis==4.4.4
requests==2.31.0
Werkzeug==3.0.1
Expand Down
2 changes: 1 addition & 1 deletion mock_sirius_backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# our base image
FROM python:3.8-slim
FROM python:3.10-slim

WORKDIR /var/www/
COPY requirements.txt .
Expand Down
4 changes: 2 additions & 2 deletions terraform/environment/modules/lambda/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "aws_lambda_function" "lambda_function" {
function_name = local.lambda
role = aws_iam_role.lambda_role.arn
handler = var.handler
runtime = "python3.8"
runtime = "python3.10"
timeout = 15
depends_on = [aws_cloudwatch_log_group.lambda]
layers = [aws_lambda_layer_version.lambda_layer.arn]
Expand Down Expand Up @@ -58,7 +58,7 @@ resource "aws_lambda_layer_version" "lambda_layer" {
source_code_hash = data.archive_file.lambda_layer_archive.output_base64sha256
layer_name = "lpa_requirements_${var.environment}"

compatible_runtimes = ["python3.8"]
compatible_runtimes = ["python3.10"]

lifecycle {
ignore_changes = [
Expand Down
Loading