Skip to content

Commit b44c5c3

Browse files
authored
Pants: Upgrade from 2.23.0a0 to 2.25.0 (#6312)
2 parents 6535ff5 + 26356c6 commit b44c5c3

File tree

11 files changed

+406
-368
lines changed

11 files changed

+406
-368
lines changed

.github/actions/init-pants/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
using: "composite"
1414
steps:
1515
- name: Initialize Pants and its GHA caches
16-
uses: pantsbuild/actions/init-pants@v9
16+
uses: pantsbuild/actions/init-pants@v10
1717
# This action adds an env var to make pants use both pants.ci.toml & pants.toml.
1818
# This action also creates 3 GHA caches (1 is optional).
1919
# - `pants-setup` has the bootsrapped pants install

.github/workflows/ci.yaml

+13-13
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ jobs:
5454
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
5555
# setup virtualenv step will fail.
5656
python:
57-
- {version-short: '3.8', version: '3.8.12'}
58-
- {version-short: '3.9', version: '3.9.14'}
59-
- {version-short: '3.10', version: '3.10.15'}
60-
- {version-short: '3.11', version: '3.11.10'}
57+
- {version-short: '3.8', version: '3.8.18'}
58+
- {version-short: '3.9', version: '3.9.21'}
59+
- {version-short: '3.10', version: '3.10.16'}
60+
- {version-short: '3.11', version: '3.11.11'}
6161
make:
6262
- name: 'Lint Checks (black, flake8, etc.)'
6363
task: 'ci-checks'
@@ -108,7 +108,7 @@ jobs:
108108
fail-fast: false
109109
matrix:
110110
python:
111-
- {version-short: '3.8', version: '3.8.12'}
111+
- {version-short: '3.8', version: '3.8.18'}
112112
services:
113113
mongo:
114114
image: mongo:7.0
@@ -247,10 +247,10 @@ jobs:
247247
# NOTE: To speed the CI run, we split unit and integration tests into multiple jobs where
248248
# each job runs subset of tests.
249249
python:
250-
- {version-short: '3.8', version: '3.8.12'}
251-
- {version-short: '3.9', version: '3.9.14'}
252-
- {version-short: '3.10', version: '3.10.15'}
253-
- {version-short: '3.11', version: '3.11.10'}
250+
- {version-short: '3.8', version: '3.8.18'}
251+
- {version-short: '3.9', version: '3.9.21'}
252+
- {version-short: '3.10', version: '3.10.16'}
253+
- {version-short: '3.11', version: '3.11.11'}
254254
make:
255255
- name: 'Unit Tests (chunk 1)'
256256
task: 'ci-unit'
@@ -390,10 +390,10 @@ jobs:
390390
# NOTE: To speed the CI run, we split unit and integration tests into multiple jobs where
391391
# each job runs subset of tests.
392392
python:
393-
- {version-short: '3.8', version: '3.8.12'}
394-
- {version-short: '3.9', version: '3.9.14'}
395-
- {version-short: '3.10', version: '3.10.15'}
396-
- {version-short: '3.11', version: '3.11.10'}
393+
- {version-short: '3.8', version: '3.8.18'}
394+
- {version-short: '3.9', version: '3.9.21'}
395+
- {version-short: '3.10', version: '3.10.16'}
396+
- {version-short: '3.11', version: '3.11.11'}
397397
make:
398398
# We run pack tests here since they rely on some integration tests set
399399
# up (aka stanley user being present, etc.)

.github/workflows/microbenchmarks.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
4545
# setup virtualenv step will fail.
4646
python:
47-
- {version-short: '3.8', version: '3.8.12'}
48-
- {version-short: '3.9', version: '3.9.14'}
49-
- {version-short: '3.10', version: '3.10.15'}
50-
- {version-short: '3.11', version: '3.11.10'}
47+
- {version-short: '3.8', version: '3.8.18'}
48+
- {version-short: '3.9', version: '3.9.21'}
49+
- {version-short: '3.10', version: '3.10.16'}
50+
- {version-short: '3.11', version: '3.11.11'}
5151
make:
5252
- name: 'Microbenchmarks'
5353
task: 'micro-benchmarks'

.github/workflows/orquesta-integration-tests.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
5656
# setup virtualenv step will fail.
5757
python:
58-
- {version-short: '3.8', version: '3.8.12'}
59-
- {version-short: '3.9', version: '3.9.14'}
60-
- {version-short: '3.10', version: '3.10.15'}
61-
- {version-short: '3.11', version: '3.11.10'}
58+
- {version-short: '3.8', version: '3.8.18'}
59+
- {version-short: '3.9', version: '3.9.21'}
60+
- {version-short: '3.10', version: '3.10.16'}
61+
- {version-short: '3.11', version: '3.11.11'}
6262
make:
6363
- name: 'Integration Tests (Orquesta)'
6464
task: 'ci-orquesta'

.github/workflows/test.yaml

+22-22
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
4646
# setup virtualenv step will fail.
4747
python:
48-
# Pants itself uses only 3.9
49-
- {version-short: '3.9', version: '3.9.14'}
48+
# Pants itself uses only 3.11
49+
- {version-short: '3.11', version: '3.11.11'}
5050

5151
services:
5252
mongo:
@@ -128,10 +128,10 @@ jobs:
128128
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
129129
# setup virtualenv step will fail.
130130
python:
131-
- {version-short: '3.8', version: '3.8.12'}
132-
- {version-short: '3.9', version: '3.9.14'}
133-
- {version-short: '3.10', version: '3.10.15'}
134-
- {version-short: '3.11', version: '3.11.10'}
131+
- {version-short: '3.8', version: '3.8.18'}
132+
- {version-short: '3.9', version: '3.9.21'}
133+
- {version-short: '3.10', version: '3.10.16'}
134+
- {version-short: '3.11', version: '3.11.11'}
135135
shard:
136136
# Sharding of tests is handled by pants:
137137
# https://www.pantsbuild.org/stable/docs/using-pants/advanced-target-selection#sharding-the-input-targets
@@ -225,10 +225,10 @@ jobs:
225225
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
226226
# setup virtualenv step will fail.
227227
python:
228-
- {version-short: '3.8', version: '3.8.12'}
229-
- {version-short: '3.9', version: '3.9.14'}
230-
- {version-short: '3.10', version: '3.10.15'}
231-
- {version-short: '3.11', version: '3.11.10'}
228+
- {version-short: '3.8', version: '3.8.18'}
229+
- {version-short: '3.9', version: '3.9.21'}
230+
- {version-short: '3.10', version: '3.10.16'}
231+
- {version-short: '3.11', version: '3.11.11'}
232232

233233
services:
234234
mongo:
@@ -314,10 +314,10 @@ jobs:
314314
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
315315
# setup virtualenv step will fail.
316316
python:
317-
- {version-short: '3.8', version: '3.8.12'}
318-
- {version-short: '3.9', version: '3.9.14'}
319-
- {version-short: '3.10', version: '3.10.15'}
320-
- {version-short: '3.11', version: '3.11.10'}
317+
- {version-short: '3.8', version: '3.8.18'}
318+
- {version-short: '3.9', version: '3.9.21'}
319+
- {version-short: '3.10', version: '3.10.16'}
320+
- {version-short: '3.11', version: '3.11.11'}
321321

322322
services:
323323
mongo:
@@ -436,10 +436,10 @@ jobs:
436436
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
437437
# setup virtualenv step will fail.
438438
python:
439-
- {version-short: '3.8', version: '3.8.12'}
440-
- {version-short: '3.9', version: '3.9.14'}
441-
- {version-short: '3.10', version: '3.10.15'}
442-
- {version-short: '3.11', version: '3.11.10'}
439+
- {version-short: '3.8', version: '3.8.18'}
440+
- {version-short: '3.9', version: '3.9.21'}
441+
- {version-short: '3.10', version: '3.10.16'}
442+
- {version-short: '3.11', version: '3.11.11'}
443443

444444
services:
445445
mongo:
@@ -556,10 +556,10 @@ jobs:
556556
# NOTE: We need to use full Python version as part of Python deps cache key otherwise
557557
# setup virtualenv step will fail.
558558
python:
559-
- {version-short: '3.8', version: '3.8.12'}
560-
- {version-short: '3.9', version: '3.9.14'}
561-
- {version-short: '3.10', version: '3.10.15'}
562-
- {version-short: '3.11', version: '3.11.10'}
559+
- {version-short: '3.8', version: '3.8.18'}
560+
- {version-short: '3.9', version: '3.9.21'}
561+
- {version-short: '3.10', version: '3.10.16'}
562+
- {version-short: '3.11', version: '3.11.11'}
563563

564564
services:
565565
mongo:

BUILD.tools

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ python_requirement(
5757
name="twine-reqs",
5858
resolve="twine",
5959
requirements=[
60-
"twine>=3.7.1,<3.8",
60+
"twine>=3.7.1,<5",
6161
"colorama>=0.4.3",
62+
"importlib-metadata<8",
6263
],
6364
)

CHANGELOG.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Added
7979
to pants' use of PEX lockfiles. This is not a user-facing addition.
8080
#6118 #6141 #6133 #6120 #6181 #6183 #6200 #6237 #6229 #6240 #6241 #6244 #6251 #6253
8181
#6254 #6258 #6259 #6260 #6269 #6275 #6279 #6278 #6282 #6283 #6273 #6287 #6306 #6307
82-
#6311 #6314 #6315 #6317 #6319
82+
#6311 #6314 #6315 #6317 #6319 #6312
8383
Contributed by @cognifloyd
8484
* Build of ST2 EL9 packages #6153
8585
Contributed by @amanda11

0 commit comments

Comments
 (0)