diff --git a/examples/build-package/main.tf b/examples/build-package/main.tf index 9685c232..c16ef568 100644 --- a/examples/build-package/main.tf +++ b/examples/build-package/main.tf @@ -52,7 +52,7 @@ module "package_dir_poetry" { create_function = false build_in_docker = true - runtime = "python3.8" + runtime = "python3.9" docker_image = "build-python3.9-poetry" docker_file = "${path.module}/../fixtures/python3.9-app-poetry/docker/Dockerfile" @@ -312,7 +312,7 @@ module "lambda_layer_poetry" { create_layer = true layer_name = "${random_pet.this.id}-layer-poetry-dockerfile" - compatible_runtimes = ["python3.8"] + compatible_runtimes = ["python3.9"] source_path = [ { @@ -323,8 +323,8 @@ module "lambda_layer_poetry" { hash_extra = "extra-hash-to-prevent-conflicts-with-module.package_dir" build_in_docker = true - runtime = "python3.8" - docker_image = "build-python3.8-poetry" + runtime = "python3.9" + docker_image = "build-python3.9-poetry" docker_file = "${path.module}/../fixtures/python3.9-app-poetry/docker/Dockerfile" artifacts_dir = "${path.root}/builds/lambda_layer_poetry/" } diff --git a/examples/fixtures/python3.9-app-poetry/docker/Dockerfile b/examples/fixtures/python3.9-app-poetry/docker/Dockerfile index 167b9413..9d19957b 100644 --- a/examples/fixtures/python3.9-app-poetry/docker/Dockerfile +++ b/examples/fixtures/python3.9-app-poetry/docker/Dockerfile @@ -3,4 +3,4 @@ FROM public.ecr.aws/sam/build-python3.9 LABEL maintainer="Betajob AS" \ description="Patched AWS Lambda build container" -RUN pip install poetry==1.2.1 +RUN pip install poetry==1.2.2 diff --git a/examples/fixtures/python3.9-app-poetry/poetry.lock b/examples/fixtures/python3.9-app-poetry/poetry.lock index b7e48193..a8da85ae 100644 --- a/examples/fixtures/python3.9-app-poetry/poetry.lock +++ b/examples/fixtures/python3.9-app-poetry/poetry.lock @@ -1,6 +1,6 @@ [[package]] name = "colorama" -version = "0.4.4" +version = "0.4.5" description = "Cross-platform colored terminal text." category = "main" optional = false @@ -19,13 +19,13 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} [metadata] lock-version = "1.1" -python-versions = "^3.6" -content-hash = "65d9f3b221205b259a18285ee8c78c015794fa2e69c66f9ffc836f1758fd594d" +python-versions = "^3.7" +content-hash = "31bbdf3fc3c5e491c372a8ac467cee0ca3dc43d344b42059cab09342e5c715c1" [metadata.files] colorama = [ - {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, - {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, + {file = "colorama-0.4.5-py2.py3-none-any.whl", hash = "sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da"}, + {file = "colorama-0.4.5.tar.gz", hash = "sha256:e6c6b4334fc50988a639d9b98aa429a0b57da6e17b9a44f0451f930b6967b7a4"}, ] colorful = [ {file = "colorful-0.5.4-py2.py3-none-any.whl", hash = "sha256:8d264b52a39aae4c0ba3e2a46afbaec81b0559a99be0d2cfe2aba4cf94531348"}, diff --git a/examples/fixtures/python3.9-app-poetry/pyproject.toml b/examples/fixtures/python3.9-app-poetry/pyproject.toml index 2b41ff3b..c09d58aa 100644 --- a/examples/fixtures/python3.9-app-poetry/pyproject.toml +++ b/examples/fixtures/python3.9-app-poetry/pyproject.toml @@ -5,7 +5,7 @@ description = "" authors = ["Your Name "] [tool.poetry.dependencies] -python = "^3.6" +python = "^3.7" colorful = "^0.5.4" [tool.poetry.dev-dependencies]