Skip to content

Commit 284abb2

Browse files
committed
Merge remote-tracking branch 'origin/main' into cythonize-linker
Conflict resolution: Kept our Cythonized _linker.pyx (HEAD) over main's _linker.py. The only change from main was ruff import sorting which doesn't apply to our complete Cython rewrite. Made-with: Cursor
2 parents 6516e11 + 963612d commit 284abb2

164 files changed

Lines changed: 8039 additions & 1742 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.

.coveragerc

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
[report]
5-
show_missing = true
4+
[paths]
5+
source =
6+
cuda\
7+
cuda/
68

79
[run]
810
plugins = Cython.Coverage
911
core = ctrace
12+
branch = False
13+
relative_files = True
14+
# Omits specific definition files that causes plugin errors
15+
omit =
16+
*/windll.pxd
17+
*/_lib/windll.pxd
18+
*/_lib/utils.pxd
19+
20+
[report]
21+
show_missing = true
22+
precision = 2
23+
24+
[html]
25+
show_contexts = True

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
version: 2
66
updates:
7+
# GitHub Actions updates targeting the default branch (main)
78
- package-ecosystem: github-actions
89
directory: /
910
schedule:
@@ -19,3 +20,21 @@ updates:
1920
applies-to: version-updates
2021
patterns: ["*"]
2122
update-types: ["major", "minor", "patch"]
23+
24+
# GitHub Actions updates targeting the 12.9.x branch
25+
- package-ecosystem: github-actions
26+
directory: /
27+
target-branch: "12.9.x" # keep in sync with backport_branch in ci/versions.yml
28+
schedule:
29+
interval: "monthly"
30+
time: "09:00"
31+
timezone: "America/Los_Angeles"
32+
33+
# Keep churn down: only one open PR from this ecosystem at a time
34+
open-pull-requests-limit: 1
35+
36+
groups:
37+
actions-monthly:
38+
applies-to: version-updates
39+
patterns: ["*"]
40+
update-types: ["major", "minor", "patch"]

.github/workflows/backport.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
echo "OLD_BRANCH=${OLD_BRANCH}" >> $GITHUB_ENV
4444
4545
- name: Create backport pull requests
46-
uses: korthout/backport-action@c656f5d5851037b2b38fb5db2691a03fa229e3b2 # v4.0.1
46+
uses: korthout/backport-action@01619ebc9a6e3f6820274221b9956b3e7365000a # v4.1.0
4747
with:
4848
copy_assignees: true
4949
copy_labels_pattern: true
@@ -67,7 +67,7 @@ jobs:
6767
run: echo "BACKPORT_BRANCH=${{ inputs.backport-branch }}" >> $GITHUB_ENV
6868

6969
- name: Create backport pull requests
70-
uses: korthout/backport-action@c656f5d5851037b2b38fb5db2691a03fa229e3b2 # v4.0.1
70+
uses: korthout/backport-action@01619ebc9a6e3f6820274221b9956b3e7365000a # v4.1.0
7171
with:
7272
copy_assignees: true
7373
copy_labels_pattern: true

.github/workflows/bandit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424

2525
- name: Install uv
26-
uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7.2.1
26+
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
2727
with:
2828
enable-cache: false
2929

@@ -42,6 +42,6 @@ jobs:
4242
with:
4343
args: "check --select S --ignore ${{ steps.ignore-codes.outputs.codes }} --output-format sarif --output-file results.sarif"
4444
- name: Upload SARIF file
45-
uses: github/codeql-action/upload-sarif@v4.32.0
45+
uses: github/codeql-action/upload-sarif@v4.32.4
4646
with:
4747
sarif_file: results.sarif

.github/workflows/build-docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
echo "CUDA_BINDINGS_ARTIFACTS_DIR=$(realpath "$REPO_DIR/cuda_bindings/dist")" >> $GITHUB_ENV
110110
111111
- name: Download cuda-python build artifacts
112-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
112+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
113113
with:
114114
name: cuda-python-wheel
115115
path: .
@@ -122,7 +122,7 @@ jobs:
122122
ls -lahR .
123123
124124
- name: Download cuda-pathfinder build artifacts
125-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
125+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
126126
with:
127127
name: cuda-pathfinder-wheel
128128
path: ./cuda_pathfinder
@@ -136,14 +136,14 @@ jobs:
136136
137137
- name: Download cuda.bindings build artifacts
138138
if: ${{ !inputs.is-release }}
139-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
139+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
140140
with:
141141
name: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
142142
path: ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
143143

