Repository navigation
build: support FOCA 0.22 - #62
Conversation
Raise the cap to foca>=0.18.0,<0.23 on all plugins, the template and the meta distribution, lock FOCA 0.22.0 and add it to the CI matrix. READMEs, docs and changelogs name the new range. No releases. Closes #61 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideConfigurationRaise the supported FOCA version cap across the meta distribution and plugins, and add FOCA 0.22.0 to the CI test matrix.
DocumentationUpdate the user-facing FOCA support ranges and plugin-development guidance to include 0.22.
Record FOCA 0.22 support in the unreleased changelogs for the meta distribution and published plugins.
Lock files and vendored codeUpdate the lockfile for FOCA 0.22.0 and its resulting dependency resolution.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Documentation build overview
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #62 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 6 6
Lines 553 553
Branches 71 71
=========================================
Hits 553 553
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="meta/pyproject.toml" line_range="34" />
<code_context>
# The FOCA versions that the train was tested with; set in the release pull
# request
-dependencies = ["foca>=0.18.0,<0.22"]
+dependencies = ["foca>=0.18.0,<0.23"]
# Extras per group (`<group>`) and subgroup (`<group>-<subgroup>`), plus
</code_context>
<issue_to_address>
**Meta extras reject FOCA 0.22**
When a user installs a meta extra while requiring FOCA 0.22, the `generic`, `tes`, and `experimental` extras still pin plugin version `0.1.2`, whose released metadata predates FOCA 0.22 support. Installing one of these extras with FOCA 0.22 therefore fails dependency resolution, despite the meta distribution's expanded range.
Before releasing the meta distribution with this range, pin plugin releases whose published metadata includes FOCA 0.22 support.
</issue_to_address>Linked issues
#61 build: support FOCA 0.22 · 4 of 4 met
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | Raise the cap to <0.23 on all packages | ✅ Met | The meta package, all three plugins, and the example template use foca>=0.18.0,<0.23. |
| 2 | Update uv.lock | ✅ Met | The lockfile resolves FOCA to 0.22.0 and records the updated <0.23 specifiers. |
| 3 | Add FOCA 0.22.0 to the CI matrix | ✅ Met | The matrix includes 0.22.0 with an exact foca==0.22.0 specifier. |
| 4 | No plugin or meta release here | ✅ Met | The changes update dependency bounds and documentation without changing package versions or adding release changes. |
Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: meta/pyproject.toml:34
Closes #61
Summary
foca>=0.18.0,<0.23on all plugins, the template and the meta distribution; updateuv.lockto FOCA 0.22.0 (only FOCA changes); add 0.22.0 to the CI matrix.docs/writing-plugins.mdand changelogs (under## Unreleased) name the new range.dev).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 (same scope as #56).
How it was verified
Locally with FOCA 0.22.0 from the lock (Python 3.13):
python -m scripts.checks check: passes. Tests of the scripts: 139 passed, 100% coverage.pre-commit run --all-files: all hooks pass.mkdocs build --strict(one changed sentence) and the other Python and FOCA combinations; CI runs them.Open questions
None.
🤖 Generated with Claude Code
Summary by Sourcery
Support FOCA 0.22 across the plugin ecosystem while preserving compatibility with earlier supported releases.
Enhancements:
CI: