File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11#syntax=docker/dockerfile:1
2- FROM public.ecr.aws/docker/library/python:3.13 -slim-bookworm
2+ FROM public.ecr.aws/docker/library/python:3.12 -slim-bookworm
33
44RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
55 && apt update \
Original file line number Diff line number Diff line change 11#syntax=docker/dockerfile:1
2- FROM public.ecr.aws/docker/library/python:3.13 -slim-bookworm
2+ FROM public.ecr.aws/docker/library/python:3.12 -slim-bookworm
33
44RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
55 && apt update \
@@ -20,7 +20,7 @@ ENV PATH="/venv/bin:$PATH"
2020RUN /venv/bin/python -m pip install pydantic==2.11.7
2121
2222# install pydantic wasi to folder
23- RUN pip install --target /wasi_deps --platform any --platform wasi_0_0_0_wasm32 --python-version "3.13 " --only-binary :all: --index-url https://benbrandt.github.io/wasi-wheels/ --extra-index-url https://pypi.org/simple --upgrade pydantic_core pydantic
23+ RUN pip install --target /wasi_deps --platform any --platform wasi_0_0_0_wasm32 --python-version "3.12 " --only-binary :all: --index-url https://benbrandt.github.io/wasi-wheels/ --extra-index-url https://pypi.org/simple --upgrade pydantic_core pydantic
2424
2525RUN pip install componentize-py
2626COPY ./app /app
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ export OPENSSL_INCLUDE_DIR=/usr/include/openssl
1111export OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu/
1212rustup target add wasm32-wasip1
1313cargo run -- install-build-tools
14- cargo run -- build pydantic-core 2.33.2 --python-versions py3-13
14+ cargo run -- build pydantic-core 2.33.2 --python-versions py3-12
1515# cargo run -- generate-index benbrandt/wasi-wheels
1616
1717# wheel place:
18- # ./packages/pydantic_core-2.33.2/dist/pydantic_core-2.33.2-cp313-cp313 -wasi_0_0_0_wasm32.whl
18+ # ./packages/pydantic_core-2.33.2/dist/pydantic_core-2.33.2-cp312-cp312 -wasi_0_0_0_wasm32.whl
1919
2020# install wheel
21- pip install --target /wasi_deps --platform any --platform wasi_0_0_0_wasm32 --python-version " 3.13 " --only-binary :all: ` find . -name \* cp313-cp313 -wasi_0_0_0_wasm32.whl`
21+ pip install --target /wasi_deps --platform any --platform wasi_0_0_0_wasm32 --python-version " 3.12 " --only-binary :all: ` find . -name \* cp312-cp312 -wasi_0_0_0_wasm32.whl`
You can’t perform that action at this time.
0 commit comments