upgraded python version

This commit is contained in:
Jun-te Kim 2026-06-17 09:28:24 +00:00
parent 70ca56415e
commit f226570b0f
2 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,7 @@
FROM mcr.microsoft.com/playwright/python:v1.58.0-jammy
# jammy (Ubuntu 22.04) ships Python 3.10, which lacks enum.StrEnum — used by
# domain/modelling/measure_type.py, pulled in transitively via the copied
# domain/ package. noble (Ubuntu 24.04) ships Python 3.12.
FROM mcr.microsoft.com/playwright/python:v1.58.0-noble
# Install AWS Lambda RIE
ADD https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/latest/download/aws-lambda-rie /usr/local/bin/aws-lambda-rie

View file

@ -1,4 +1,8 @@
FROM mcr.microsoft.com/playwright/python:v1.58.0-jammy
# jammy (Ubuntu 22.04) ships Python 3.10, which lacks enum.StrEnum — used by
# domain/modelling/measure_type.py, which the handler pulls in transitively
# (handler -> pashub_service -> documents_parser.parser -> ... -> domain).
# noble (Ubuntu 24.04) ships Python 3.12, matching the project's 3.11+ standard.
FROM mcr.microsoft.com/playwright/python:v1.58.0-noble
# Install AWS Lambda RIE
ADD https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/latest/download/aws-lambda-rie /usr/local/bin/aws-lambda-rie