Skip to content

build: prepare the 0.3.0 release train - #64

Merged
uniqueg merged 1 commit into
devfrom
build/release-0.3.0
Nov 9, 2026
Merged

uniqueg merged 1 commit into
devfrom
build/release-0.3.0

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Closes #63

Summary

  • Prepare the releases as docs/releasing.md sets out: both plugins to 0.1.3 (the FOCA range only widened, to foca>=0.18.0,<0.23 in build: support FOCA 0.21 #56 and build: support FOCA 0.22 #62: patch), foca-plugins to 0.3.0 (adding FOCA versions: minor), with the new pins, changelog sections (## Unreleased turned into ## 0.1.3 / ## 0.3.0 with intro paragraphs) and uv.lock.
  • README and docs/installing.md name the new versions (0.1.3, foca-plugins 0.3.0), as the docs of a tag can't be changed.
  • CITATION.cff stays as it is: it deliberately has no version or date, as the repository holds several distributions.
  • proTES 0.6.0 (FOCA 0.22.0) pins foca-plugins[generic-routing,tes-routing]==0.3.0 once this train is on PyPI.

Light lane: only versions, pins, changelogs, docs and the lock change (same scope as the release part of #54), with no plugin source and no change to secrets, permissions or the release workflow.

Release order (maintainer, after the merge)

Fast-forward main to the merge commit, push foca-plugin-generic-routing-random-v0.1.3 and foca-plugin-tes-routing-distance-v0.1.3, and push foca-plugins-v0.3.0 only once both plugin releases are green (the meta build checks its pins on PyPI).

How it was verified

Locally with FOCA 0.22.0 from the lock (Python 3.13):

  • python -m scripts.checks check: passes.
  • python -m scripts.release notes <tag> for all three tags: renders the intro and the grouped sections.
  • pre-commit run --all-files: all hooks pass (incl. mypy and package conventions).
  • Tests of the scripts: 139 passed. Plugins: 24, 141 and 15 tests passed.
  • Not run locally: mkdocs build --strict (version numbers in two sentences only) and the other Python and FOCA combinations; CI runs them.

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Prepare the FOCA 0.3.0 release train with new plugin releases, updated pins, release notes, documentation, and locked dependencies.

Enhancements:

  • Prepare the 0.3.0 release train with updated plugin versions and FOCA 0.22 compatibility.
  • Pin the meta-distribution extras to the new plugin releases and refresh the dependency lockfile.

Documentation:

  • Update installation and README examples to reference the 0.1.3 plugins and the 0.3.0 release train.

Chores:

  • Replace Unreleased changelog sections with release notes for the two plugins and the 0.3.0 meta-distribution.

Both plugins to 0.1.3 (the FOCA range only widened: patch) and the
meta distribution foca-plugins to 0.3.0 (FOCA versions added: minor),
with the new pins, changelog sections, docs mentions and uv.lock.

Closes #63

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 foca-plugins | 🛠️ Build #35760536 | 📁 Comparing 39fdede against latest (7a08e7f)

  🔍 Preview build  

3 files changed
± index.html
± catalogue/index.html
± installing/index.html

@sourcery-ai

sourcery-ai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Bump both plugin packages to 0.1.3 and update the meta distribution to 0.3.0 with pins to those plugin versions.

  • meta/pyproject.toml L15, L45-53
  • plugins/generic/routing/random/pyproject.toml L15
  • plugins/tes/routing/distance/pyproject.toml L15

Documentation

Record the 0.1.3 plugin releases and 0.3.0 release train, including their release notes and updated installation examples.

  • README.md L47, L60
  • docs/installing.md L14-15, L36, L49
  • meta/CHANGELOG.md L11-26
  • plugins/generic/routing/random/CHANGELOG.md L10-13
  • plugins/tes/routing/distance/CHANGELOG.md L10-13

Lock files and vendored code

Refresh the lockfile to reflect the new release versions and pins.

  • uv.lock L1145, L1160, L1177

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Nov 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7a08e7f) to head (39fdede).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev       #64   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          553       553           
  Branches        71        71           
=========================================
  Hits           553       553           
Flag Coverage Δ
foca-plugin-generic-example-noop 100.00% <ø> (ø)
foca-plugin-generic-routing-random 100.00% <ø> (ø)
foca-plugin-tes-routing-distance 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@uniqueg
uniqueg marked this pull request as ready for review November 9, 2026 16:49

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Linked issues

#63 build: prepare the 0.3.0 release train · 3 of 4 met · 1 to check by hand

# Requirement Status Notes
1 Release both plugins as 0.1.3 with release changelog sections and intro paragraphs. ✅ Met Both plugin pyprojects set version 0.1.3, and each changelog has a 0.1.3 section with an intro.
2 Release foca-plugins as 0.3.0 with the new plugin pins and a changelog listing pins and tested FOCA versions. ✅ Met The meta distribution is version 0.3.0, its extras pin both plugins at 0.1.3, and its changelog lists those pins and FOCA 0.18–0.22.
3 Re-lock uv.lock. ✅ Met The lockfile records both plugins at 0.1.3 and foca-plugins at 0.3.0.
4 After merge, fast-forward main, push the plugin tags, then push the meta tag once both plugins are on PyPI. 👀 Check by hand (manual process) After merge, a maintainer must fast-forward main, release both plugin tags, and release the meta tag only after both plugin releases are available on PyPI.

Sourcery assessment

Needs a human reviewer. If the new release pins or FOCA compatibility declarations are wrong, users may install a plugin version that fails to resolve or work with their FOCA version. Reverting the repository change will not retract already-published package versions, but a corrected release can repair the issue.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg
uniqueg merged commit bc4bd8d into dev Nov 9, 2026
193 checks passed
@uniqueg
uniqueg deleted the build/release-0.3.0 branch November 9, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: prepare the 0.3.0 release train

1 participant