Skip to content

build: support FOCA 0.21 - #56

Merged
uniqueg merged 1 commit into
devfrom
build/foca-0.21
Nov 5, 2026
Merged

uniqueg merged 1 commit into
devfrom
build/foca-0.21

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Closes #55

Summary

  • Raise the cap to foca>=0.18.0,<0.22 on all plugins, the template and the meta distribution; update uv.lock to FOCA 0.21.0; add 0.21.0 to the CI matrix.
  • READMEs, docs/writing-plugins.md and changelogs (under ## Unreleased) name the new range.
  • No version changes, tags or releases.

Light lane: only dependency ranges, the lock, docs, changelogs and the CI matrix change, with no plugin source and no change to secrets, permissions or the release workflow.

How it was verified

Locally with FOCA 0.21.0 from the lock (default Python of uv):

  • All three plugins: ruff, mypy, pytest at 100% coverage (15, 24 and 141 tests).
  • python -m scripts.checks check: passes. Tests of the scripts: 139 passed.
  • mkdocs build --strict: passes.

The other Python and FOCA combinations run in CI only.

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Extend the supported FOCA range through version 0.21 and validate it across the project.

Enhancements:

  • Extend all plugins, the template, and the meta distribution to support FOCA 0.21 with the updated dependency range.
  • Refresh the locked development dependencies for FOCA 0.21.0.

CI:

  • Add FOCA 0.21.0 to the CI compatibility matrix.

Documentation:

  • Update READMEs, plugin authoring documentation, and changelogs to document FOCA 0.21 support.

Raise the cap on all packages to <0.22, update the lock and add
FOCA 0.21.0 to the CI matrix.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

This light-lane PR adds FOCA 0.21 compatibility by updating all plugin and meta-package constraints, refreshing the lockfile, and extending the CI matrix, with corresponding documentation and unreleased changelog updates; no plugin implementation, release workflow, permission, or version changes are included.

File-Level Changes

Change Details Files
Expand the supported FOCA dependency range through 0.21 while retaining compatibility with 0.18–0.20.
  • Raise plugin and meta distribution constraints from <0.21 to <0.22.
  • Refresh the lockfile to resolve FOCA 0.21.0.
  • Update dependency comments and supported-version metadata.
meta/pyproject.toml
plugins/generic/example/noop/pyproject.toml
plugins/generic/routing/random/pyproject.toml
plugins/tes/routing/distance/pyproject.toml
uv.lock
Extend CI compatibility coverage to FOCA 0.21.0.
  • Add FOCA 0.21.0 to the version matrix and pin it in the matrix include specifications.
  • Preserve testing across supported historical versions and the development branch.
.github/workflows/ci.yml
Document FOCA 0.21 support across project and plugin documentation.
  • Update project, plugin, and authoring documentation to state the 0.18–0.21 support range and <0.22 upper bound.
README.md
docs/writing-plugins.md
plugins/generic/example/noop/README.md
plugins/generic/routing/random/README.md
plugins/tes/routing/distance/README.md
Record the compatibility update in unreleased maintenance changelogs.
  • Add FOCA 0.21 support entries with the tested version and issue/PR references.
meta/CHANGELOG.md
plugins/generic/routing/random/CHANGELOG.md
plugins/tes/routing/distance/CHANGELOG.md

Possibly linked issues


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

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 foca-plugins | 🛠️ Build #35659926 | 📁 Comparing 83d4129 against latest (bff02c0)

  🔍 Preview build  

2 files changed
± index.html
± writing-plugins/index.html

@codecov

codecov Bot commented Nov 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (bff02c0) to head (83d4129).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev       #56   +/-   ##
=========================================
  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 5, 2026 02:24

@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

#55 build: support FOCA 0.21 · 2 of 2 met

# Requirement Status Notes
1 Raise the cap to <0.22 on all packages, update uv.lock, and add FOCA 0.21.0 to the CI matrix. ✅ Met The meta distribution and all three plugins now require foca>=0.18.0,<0.22; uv.lock resolves FOCA 0.21.0; and the CI matrix includes FOCA 0.21.0.
2 No plugin or meta release here. ✅ Met The changelog entries are under Unreleased, and the changes do not bump package versions or include release changes.

Sourcery assessment

Approved.


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

@uniqueg
uniqueg merged commit 8c5e0c2 into dev Nov 5, 2026
166 checks passed
@uniqueg
uniqueg deleted the build/foca-0.21 branch November 5, 2026 02:27
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: support FOCA 0.21

1 participant