Skip to content

Commit 055b616

Browse files
authored
Upgrade to Pants 2.31.0 (#30)
1 parent df08ccc commit 055b616

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/pants.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
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

pants.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[GLOBAL]
2-
pants_version = "2.28.0"
2+
pants_version = "2.31.0"
33

44
backend_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]
3030
use_rust_parser = true

src/docker/dynamic_tags/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
55
ENTRYPOINT ["/bin/main.pex"]
66
COPY src.python.hello_world/main.pex /bin
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM python:3.8
1+
FROM python:3.12
22

33
RUN echo "base image" >> base.txt

0 commit comments

Comments
 (0)