Skip to content

Commit ea24fbc

Browse files
build: set release test version to 0.0.1
1 parent b4f423b commit ea24fbc

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

.agents/skills/publish-package/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ wheels separate from official tag-gated release builds.
1212
|---|---|---|---|---|
1313
| Dev wheel artifact | Manual `publish.yml` dispatch with `build_dev_artifact=true` | GitHub Actions | One-day GitHub artifact | `docs/internal/dev_wheel_artifacts.md` |
1414
| Dev matrix artifact | Manual `publish.yml` dispatch with `build_dev_matrix=true` | GitHub Actions | Full matrix GitHub artifacts | `docs/internal/dev_wheel_artifacts.md` |
15-
| Official release build | Root `v0.1.0`-style tag | GitHub Actions `.github/workflows/publish.yml` | Full release artifact matrix + PyPI Trusted Publishing via `uv publish` | `.github/workflows/publish.yml` |
15+
| Official release build | Root `vMAJOR.MINOR.PATCH` tag | GitHub Actions `.github/workflows/publish.yml` | Full release artifact matrix + PyPI Trusted Publishing via `uv publish` | `.github/workflows/publish.yml` |
1616

1717
GitHub-hosted runners cannot currently reach NVIDIA-internal Artifactory or Kitmaker Portal from
1818
this repo, and GitHub Packages is not a PyPI-compatible package index. Do not add Artifactory,
@@ -26,7 +26,7 @@ changes and the release process is explicitly approved.
2626
- Do not publish dev wheels to PyPI from manual workflow dispatch.
2727
- Keep `.dev` artifacts public-safe because GitHub Actions artifacts may be shared for review.
2828
- Full wheel matrices may run manually for validation, but PyPI publishing belongs only on root
29-
`v0.1.0`-style tag releases.
29+
`vMAJOR.MINOR.PATCH` tag releases.
3030
- Manual dev builds should build exactly one Linux x86_64 wheel artifact with one-day retention.
3131
- Use PyPI Trusted Publishing with the GitHub environment named `pypi`; do not add long-lived PyPI tokens.
3232

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ permissions:
3131

3232
jobs:
3333
# OSS-style split:
34-
# - Root v0.1.0-style tags run validation, build the complete matrix, publish to PyPI, and create a
35-
# GitHub Release.
34+
# - Root vMAJOR.MINOR.PATCH tags run validation, build the complete matrix, publish to
35+
# PyPI, and create a GitHub Release.
3636
# - Manual dev builds create artifacts only. They are useful for branch validation but never
3737
# publish to PyPI.
3838
#
@@ -57,7 +57,7 @@ jobs:
5757
5858
tag = os.environ["GITHUB_REF_NAME"]
5959
if not re.fullmatch(r"v\d+\.\d+\.\d+", tag):
60-
raise SystemExit(f"release tags must look like v0.1.0, got {tag!r}")
60+
raise SystemExit(f"release tags must look like vMAJOR.MINOR.PATCH, got {tag!r}")
6161
6262
with open("pyproject.toml", "rb") as file:
6363
pyproject = tomllib.load(file)

docs/internal/dev_wheel_artifacts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Switchyard currently follows the OSS-style NeMo path for GitHub builds:
77
- regular CI runs tests, linting, type checks, Rust checks, and slim-install smoke checks;
88
- manual dev builds create one Linux x86_64 wheel as a one-day GitHub Actions artifact;
99
- manual dev matrix builds create the full sdist and wheel set as GitHub Actions artifacts;
10-
- root `v0.1.0`-style tags run the complete release validation and wheel matrix;
11-
- public PyPI/GitHub publishing happens only from approved `v0.1.0`-style tag releases.
10+
- root `vMAJOR.MINOR.PATCH` tags run the complete release validation and wheel matrix;
11+
- public PyPI/GitHub publishing happens only from approved `vMAJOR.MINOR.PATCH` tag releases.
1212

1313
Wheel metadata uses the public distribution name `nemo-switchyard`, while the Python import and CLI
1414
stay `switchyard`.
@@ -61,7 +61,7 @@ publish anything to PyPI.
6161

6262
## Official Release Build
6363

64-
Create a root `v0.1.0`-style tag only when a real release has been approved. Tag pushes run:
64+
Create a root `vMAJOR.MINOR.PATCH` tag only when a real release has been approved. Tag pushes run:
6565

6666
- Python release checks on Python 3.12, 3.13, and 3.14;
6767
- Rust fmt, clippy, and workspace tests;
@@ -71,7 +71,7 @@ Create a root `v0.1.0`-style tag only when a real release has been approved. Tag
7171
- native wheel smoke installs where the runner can execute the artifact.
7272

7373
The workflow rejects release tags that do not exactly match `pyproject.toml`'s package version. For
74-
the `0.1.0` release, push the `v0.1.0` tag.
74+
example, package version `0.0.1` must be released with the `v0.0.1` tag.
7575

7676
The official `publish` job uses `uv publish --trusted-publishing always`, so PyPI project creation
7777
and uploads require a matching pending trusted publisher:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "nemo-switchyard"
7-
version = "0.1.0"
7+
version = "0.0.1"
88
description = "Typed, composable LLM routing with request/response translation and multi-backend orchestration"
99
readme = "README.md"
1010
license = "Apache-2.0"

switchyard/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,4 @@ def __getattr__(name: str) -> Any:
240240
"AnyResponseStream",
241241
]
242242

243-
__version__ = "0.1.0"
243+
__version__ = "0.0.1"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)