From c6a24e61dc4c234cdf96d6f872ddc011d1a3b1aa Mon Sep 17 00:00:00 2001 From: "btmt-release-pr[bot]" <358877486+btmt-release-pr[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2026 17:55:11 +0000 Subject: [PATCH] chore(main): release 5.3.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ README.md | 2 +- STANDARDS_VERSION | 2 +- docs/migration-guide.md | 4 ++-- docs/reusable-workflows.md | 6 +++--- .../{% if reusable_lint %}lint.yml{% endif %}.jinja | 2 +- 7 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ce65b73..e3690fe 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.3.0" + ".": "5.3.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index b858e91..44c637a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this standards repository will be documented in this file Release Please generates versioned entries from conventional PR titles; earlier entries were written by hand. +## [5.3.1](https://github.com/BehindTheMusicTree/python-project-standards/compare/v5.3.0...v5.3.1) (2026-12-02) + + +### Bug Fixes + +* **template:** run check.sh tools through the uv venv with python -m ([#31](https://github.com/BehindTheMusicTree/python-project-standards/issues/31)) ([cf93190](https://github.com/BehindTheMusicTree/python-project-standards/commit/cf931903738c097e8b6294efa16442db6ee6d370)) + ## [5.3.0](https://github.com/BehindTheMusicTree/python-project-standards/compare/v5.2.1...v5.3.0) (2026-12-02) diff --git a/README.md b/README.md index d98facd..7a28584 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Not every Python repo should use the same CI shape. Use these tiers: | **A — Library** | Packaged library, multi-OS/Python matrix, `pyproject.toml` dev extras | **Delegated** [`reusable-pre-commit.yml`](.github/workflows/reusable-pre-commit.yml) for lint; **owned** `test.yml` (see [`template/.github/workflows/test.yml`](template/.github/workflows/) + local matrix/coverage) | Thin `lint.yml` caller; full control over test CI | | **B — Service / API** | Django/FastAPI apps, Docker, DB, secrets, long integration jobs | [`reusable-pre-commit.yml`](.github/workflows/reusable-pre-commit.yml), pre-commit + policy templates | Full test / deploy workflows in the app repository | -**Pinning:** Consumer workflows should reference a **release tag** such as **`@v5.3.0`** (or a commit SHA), not **`@main`**; `copier update` bumps the template `lint.yml` pin. See [docs/versioning.md](docs/versioning.md). +**Pinning:** Consumer workflows should reference a **release tag** such as **`@v5.3.1`** (or a commit SHA), not **`@main`**; `copier update` bumps the template `lint.yml` pin. See [docs/versioning.md](docs/versioning.md). **Example Tier B:** [hear-the-music-tree-api](https://github.com/BehindTheMusicTree/hear-the-music-tree-api) keeps database and containerized pytest in its own workflow and may call **reusable pre-commit** only. See that repo’s `docs/ci/python-project-standards.md`. diff --git a/STANDARDS_VERSION b/STANDARDS_VERSION index 03f488b..c7cb131 100644 --- a/STANDARDS_VERSION +++ b/STANDARDS_VERSION @@ -1 +1 @@ -5.3.0 +5.3.1 diff --git a/docs/migration-guide.md b/docs/migration-guide.md index 03bee18..61cc76b 100644 --- a/docs/migration-guide.md +++ b/docs/migration-guide.md @@ -18,7 +18,7 @@ Reusable workflows are resolved **at CI runtime** from this repository. Template Prefer a **release tag** or **commit SHA**, not `main`: ```yaml -uses: BehindTheMusicTree/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.0 # x-release-please-version +uses: BehindTheMusicTree/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.1 # x-release-please-version ``` The template’s `lint.yml` carries this pin, so `copier update` bumps it. Repos with their own caller workflow (`reusable_lint: false`) bump the pin by hand. See [versioning.md](versioning.md). @@ -28,7 +28,7 @@ The template’s `lint.yml` carries this pin, so `copier update` bumps it. Repos Install Copier with an exact pin (for example `uv tool install copier==9.18.2`), then from the repository root: ```bash -copier copy --vcs-ref v5.3.0 gh:BehindTheMusicTree/python-project-standards . --overwrite # x-release-please-version +copier copy --vcs-ref v5.3.1 gh:BehindTheMusicTree/python-project-standards . --overwrite # x-release-please-version git add -p # keep repo-specific hooks and settings the template overwrote ``` diff --git a/docs/reusable-workflows.md b/docs/reusable-workflows.md index 081023a..44be578 100644 --- a/docs/reusable-workflows.md +++ b/docs/reusable-workflows.md @@ -18,7 +18,7 @@ This repository uses the **`reusable-` prefix** as an **organizational conventio ## Requirements - The consumer repo must be allowed to use workflows from this repository (typically same GitHub organization and org settings that permit reusable workflows). -- Pin the callee ref (**prefer `@v5.3.0` or a commit SHA**). Avoid `@main` in production CI so standards updates do not surprise you. +- Pin the callee ref (**prefer `@v5.3.1` or a commit SHA**). Avoid `@main` in production CI so standards updates do not surprise you. ## Reference workflows @@ -33,7 +33,7 @@ This repository uses the **`reusable-` prefix** as an **organizational conventio ```yaml jobs: pre-commit: - uses: YOUR_ORG/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.0 # x-release-please-version + uses: YOUR_ORG/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.1 # x-release-please-version with: python-version: "3.14" install-command: | @@ -55,7 +55,7 @@ on: jobs: lint: - uses: YOUR_ORG/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.0 # x-release-please-version + uses: YOUR_ORG/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.1 # x-release-please-version ``` Override inputs only when needed (see table below). diff --git a/template/.github/workflows/{% if reusable_lint %}lint.yml{% endif %}.jinja b/template/.github/workflows/{% if reusable_lint %}lint.yml{% endif %}.jinja index a3a8e2a..b98ca6f 100644 --- a/template/.github/workflows/{% if reusable_lint %}lint.yml{% endif %}.jinja +++ b/template/.github/workflows/{% if reusable_lint %}lint.yml{% endif %}.jinja @@ -8,7 +8,7 @@ on: jobs: lint: - uses: BehindTheMusicTree/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.0{# x-release-please-version #} + uses: BehindTheMusicTree/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.1{# x-release-please-version #} with: install-command: | python -m pip install --upgrade pip uv