You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FOCA v0.18.0, with the plugin engine (foca.plugins) and its plugin test kit (foca.plugins.testing, foca.plugins.pytest_plugin), is released on PyPI. The scaffold (#1, #2) still installs FOCA from its dev branch, declares foca>=0.17.1.dev0 and runs no contract checks. Plugins can't be released like this. The places to change are marked TODO(FOCA 0.18.0) and listed in MAINTAINERS.md, step 5.
Proposal
Remove the Git source of FOCA (tool.uv.sources in the root pyproject.toml), so FOCA comes from PyPI, and re-lock.
Raise the FOCA requirement of the example plugin and the meta distribution to foca>=0.18.0,<0.19.
CI: add FOCA 0.18.0 as the lowest version of the test matrix and keep FOCA dev as the newest.
Let Dependabot update FOCA again.
Template tests: use FOCA's test kit (PluginHarness, the builders, check_plugin_contract through the plugin_contract fixture), so every plugin created from the template runs the contract checks. Keep the test that loads the plugin through its installed entry point.
Docs: update the status, compatibility and testing notes (README, docs/writing-plugins.md, docs/contributing.md, MAINTAINERS.md, the example's README).
Acceptance criteria
No TODO(FOCA 0.18.0) left.
CI tests the example against FOCA 0.18.0 and dev, with the contract checks, at 100% coverage.
Activity