Skip to content

Commit e6f93ee

Browse files
authored
Merge pull request #8 from 56kyle/release/0.4.0
Release/0.4.0
2 parents 74102f8 + c3f19a4 commit e6f93ee

File tree

8 files changed

+28
-39
lines changed

8 files changed

+28
-39
lines changed

.cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_commit": "e43ac97858d8d40be0104a7a313ed12bcf9e1ab7",
2+
"_commit": "f5a057a9bfb8d9a20e7c233c4f5a11659fc1eac5",
33
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
44
"add_rust_extension": false,
55
"author": "Kyle Oliver",

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
3-
"commit": "e43ac97858d8d40be0104a7a313ed12bcf9e1ab7",
3+
"commit": "f5a057a9bfb8d9a20e7c233c4f5a11659fc1eac5",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -18,7 +18,7 @@
1818
"license": "MIT",
1919
"development_status": "Development Status :: 1 - Planning",
2020
"_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python",
21-
"_commit": "e43ac97858d8d40be0104a7a313ed12bcf9e1ab7"
21+
"_commit": "f5a057a9bfb8d9a20e7c233c4f5a11659fc1eac5"
2222
}
2323
},
2424
"directory": null

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## v0.4.0 (2025-07-18)
2+
13
## v0.3.0 (2025-07-16)
24

35
## v0.2.0 (2025-07-16)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Robust Python Demo."""
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"""Command-line interface."""
2+
3+
import typer
4+
5+
6+
app: typer.Typer = typer.Typer()
7+
8+
9+
@app.command(name="robust-python-demo")
10+
def main() -> None:
11+
"""Robust Python Demo."""
12+
13+
14+
if __name__ == "__main__":
15+
app() # pragma: no cover

build/lib/robust_python_demo/py.typed

Whitespace-only changes.

noxfile.py

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -211,41 +211,6 @@ def get_release_notes(session: Session) -> None:
211211
session.run("python", SCRIPTS_FOLDER / "get-release-notes.py", *session.posargs, external=True)
212212

213213

214-
@nox.session(python=False, tags=[RELEASE])
215-
def release(session: Session) -> None:
216-
"""Run the release process using Commitizen.
217-
218-
Requires uvx in PATH (from uv install). Requires Git. Assumes Conventional Commits.
219-
Optionally accepts increment (major, minor, patch) after '--'.
220-
"""
221-
session.log("Running release process using Commitizen...")
222-
try:
223-
session.run("git", "version", success_codes=[0], external=True, silent=True)
224-
except CommandFailed:
225-
session.log("Git command not found. Commitizen requires Git.")
226-
session.skip("Git not available.")
227-
228-
session.log("Checking Commitizen availability via uvx.")
229-
session.run("uvx", "--from=commitizen", "cz", "version", success_codes=[0])
230-
231-
increment = session.posargs[0] if session.posargs else None
232-
session.log(
233-
"Bumping version and tagging release (increment: %s).",
234-
increment if increment else "default",
235-
)
236-
237-
cz_bump_args = ["uvx", "--from=commitizen", "cz", "bump", "--changelog"]
238-
239-
if increment:
240-
cz_bump_args.append(f"--increment={increment}")
241-
242-
session.log("Running cz bump with args: %s", cz_bump_args)
243-
session.run(*cz_bump_args, success_codes=[0, 1], external=True)
244-
245-
session.log("Version bumped and tag created locally via Commitizen/uvx.")
246-
session.log("IMPORTANT: Push commits and tags to remote (`git push --follow-tags`) to trigger CD pipeline.")
247-
248-
249214
@nox.session(python=False, name="publish-python", tags=[RELEASE])
250215
def publish_python(session: Session) -> None:
251216
"""Publish sdist and wheel packages to PyPI via uv publish.

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "robust-python-demo"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
description = "robust-python-demo"
55
authors = [
66
{ name = "Kyle Oliver", email = "56kyleoliver+cookiecutter-robust-python@gmail.com" },
@@ -50,6 +50,12 @@ docs = [
5050
Homepage = "https://github.com/56kyle/robust-python-demo"
5151
Repository = "https://github.com/56kyle/robust-python-demo"
5252

53+
[[tool.uv.index]]
54+
name = "testpypi"
55+
url = "https://test.pypi.org/simple/"
56+
publish-url = "https://test.pypi.org/legacy/"
57+
explicit = true
58+
5359
[build-system]
5460
requires = ["setuptools>=61.0"]
5561
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)