Skip to content

Commit 65d03ae

Browse files
committed
Merge main into CUDA 12 staged configuration
Preserve current toolkit and tooling updates, and refresh certificate trust inside the Linux GPU test container. Signed-off-by: Ralf W. Grosse-Kunstleve <[email protected]>
2 parents 7798130 + ddc2a2a commit 65d03ae

204 files changed

Lines changed: 10859 additions & 3211 deletions

File tree

Some content is hidden

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

‎.github/actions/doc_preview/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ runs:
2020
steps:
2121
- name: Deploy doc preview
2222
if: ${{ startsWith(github.ref_name, 'pull-request/') }}
23-
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4.8.0
23+
uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0
2424
with:
2525
git-config-name: cuda-python-bot
2626
git-config-email: [email protected]
@@ -35,7 +35,7 @@ runs:
3535

3636
- name: Leave a comment after deployment
3737
if: ${{ startsWith(github.ref_name, 'pull-request/') }}
38-
uses: marocchino/sticky-pull-request-comment@d4d6b0936434b21bc8345ad45a440c5f7d2c40ff # v3.0.3
38+
uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
3939
with:
4040
header: pr-preview
4141
number: ${{ inputs.pr-number }}

‎.github/actions/fetch_ctk/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ runs:
9292
9393
- name: Download CTK cache
9494
id: ctk-get-cache
95-
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
95+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
9696
continue-on-error: true
9797
with:
9898
key: ${{ env.CTK_CACHE_KEY }}
@@ -182,7 +182,7 @@ runs:
182182
- name: Upload CTK cache
183183
if: ${{ !cancelled() &&
184184
steps.ctk-get-cache.outputs.cache-hit != 'true' }}
185-
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
185+
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
186186
with:
187187
key: ${{ env.CTK_CACHE_KEY }}
188188
path: ./${{ env.CTK_CACHE_FILENAME }}

‎.github/actions/griffe-api-check/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
using: composite
2626
steps:
2727
- name: Install uv
28-
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
28+
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
2929
with:
3030
enable-cache: false
3131

‎.github/actions/install_unix_deps/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

‎.github/actions/lychee-links/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ runs:
138138

139139
- name: Upload link-check reports
140140
if: ${{ always() }}
141-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
141+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
142142
with:
143143
name: lychee-${{ inputs.kind }}-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }}
144144
path: ${{ runner.temp }}/lychee-reports/

‎.github/actions/upgrade-ca-certificates/emudhra_intermediates.ps1‎

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,56 @@ function Test-ExplicitlyDistrusted([System.Security.Cryptography.X509Certificate
6969
$chain.Dispose()
7070
}
7171
}
72+
73+
# Classifies how Windows chain building treats the certificate, using only the
74+
# local trust state (no revocation, no AIA downloads):
75+
# ExplicitDistrust : in LocalMachine\Disallowed or Microsoft's disallowed list
76+
# NoTrustAnchor : the chain no longer ends in a trusted root, and
77+
# UntrustedRoot / PartialChain are the only problems
78+
# reported, e.g. because the root was removed
79+
# Trusted : the chain builds cleanly, so the compromised key is usable
80+
# Indeterminate : the build failed for some other reason; never a pass
81+
# Verification time is pinned (the instant used by runner_trust_probe.sh) so an
82+
# expired certificate cannot masquerade as untrusted.
83+
# A PartialChain only shows that the root is untrusted if the issuers are
84+
# available to the build, so callers pass the non-root issuers in
85+
# $ExtraCertificates. Issuers that are roots need not be supplied: a missing
86+
# root is exactly the condition this function reports as NoTrustAnchor.
87+
function Get-ChainTrustState(
88+
[System.Security.Cryptography.X509Certificates.X509Certificate2]$Cert,
89+
[System.Security.Cryptography.X509Certificates.X509Certificate2[]]$ExtraCertificates = @()
90+
) {
91+
$explicitDistrust = [System.Security.Cryptography.X509Certificates.X509ChainStatusFlags]::ExplicitDistrust
92+
$noAnchor = [int]([System.Security.Cryptography.X509Certificates.X509ChainStatusFlags]::UntrustedRoot -bor
93+
[System.Security.Cryptography.X509Certificates.X509ChainStatusFlags]::PartialChain)
94+
$chain = [System.Security.Cryptography.X509Certificates.X509Chain]::new()
95+
try {
96+
foreach ($extra in $ExtraCertificates) {
97+
[void]$chain.ChainPolicy.ExtraStore.Add($extra)
98+
}
99+
$chain.ChainPolicy.RevocationMode = [System.Security.Cryptography.X509Certificates.X509RevocationMode]::NoCheck
100+
$chain.ChainPolicy.VerificationTime = [DateTime]::new(2026, 10, 23, 0, 0, 0, [DateTimeKind]::Utc)
101+
# DisableCertificateDownloads does not exist on .NET Framework (Windows PowerShell 5.1).
102+
if ($chain.ChainPolicy | Get-Member -Name DisableCertificateDownloads) {
103+
$chain.ChainPolicy.DisableCertificateDownloads = $true
104+
}
105+
$built = $chain.Build($Cert)
106+
$statuses = @($chain.ChainStatus) + @($chain.ChainElements | ForEach-Object { $_.ChainElementStatus })
107+
$names = @($statuses | ForEach-Object { $_.Status.ToString() } | Where-Object { $_ -ne 'NoError' } | Sort-Object -Unique)
108+
if ($statuses | Where-Object { $_.Status.HasFlag($explicitDistrust) }) {
109+
$state = 'ExplicitDistrust'
110+
} elseif ($built) {
111+
$state = 'Trusted'
112+
} elseif (
113+
($statuses | Where-Object { ([int]$_.Status -band $noAnchor) -ne 0 }) -and
114+
-not ($statuses | Where-Object { ([int]$_.Status -band (-bnot $noAnchor)) -ne 0 })
115+
) {
116+
$state = 'NoTrustAnchor'
117+
} else {
118+
$state = 'Indeterminate'
119+
}
120+
return [pscustomobject]@{ State = $state; Statuses = ($names -join ',') }
121+
} finally {
122+
$chain.Dispose()
123+
}
124+
}

