Skip to content

Commit efebacc

Browse files
committed
Remove temporary CUDA 12 SCM bootstrap after retained milestone
Signed-off-by: Ralf W. Grosse-Kunstleve <[email protected]>
1 parent 264b6c9 commit efebacc

7 files changed

Lines changed: 16 additions & 248 deletions

File tree

‎.github/workflows/ci-pixi-source-test.yml‎

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ on:
5252
- "ci/versions.yml"
5353
- "ci/pyproject.toml"
5454
- "ci/tools/bindings_config.py"
55-
- "ci/tools/bindings_scm_version.py"
5655
- "ci/pixi-version.env"
5756
- ".github/actions/setup-pixi/action.yml"
5857
- ".github/workflows/ci-pixi-source-test.yml"
@@ -110,20 +109,6 @@ jobs:
110109
git submodule sync --recursive
111110
git submodule update --init --force --depth=1 --filter=blob:none --recursive
112111
113-
- name: Set up Python for maintenance preview
114-
if: ${{ matrix.cuda-env == 'cu12' }}
115-
uses: ./.github/actions/setup-hardened-python
116-
with:
117-
python-version: "3.11"
118-
119-
- name: Bootstrap maintenance SCM in this disposable checkout
120-
if: ${{ matrix.cuda-env == 'cu12' }}
121-
env:
122-
SOURCE_SHA: ${{ github.sha }}
123-
run: |
124-
python -m pip install -e ./ci
125-
python -m ci.tools.bindings_scm_version --package-root cuda_bindings_12 --sha "$SOURCE_SHA"
126-
127112
- name: Setup pixi
128113
uses: ./.github/actions/setup-pixi
129114

@@ -276,20 +261,6 @@ jobs:
276261
uses: nv-gha-runners/setup-proxy-cache@main
277262
continue-on-error: true
278263

279-
- name: Set up Python for maintenance preview
280-
if: ${{ matrix.cuda-env == 'cu12' }}
281-
uses: ./.github/actions/setup-hardened-python
282-
with:
283-
python-version: "3.11"
284-
285-
- name: Bootstrap maintenance SCM in this disposable checkout
286-
if: ${{ matrix.cuda-env == 'cu12' }}
287-
env:
288-
SOURCE_SHA: ${{ github.sha }}
289-
run: |
290-
python -m pip install -e ./ci
291-
python -m ci.tools.bindings_scm_version --package-root cuda_bindings_12 --sha "$SOURCE_SHA"
292-
293264
- name: Setup pixi
294265
uses: ./.github/actions/setup-pixi
295266

‎AGENTS.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,17 @@ For each package tag namespace and target release `X.Y.Z`:
5959
existing history.
6060
- Treat pushed tags as immutable. Correct an unsuitable tagged state with a
6161
new versioned milestone rather than moving or replacing the existing tag.
62-
- Before setting or changing `scm-bootstrap-release`, check canonical tags
63-
and coordinate with release maintainers. Use an unused release number,
64-
including releases tagged on other branches; keep the same target across
65-
builds until release coordination requires a change.
62+
- Before reserving a release number or creating an internal milestone, check
63+
canonical tags and coordinate with release maintainers. Use an unused release
64+
number, including releases tagged on other branches; keep the same target
65+
across builds until release coordination requires a change.
6666

6767
Use the package's established tag namespace, such as `vX.Y.Z...` for
6868
`cuda-bindings` and `cuda-python`, `cuda-core-vX.Y.Z...` for `cuda-core`, and
69-
`cuda-pathfinder-vX.Y.Z...` for `cuda-pathfinder`. Builds that support the
70-
pre-tag bootstrap should validate the resulting release tuple rather than
71-
hard-code the expected alpha/development suffix, and should report the
72-
effective `git describe` result for traceability.
69+
`cuda-pathfinder-vX.Y.Z...` for `cuda-pathfinder`. Build validation should
70+
check the resulting release tuple rather than hard-code the expected
71+
alpha/development suffix, and report the effective `git describe` result for
72+
traceability.
7373

7474
# Contributions
7575

‎ci/pyproject.toml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ requires-python = ">=3.11"
1515
dependencies = [
1616
"packaging==26.0",
1717
"PyYAML==6.0.3",
18-
"setuptools-scm[simple]>=8,!=10.1",
1918
]
2019

2120
[project.optional-dependencies]
22-
test = ["pathspec==0.12.1", "pytest==9.1.0", "wheel"]
21+
test = [
22+
"pathspec==0.12.1",
23+
"pytest==9.1.0",
24+
"setuptools-scm[simple]>=8,!=10.1",
25+
"wheel",
26+
]
2327

2428
[tool.setuptools]
2529
packages = ["ci", "ci.tools"]

‎ci/tools/bindings_scm_version.py‎

Lines changed: 0 additions & 124 deletions
This file was deleted.

‎ci/tools/tests/test_bindings_scm_version.py‎

Lines changed: 0 additions & 78 deletions
This file was deleted.

‎cuda_bindings_12/README.md‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@ Use `build_tests.bat` on Windows. Free-threaded Python also needs the
3737
`test-ft` dependency group.
3838

3939
Versions follow reachable `v12.*` tags through standard `setuptools-scm`.
40-
Before a retained milestone exists for the reserved preview release, CI uses
41-
`ci.tools.bindings_scm_version` in its disposable checkout to create one
42-
local ancestor tag. Never run that helper in a shared development repository
43-
or push its synthetic tags. See the repository's
40+
The retained `v12.9.11a0` milestone on `main` anchors CUDA 12 development
41+
versions. See the repository's
4442
[version lifecycle](../AGENTS.md#git-derived-version-lifecycle).
4543

4644

‎cuda_bindings_12/pyproject.toml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,3 @@ exclude = ["cuda/bindings/_version.py"]
144144
root = ".."
145145
version_file = "cuda/bindings/_version.py"
146146
git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "v12.*"]
147-
148-
[tool.cuda-python]
149-
scm-bootstrap-release = "12.9.11"

0 commit comments

Comments
 (0)