File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2222 runs-on : ubuntu-24.04
2323 strategy :
2424 matrix :
25- python-version : [3.8 ]
25+ python-version : [3.12 ]
2626 steps :
2727 - uses : actions/checkout@v5
2828
Original file line number Diff line number Diff line change 11[GLOBAL ]
2- pants_version = " 2.28 .0"
2+ pants_version = " 2.31 .0"
33
44backend_packages = [
55 " pants.backend.docker" ,
@@ -23,8 +23,8 @@ repo_id = "B573B56B-6289-40C5-ADB7-4C5FA659EAD1"
2323
2424[python ]
2525# We use a narrow interpreter constraint to ensure that Python PEX'es will be executable by our
26- # selected Docker base image, `python:3.8 `.
27- interpreter_constraints = [" ==3.8 .*" ]
26+ # selected Docker base image, `python:3.12 `.
27+ interpreter_constraints = [" ==3.12 .*" ]
2828
2929[python-infer ]
3030use_rust_parser = true
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ docker_image(
1414 # provided in the Dockerfile instruction, while still being overridable from the environment.
1515 #
1616 # "ARG DYNAMIC_TAG=default",
17- "FROM python:3.8 " ,
17+ "FROM python:3.12 " ,
1818 "RUN pip install --no-cache-dir cowsay==4.0" ,
1919 'CMD ["cowsay", "demo"]' ,
2020 ],
Original file line number Diff line number Diff line change 11# Copyright 2022 Pants project contributors.
22# Licensed under the Apache License, Version 2.0 (see LICENSE).
33
4- FROM python:3.8
4+ FROM python:3.12
55ENTRYPOINT ["/bin/main.pex"]
66COPY src.python.hello_world/main.pex /bin
Original file line number Diff line number Diff line change 1- FROM python:3.8
1+ FROM python:3.12
22
33RUN echo "base image" >> base.txt
You can’t perform that action at this time.
0 commit comments