‎.github/copy-pr-bot.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

44
# Configuration file for `copy-pr-bot` GitHub App

‎.github/workflows/bandit.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2727

2828
- name: Install uv
29-
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
29+
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
3030
with:
3131
enable-cache: false
3232

@@ -45,6 +45,6 @@ jobs:
4545
with:
4646
args: "check --select S --ignore ${{ steps.ignore-codes.outputs.codes }} --output-format sarif --output-file results.sarif"
4747
- name: Upload SARIF file
48-
uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3
48+
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
4949
with:
5050
sarif_file: results.sarif

‎.github/workflows/build-wheel.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
# xref: https://github.com/orgs/community/discussions/42856#discussioncomment-7678867
9292
- name: Adding addtional GHA cache-related env vars
9393
if: ${{ env.BUILD_BINDINGS == 'true' || env.BUILD_CORE == 'true' }}
94-
uses: actions/github-script@v9
94+
uses: actions/github-script@v9.0.0
9595
with:
9696
script: |
9797
core.exportVariable('ACTIONS_CACHE_SERVICE_V2', 'on');
@@ -226,7 +226,7 @@ jobs:
226226

227227
- name: Build cuda.bindings wheel
228228
if: ${{ env.BUILD_BINDINGS == 'true' }}
229-
uses: pypa/cibuildwheel@b9e566a2b284570af229f6c2a33673410d0389a3 # v4.3.4
229+
uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5
230230
with:
231231
package-dir: ./cuda_bindings_13/
232232
output-dir: ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
@@ -328,7 +328,7 @@ jobs:
328328

329329
- name: Build cuda.core wheel
330330
if: ${{ env.BUILD_CORE == 'true' }}
331-
uses: pypa/cibuildwheel@b9e566a2b284570af229f6c2a33673410d0389a3 # v4.3.4
331+
uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5
332332
with:
333333
package-dir: ./cuda_core/
334334
output-dir: ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
@@ -611,7 +611,7 @@ jobs:
611611
612612
- name: Build cuda.core wheel
613613
if: ${{ !inputs.single-cuda-major && env.BUILD_CORE == 'true' }}
614-
uses: pypa/cibuildwheel@b9e566a2b284570af229f6c2a33673410d0389a3 # v4.3.4
614+
uses: pypa/cibuildwheel@f9b966cfadf4109556cadc5bb39ddb72d0ce664e # v4.3.5
615615
with:
616616
package-dir: ./cuda_core/
617617
output-dir: ${{ env.CUDA_CORE_ARTIFACTS_DIR }}

‎.github/workflows/ci-nightly.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565

6666
- name: Run CI tools unit tests
6767
run: |
68-
python -m pip install pytest==9.1.0 pyyaml==6.0.3 "setuptools-scm[simple]>=8,!=10.1"
68+
python -m pip install pytest==9.1.0 pyyaml==6.0.3 pathspec==0.12.1 "setuptools-scm[simple]>=8,!=10.1"
6969
python -m pytest -v ci/tools/tests
7070
7171
find-wheels:

0 commit comments

Comments
 (0)