Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "5.2.1"
".": "5.3.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0](https://github.com/BehindTheMusicTree/python-project-standards/compare/v5.2.1...v5.3.0) (2026-12-02)


### Features

* **template:** add uv validation contract via scripts/check.sh ([#28](https://github.com/BehindTheMusicTree/python-project-standards/issues/28)) ([99bb393](https://github.com/BehindTheMusicTree/python-project-standards/commit/99bb39309a09c65973b8fd2e47eb7174759ffcae))

## [5.2.1] - 2026-11-25

### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2.1`** (or a commit SHA), not **`@main`**; `copier update` bumps the template `lint.yml` pin. See [docs/versioning.md](docs/versioning.md). <!-- x-release-please-version -->
**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). <!-- x-release-please-version -->

**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`.

Expand Down
2 changes: 1 addition & 1 deletion STANDARDS_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.1
5.3.0
4 changes: 2 additions & 2 deletions docs/migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2.1 # x-release-please-version
uses: BehindTheMusicTree/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.0 # 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).
Expand All @@ -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.2.1 gh:BehindTheMusicTree/python-project-standards . --overwrite # x-release-please-version
copier copy --vcs-ref v5.3.0 gh:BehindTheMusicTree/python-project-standards . --overwrite # x-release-please-version
git add -p # keep repo-specific hooks and settings the template overwrote
```

Expand Down
6 changes: 3 additions & 3 deletions docs/reusable-workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2.1` or a commit SHA**). Avoid `@main` in production CI so standards updates do not surprise you. <!-- x-release-please-version -->
- Pin the callee ref (**prefer `@v5.3.0` or a commit SHA**). Avoid `@main` in production CI so standards updates do not surprise you. <!-- x-release-please-version -->

## Reference workflows

Expand All @@ -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.2.1 # x-release-please-version
uses: YOUR_ORG/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.0 # x-release-please-version
with:
python-version: "3.14"
install-command: |
Expand All @@ -55,7 +55,7 @@ on:

jobs:
lint:
uses: YOUR_ORG/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.2.1 # x-release-please-version
uses: YOUR_ORG/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.0 # x-release-please-version
```

Override inputs only when needed (see table below).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
lint:
uses: BehindTheMusicTree/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.2.1{# x-release-please-version #}
uses: BehindTheMusicTree/python-project-standards/.github/workflows/reusable-pre-commit.yml@v5.3.0{# x-release-please-version #}
with:
install-command: |
python -m pip install --upgrade pip uv
Expand Down
Loading