144144
- name: Download cuda.bindings build artifacts
145145
if: ${{ inputs.is-release }}
146-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
146+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
147147
with:
148148
pattern: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
149149
merge-multiple: true
@@ -158,14 +158,14 @@ jobs:
158158
159159
- name: Download cuda.core build artifacts
160160
if: ${{ !inputs.is-release }}
161-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
161+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
162162
with:
163163
name: ${{ env.CUDA_CORE_ARTIFACT_NAME }}
164164
path: ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
165165

166166
- name: Download cuda.core build artifacts
167167
if: ${{ inputs.is-release }}
168-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
168+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
169169
with:
170170
pattern: ${{ env.CUDA_CORE_ARTIFACT_NAME }}
171171
merge-multiple: true

.github/workflows/build-wheel.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
137137
- name: Upload cuda.pathfinder build artifacts
138138
if: ${{ strategy.job-index == 0 && inputs.host-platform == 'linux-64' }}
139-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
139+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
140140
with:
141141
name: cuda-pathfinder-wheel
142142
path: cuda_pathfinder/*.whl
@@ -197,7 +197,7 @@ jobs:
197197
twine check --strict ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl
198198
199199
- name: Upload cuda.bindings build artifacts
200-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
200+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
201201
with:
202202
name: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}
203203
path: ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl
@@ -284,7 +284,7 @@ jobs:
284284
285285
- name: Upload cuda-python build artifacts
286286
if: ${{ strategy.job-index == 0 && inputs.host-platform == 'linux-64' }}
287-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
287+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
288288
with:
289289
name: cuda-python-wheel
290290
path: cuda_python/*.whl
@@ -322,7 +322,7 @@ jobs:
322322
popd
323323
324324
- name: Upload cuda.bindings Cython tests
325-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
325+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
326326
with:
327327
name: ${{ env.CUDA_BINDINGS_ARTIFACT_NAME }}-tests
328328
path: ${{ env.CUDA_BINDINGS_CYTHON_TESTS_DIR }}/test_*${{ env.PY_EXT_SUFFIX }}
@@ -336,7 +336,7 @@ jobs:
336336
popd
337337
338338
- name: Upload cuda.core Cython tests
339-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
339+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
340340
with:
341341
name: ${{ env.CUDA_CORE_ARTIFACT_NAME }}-tests
342342
path: ${{ env.CUDA_CORE_CYTHON_TESTS_DIR }}/test_*${{ env.PY_EXT_SUFFIX }}
@@ -455,7 +455,7 @@ jobs:
455455
twine check --strict ${{ env.CUDA_CORE_ARTIFACTS_DIR }}/*.whl
456456
457457
- name: Upload cuda.core build artifacts
458-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
458+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
459459
with:
460460
name: ${{ env.CUDA_CORE_ARTIFACT_NAME }}
461461
path: ${{ env.CUDA_CORE_ARTIFACTS_DIR }}/*.whl

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232

3333
- name: Initialize CodeQL
34-
uses: github/codeql-action/init@f985be5b50bd175586d44aac9ac52926adf12893 # v3.31.8
34+
uses: github/codeql-action/init@0ec47d036c68ae0cf94c629009b1029407111281 # v3.31.8
3535
with:
3636
languages: ${{ matrix.language }}
3737
build-mode: ${{ matrix.build-mode }}
3838
queries: security-extended
3939

4040
- name: Perform CodeQL Analysis
41-
uses: github/codeql-action/analyze@f985be5b50bd175586d44aac9ac52926adf12893 # v3.31.8
41+
uses: github/codeql-action/analyze@0ec47d036c68ae0cf94c629009b1029407111281 # v3.31.8
4242
with:
4343
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)