Skip to content

Commit 905ad53

Browse files
authored
Merge branch 'main' into copilot/fix-888
2 parents a9b97fc + 1b78bb3 commit 905ad53

File tree

185 files changed

+4795
-3421
lines changed

Some content is hidden

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

185 files changed

+4795
-3421
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,3 @@ body:
113113
+-------------------------------+----------------------+----------------------+
114114
validations:
115115
required: false
116-

.github/ISSUE_TEMPLATE/doc_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ body:
4141
label: If this is a correction, please provide a link to the incorrect documentation. If this is a new documentation request, please link to where you have looked.
4242
placeholder: |
4343
https://nvidia.github.io/cuda-python/latest/
44-

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ closes <!-- Link issue here -->
1111
<!-- TODO: - [ ] I am familiar with the [Contributing Guidelines](). -->
1212
- [ ] New or existing tests cover these changes.
1313
- [ ] The documentation is up to date with these changes.
14-

.github/actions/doc_preview/action.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
using: composite
1919
steps:
2020
# The steps below are executed only when testing in a PR.
21-
# Note: the PR previews will be removed once merged to main (see below)
21+
# Note: the PR previews will be removed once merged to main (see below)
2222
- name: Deploy doc preview
2323
if: ${{ github.ref_name != 'main' }}
2424
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
@@ -28,7 +28,7 @@ runs:
2828
folder: ${{ inputs.source-folder }}
2929
target-folder: docs/pr-preview/pr-${{ inputs.pr-number }}/
3030
commit-message: "Deploy doc preview for PR ${{ inputs.pr-number }} (${{ github.sha }})"
31-
31+
3232
- name: Leave a comment after deployment
3333
if: ${{ github.ref_name != 'main' }}
3434
uses: marocchino/sticky-pull-request-comment@67d0dec7b07ed060a405f9b2a64b8ab319fdd7db # v2.9.2
@@ -41,10 +41,11 @@ runs:
4141
:---:
4242
| <p></p> :rocket: View preview at <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/ <br>
4343
| <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/cuda-core/ <br>
44-
| <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/cuda-bindings/ <br><br>
44+
| <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/cuda-bindings/ <br>
45+
| <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/cuda-pathfinder/ <br><br>
4546
| <h6><br> Preview will be ready when the GitHub Pages deployment is complete. <br><br></h6>
46-
47-
# The steps below are executed only when building on main.
47+
48+
# The steps below are executed only when building on main.
4849
- name: Remove doc preview
4950
if: ${{ github.ref_name == 'main' }}
5051
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
@@ -54,7 +55,7 @@ runs:
5455
folder: ${{ inputs.source-folder }}
5556
target-folder: docs/pr-preview/pr-${{ inputs.pr-number }}/
5657
commit-message: "Clean up doc preview for PR ${{ inputs.pr-number }} (${{ github.sha }})"
57-
58+
5859
- name: Leave a comment after removal
5960
if: ${{ github.ref_name == 'main' }}
6061
uses: marocchino/sticky-pull-request-comment@67d0dec7b07ed060a405f9b2a64b8ab319fdd7db # v2.9.2

.github/actions/install_unix_deps/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
dependencies:
1111
required: true
1212
type: string
13-
dependent_exes:
13+
dependent_exes:
1414
required: true
1515
type: string
1616

.github/dependabot.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,15 @@ updates:
77
- package-ecosystem: github-actions
88
directory: /
99
schedule:
10-
interval: weekly
10+
interval: "monthly"
11+
time: "09:00"
12+
timezone: "America/Los_Angeles"
13+
14+
# Keep churn down: only one open PR from this ecosystem at a time
15+
open-pull-requests-limit: 1
16+
17+
groups:
18+
actions-monthly:
19+
applies-to: version-updates
20+
patterns: ["*"]
21+
update-types: ["minor", "patch"]

.github/workflows/bandit.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ jobs:
2020
security-events: write
2121
steps:
2222
- name: Perform Bandit Analysis
23-
uses: PyCQA/bandit-action@67a458d90fa11fb1463e91e7f4c8f068b5863c7f # v1.0.1
23+
# KEEP IN SYNC WITH bandit rev in .pre-commit-config.yaml
24+
# Current runner uses Python 3.8, so the action installs bandit==1.7.10
25+
# via `pip install bandit[sarif]`. If runner Python moves to >=3.9,
26+
# the action will resolve to 1.8.x and you'll need to bump pre-commit.
27+
# (Bandit >=1.8.0 dropped Python 3.8 via Requires-Python metadata.)
28+
uses: PyCQA/bandit-action@8a1b30610f61f3f792fe7556e888c9d7dffa52de # v1.0.0

.github/workflows/build-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ on:
1919
# - cuda-core
2020
# - cuda-bindings
2121
# - cuda-python
22+
# - cuda-pathfinder
2223
# - all
2324
git-tag:
2425
description: "Target git tag to build docs for"

.github/workflows/build-wheel.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
- name: Check cuda.pathfinder wheel
9797
if: ${{ strategy.job-index == 0 && inputs.host-platform == 'linux-64' }}
9898
run: |
99-
twine check cuda_pathfinder/*.whl
99+
twine check --strict cuda_pathfinder/*.whl
100100
101101
- name: Upload cuda.pathfinder build artifacts
102102
if: ${{ strategy.job-index == 0 && inputs.host-platform == 'linux-64' }}
@@ -107,7 +107,7 @@ jobs:
107107
if-no-files-found: error
108108

109109
- name: Build cuda.core wheel
110-
uses: pypa/cibuildwheel@352e01339f0a173aa2a3eb57f01492e341e83865 # v3.1.3
110+
uses: pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
111111
env:
112112
CIBW_BUILD: ${{ env.CIBW_BUILD }}
113113
CIBW_ARCHS_LINUX: "native"
@@ -132,7 +132,7 @@ jobs:
132132
133133
- name: Check cuda.core wheel
134134
run: |
135-
twine check ${{ env.CUDA_CORE_ARTIFACTS_DIR }}/*.whl
135+
twine check --strict ${{ env.CUDA_CORE_ARTIFACTS_DIR }}/*.whl
136136
137137
- name: Upload cuda.core build artifacts
138138
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
@@ -149,7 +149,7 @@ jobs:
149149
cuda-version: ${{ inputs.cuda-version }}
150150

151151
- name: Build cuda.bindings wheel
152-
uses: pypa/cibuildwheel@352e01339f0a173aa2a3eb57f01492e341e83865 # v3.1.3
152+
uses: pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
153153
env:
154154
CIBW_BUILD: ${{ env.CIBW_BUILD }}
155155
CIBW_ARCHS_LINUX: "native"
@@ -179,7 +179,7 @@ jobs:
179179
180180
- name: Check cuda.bindings wheel
181181
run: |
182-
twine check ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl
182+
twine check --strict ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl
183183
184184
- name: Upload cuda.bindings build artifacts
185185
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
@@ -194,7 +194,7 @@ jobs:
194194
run: |
195195
pushd cuda_python
196196
pip wheel -v --no-deps .
197-
twine check *.whl
197+
twine check --strict *.whl
198198
popd
199199
200200
- name: List the cuda-python artifacts directory

.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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3232

3333
- name: Initialize CodeQL
34-
uses: github/codeql-action/init@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
34+
uses: github/codeql-action/init@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
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@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
41+
uses: github/codeql-action/analyze@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
4242
with:
4343
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)