From e40a048d37ecbc646d26cf20ab66df5bbdd16f82 Mon Sep 17 00:00:00 2001 From: Kyle Oliver Date: Wed, 16 Jul 2025 21:56:33 -0400 Subject: [PATCH 1/3] chore: update demo to the latest cookiecutter-robust-python --- .cookiecutter.json | 2 +- .cruft.json | 4 +- .github/workflows/build-python.yml | 60 ---------------------------- .github/workflows/release-python.yml | 3 ++ 4 files changed, 6 insertions(+), 63 deletions(-) delete mode 100644 .github/workflows/build-python.yml diff --git a/.cookiecutter.json b/.cookiecutter.json index 7fbc729..602ccb9 100644 --- a/.cookiecutter.json +++ b/.cookiecutter.json @@ -1,5 +1,5 @@ { - "_commit": "e75916b0cb7d49cc8b12acaf0af9098ec3ccca28", + "_commit": "a80195693b4b6bc5a6e6b9e968dc3c827bb2a051", "_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python", "add_rust_extension": false, "author": "Kyle Oliver", diff --git a/.cruft.json b/.cruft.json index b2e1bf5..e0c5a1c 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python", - "commit": "e75916b0cb7d49cc8b12acaf0af9098ec3ccca28", + "commit": "a80195693b4b6bc5a6e6b9e968dc3c827bb2a051", "checkout": null, "context": { "cookiecutter": { @@ -18,7 +18,7 @@ "license": "MIT", "development_status": "Development Status :: 1 - Planning", "_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python", - "_commit": "e75916b0cb7d49cc8b12acaf0af9098ec3ccca28" + "_commit": "a80195693b4b6bc5a6e6b9e968dc3c827bb2a051" } }, "directory": null diff --git a/.github/workflows/build-python.yml b/.github/workflows/build-python.yml deleted file mode 100644 index 18228a5..0000000 --- a/.github/workflows/build-python.yml +++ /dev/null @@ -1,60 +0,0 @@ -# .github/workflows/build-package-python.yml -# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions - -name: Build Python Package - -on: - pull_request: - paths: - - "src/**/*.py" - - "tests/**/*.py" # Test files shouldn't trigger *build* unless needed? Consider paths carefully. - - "noxfile.py" # Build task config - - "pyproject.toml" # Packaging config (metadata, deps, build system) - - ".github/workflows/build-python.yml" - - "rust/**/*.rs" - # Add paths to other relevant build-related files (e.g., manifest files) - push: - branches: - - main - - master - paths: - - "src/**/*.py" - - "tests/**/*.py" - - "noxfile.py" - - "pyproject.toml" - - ".github/workflows/build-python.yml" - - # This workflow is also triggered explicitly as part of the CD workflow. - # workflow_dispatch: # Remove if only triggered by push/PR or other workflows - -jobs: - build-package-python: - name: Run Python Package Build Check on ${{ matrix.os }} - # Building pure Python packages should work reliably across OSs. - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - fail-fast: false - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Install uv - uses: astral-sh/setup-uv@v6 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version-file: ".github/workflows/.python-version" - - - name: Run package build - run: uvx nox -s build-python - - - name: Upload built packages artifact - uses: actions/upload-artifact@v4 - with: - name: distribution-packages-${{ github.event.inputs.tag }} - path: dist/ - retention-days: 7 diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 5777997..7f4060d 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -54,6 +54,9 @@ jobs: with: python-version-file: ".github/workflows/.python-version" + - name: Run package build + run: uvx nox -s build-python + - name: Upload built package artifacts uses: actions/upload-artifact@v4 with: From 293539bc84a68d89060838b151a20d648b458c34 Mon Sep 17 00:00:00 2001 From: Kyle Oliver Date: Wed, 16 Jul 2025 22:03:03 -0400 Subject: [PATCH 2/3] chore: update demo to the latest cookiecutter-robust-python --- .cookiecutter.json | 2 +- .cruft.json | 4 ++-- noxfile.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cookiecutter.json b/.cookiecutter.json index 602ccb9..eb8bcd7 100644 --- a/.cookiecutter.json +++ b/.cookiecutter.json @@ -1,5 +1,5 @@ { - "_commit": "a80195693b4b6bc5a6e6b9e968dc3c827bb2a051", + "_commit": "4f973550456b326aa3547fee2ae81286659f51b0", "_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python", "add_rust_extension": false, "author": "Kyle Oliver", diff --git a/.cruft.json b/.cruft.json index e0c5a1c..6f1267b 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python", - "commit": "a80195693b4b6bc5a6e6b9e968dc3c827bb2a051", + "commit": "4f973550456b326aa3547fee2ae81286659f51b0", "checkout": null, "context": { "cookiecutter": { @@ -18,7 +18,7 @@ "license": "MIT", "development_status": "Development Status :: 1 - Planning", "_template": "C:\\Users\\56kyl\\source\\repos\\cookiecutter-robust-python", - "_commit": "a80195693b4b6bc5a6e6b9e968dc3c827bb2a051" + "_commit": "4f973550456b326aa3547fee2ae81286659f51b0" } }, "directory": null diff --git a/noxfile.py b/noxfile.py index 6604314..fad5d75 100644 --- a/noxfile.py +++ b/noxfile.py @@ -201,7 +201,7 @@ def setup_release(session: Session) -> None: """ session.log("Setting up release...") - session.run("python", SCRIPTS_FOLDER / "setup-release.py", external=True) + session.run("python", SCRIPTS_FOLDER / "setup-release.py", *session.posargs, external=True) @nox.session(python=False, name="get-release-notes", tags=[RELEASE]) From 9579ef3699fc0988cf19e9aad79577be14cf2104 Mon Sep 17 00:00:00 2001 From: Kyle Oliver Date: Wed, 16 Jul 2025 22:03:22 -0400 Subject: [PATCH 3/3] =?UTF-8?q?bump:=20version=200.1.0=20=E2=86=92=200.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52aea68..bc709d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## v0.2.0 (2025-07-16) + ## v0.1.0 (2025-07-16) ### Feat diff --git a/pyproject.toml b/pyproject.toml index 3a8d4d2..4d9d381 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "robust-python-demo" -version = "0.1.0" +version = "0.2.0" description = "robust-python-demo" authors = [ { name = "Kyle Oliver", email = "56kyleoliver+cookiecutter-robust-python@gmail.com" },