diff --git a/packages/@aws-cdk/aws-lambda-python-alpha/lib/Dockerfile b/packages/@aws-cdk/aws-lambda-python-alpha/lib/Dockerfile index a295583e59dee..334b2a80ac4d9 100644 --- a/packages/@aws-cdk/aws-lambda-python-alpha/lib/Dockerfile +++ b/packages/@aws-cdk/aws-lambda-python-alpha/lib/Dockerfile @@ -31,7 +31,8 @@ RUN \ mkdir /tmp/poetry-cache && \ # Ensure all users can write to poetry cache chmod -R 777 /tmp/poetry-cache && \ - pip install pipenv==2023.8.20 poetry==$POETRY_VERSION && \ +# pipenv 2022.4.8 is the last version with Python 3.6 support + pip install pipenv==2022.4.8 poetry==$POETRY_VERSION && \ # Ensure no temporary files remain in the caches rm -rf /tmp/pip-cache/* /tmp/poetry-cache/*