Skip to content

Commit 1a10632

Browse files
committed
release: 25.17.0 (#6874)
1 parent 81af7f0 commit 1a10632

File tree

95 files changed

+326
-256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+326
-256
lines changed

.github/workflows/assign-pr-number.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@v5
1616
with:
1717
ref: ${{ github.head_ref }}
1818
fetch-depth: 2

.github/workflows/backport.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
labels: ${{ steps.commit.outputs.labels }}
5353
steps:
5454
- name: Checkout the revision
55-
uses: actions/checkout@v6
55+
uses: actions/checkout@v5
5656
with:
5757
lfs: false
5858
ref: ${{ matrix.commits }}
@@ -128,7 +128,7 @@ jobs:
128128
permissions:
129129
pull-requests: write
130130
steps:
131-
- uses: actions/checkout@v6
131+
- uses: actions/checkout@v5
132132
with:
133133
ref: ${{ matrix.target_branch }}
134134
- name: Cherry-pick

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ${{ matrix.os }}
2222
steps:
2323
- name: Check out the revision
24-
uses: actions/checkout@v6
24+
uses: actions/checkout@v5
2525
- name: Fetch remote tags
2626
run: git fetch origin 'refs/tags/*:refs/tags/*' -f
2727
- name: Git LFS Pull

.github/workflows/check-requirement.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout the revision
11-
uses: actions/checkout@v6
11+
uses: actions/checkout@v5
1212
with:
1313
lfs: false
1414
- name: Check if a precompiled binary file exists in dependencies

.github/workflows/ci.yml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
echo "GIT_FETCH_DEPTH=2" >> "${GITHUB_ENV}"
100100
fi
101101
- name: Check out the revision with minimal required history
102-
uses: actions/checkout@v6
102+
uses: actions/checkout@v5
103103
with:
104104
fetch-depth: ${{ env.GIT_FETCH_DEPTH }}
105105
lfs: false
@@ -126,7 +126,7 @@ jobs:
126126
# See: github.com/pantsbuild/actions/tree/main/init-pants/
127127
# ref) https://github.com/pantsbuild/example-python/blob/main/.github/workflows/pants.yaml#L30-L49
128128
with:
129-
named-caches-hash: ${{ hashFiles('python*.lock', 'tools/*.lock') }}
129+
named-caches-hash: ${{ github.sha }}
130130
cache-lmdb-store: 'true'
131131
- name: Check BUILD files
132132
run: pants tailor --check update-build-files --check '::'
@@ -167,7 +167,7 @@ jobs:
167167
runs-on: ubuntu-latest
168168
steps:
169169
- name: Check out the revision
170-
uses: actions/checkout@v6
170+
uses: actions/checkout@v5
171171
with:
172172
lfs: false
173173
- name: Parse versions from config
@@ -193,7 +193,7 @@ jobs:
193193
- name: Bootstrap Pants
194194
uses: ./actions/init-pants
195195
with:
196-
named-caches-hash: ${{ hashFiles('python*.lock', 'tools/*.lock') }}
196+
named-caches-hash: ${{ github.sha }}
197197
cache-lmdb-store: 'true'
198198
- name: Prepare DB
199199
run: docker compose -f docker-compose.halfstack-main.yml up -d backendai-half-db --wait
@@ -227,7 +227,7 @@ jobs:
227227
echo "GIT_FETCH_DEPTH=2" >> "${GITHUB_ENV}"
228228
fi
229229
- name: Check out the revision with minimal required history
230-
uses: actions/checkout@v6
230+
uses: actions/checkout@v5
231231
with:
232232
fetch-depth: ${{ env.GIT_FETCH_DEPTH }}
233233
lfs: false
@@ -252,7 +252,7 @@ jobs:
252252
- name: Bootstrap Pants
253253
uses: ./actions/init-pants
254254
with:
255-
named-caches-hash: ${{ hashFiles('python*.lock', 'tools/*.lock') }}
255+
named-caches-hash: ${{ github.sha }}
256256
cache-lmdb-store: 'true'
257257
- name: Typecheck
258258
run: |
@@ -294,7 +294,7 @@ jobs:
294294
echo "GIT_FETCH_DEPTH=2" >> "${GITHUB_ENV}"
295295
fi
296296
- name: Check out the revision with minimal required history
297-
uses: actions/checkout@v6
297+
uses: actions/checkout@v5
298298
with:
299299
fetch-depth: ${{ env.GIT_FETCH_DEPTH }}
300300
lfs: false
@@ -319,7 +319,7 @@ jobs:
319319
- name: Bootstrap Pants
320320
uses: ./actions/init-pants
321321
with:
322-
named-caches-hash: ${{ hashFiles('python*.lock', 'tools/*.lock') }}
322+
named-caches-hash: ${{ github.sha }}
323323
cache-lmdb-store: 'true'
324324
- name: Test
325325
timeout-minutes: 15
@@ -363,7 +363,7 @@ jobs:
363363
SCIENCE_AUTH_API_GITHUB_COM_BEARER: ${{ secrets.GITHUB_TOKEN }}
364364
steps:
365365
- name: Check out the revision
366-
uses: actions/checkout@v6
366+
uses: actions/checkout@v5
367367
- name: Fetch remote tags
368368
run: git fetch origin 'refs/tags/*:refs/tags/*' -f
369369
- name: Git LFS Pull
@@ -382,11 +382,10 @@ jobs:
382382
python-version: ${{ env.PROJECT_PYTHON_VERSION }}
383383
cache: "pip"
384384
- name: Bootstrap Pants
385-
uses: pantsbuild/actions/init-pants@v8
385+
uses: ./actions/init-pants
386386
with:
387-
gha-cache-key: pants-cache-main-1-deploy-py${{ env.PROJECT_PYTHON_VERSION }}-${{ runner.os }}-${{ runner.arch }}
388-
named-caches-hash: ${{ hashFiles('python*.lock', 'tools/*.lock') }}
389-
cache-lmdb-store: 'false'
387+
named-caches-hash: ${{ github.sha }}
388+
cache-lmdb-store: 'true'
390389
- name: Build both lazy and fat packages
391390
run: |
392391
pants --tag="scie" package '::'
@@ -420,7 +419,7 @@ jobs:
420419
runs-on: ubuntu-22.04
421420
steps:
422421
- name: Check out the revision
423-
uses: actions/checkout@v6
422+
uses: actions/checkout@v5
424423
- name: Fetch remote tags
425424
run: git fetch origin 'refs/tags/*:refs/tags/*' -f
426425
- name: Git LFS Pull
@@ -439,11 +438,10 @@ jobs:
439438
run: |
440439
pip install -U 'packaging>=21.3'
441440
- name: Bootstrap Pants
442-
uses: pantsbuild/actions/init-pants@v8
441+
uses: ./actions/init-pants
443442
with:
444-
gha-cache-key: pants-cache-main-1-deploy-py${{ env.PROJECT_PYTHON_VERSION }}-${{ runner.os }}-${{ runner.arch }}
445-
named-caches-hash: ${{ hashFiles('python*.lock', 'tools/*.lock') }}
446-
cache-lmdb-store: 'false'
443+
named-caches-hash: ${{ github.sha }}
444+
cache-lmdb-store: 'true'
447445
- name: Build wheel packages
448446
run: |
449447
./scripts/build-wheels.sh
@@ -488,7 +486,7 @@ jobs:
488486
contents: write
489487
environment: deploy-to-pypi
490488
steps:
491-
- uses: actions/checkout@v6
489+
- uses: actions/checkout@v5
492490
- name: Fetch remote tags
493491
run: git fetch origin 'refs/tags/*:refs/tags/*' -f
494492
- name: Extract Python version from pants.toml
@@ -632,7 +630,7 @@ jobs:
632630

633631
steps:
634632
- name: Check out the revision
635-
uses: actions/checkout@v6
633+
uses: actions/checkout@v5
636634
- name: Git LFS Pull
637635
run: git lfs pull
638636
- name: Extract Python version from pants.toml

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: [ubuntu-latest-8-cores]
1616
steps:
1717
- name: Checkout the revision
18-
uses: actions/checkout@v6
18+
uses: actions/checkout@v5
1919
with:
2020
fetch-depth: 2
2121
- name: Extract Python version from pants.toml

.github/workflows/devskim.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
security-events: write
2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v6
26+
uses: actions/checkout@v5
2727

2828
- name: Run DevSkim scanner
2929
uses: microsoft/DevSkim-Action@v1

.github/workflows/import-all-smi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@v5
2222

2323
- name: Get release tag
2424
id: get-tag

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout the revision
15-
uses: actions/checkout@v6
15+
uses: actions/checkout@v5
1616
with:
1717
fetch-depth: 2
1818
- name: Create LFS file hash list

.github/workflows/sbom.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout the revision
10-
uses: actions/checkout@v6
10+
uses: actions/checkout@v5
1111
with:
1212
lfs: false
1313
- name: Generate the SBOM report

0 commit comments

Comments
 (0)