Repository navigation
build: pin the foca-plugins 0.3.0 release - #471
Conversation
Go back from the commit of foca-plugins dev to the release train foca-plugins[generic-routing,tes-routing]==0.3.0, which allows FOCA 0.22, with hashes in uv.lock. Remove the ADD and the wheel build of the Dockerfile's build stage, the handling of plugin commits in scripts/image_requirements.py with its tests, and the docs of the temporary pin. Closes #467 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Upgrade notes say plainly that the plugins 0.1.3 allow FOCA 0.18 to 0.22 and change nothing else; the development guide says that a new FOCA minor needs a foca-plugins release first, and links #434 for commit pins in tests. Drop a trailing blank line of a test module. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideConfigurationReplace the Git-pinned plugin wheels with the foca-plugins 0.3.0 release and remove the Docker build steps used only for the Git checkout.
Remove filtering and validation that existed solely to handle Git-pinned foca-plugins requirements.
DocumentationUpdate development guidance to describe the released plugin train, its FOCA compatibility constraint, and the commit-pin test path.
Update plugin installation and default-routing documentation to describe the released, hash-locked plugins.
Record the plugin train and routing plugin versions in the upgrade notes.
TestsUpdate the installed-plugin test's explanation to reflect release-train dependency pinning.
Remove tests for the obsolete Git-reference filtering and Docker plugin-wheel build path.
Lock files and vendored codeRelock the plugin dependencies to their PyPI releases and hashes.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Relock with `uv lock` now that foca-plugins 0.3.0 and its plugins 0.1.3 are on PyPI: the three foca-plugins packages move from the Git commit to the PyPI releases, with hashes. No other package changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Documentation build overview
4 files changed± development/index.html± plugin-images/index.html± plugins/index.html± upgrading/index.html |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #471 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 31 31
Lines 3013 3007 -6
=========================================
- Hits 3013 3007 -6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Linked issuesChecked at commit b706595 #467 build: pin the foca-plugins 0.3.0 release · 4 of 4 met
|
Closes #467
Summary
Back from the commit pin of foca-plugins (since #434) to the release train from PyPI, as
docs/development.mdasked for once a release allows our FOCA:pyproject.toml:foca-plugins[generic-routing,tes-routing]==0.3.0alone (foca-plugins 0.3.0 pinsfoca-plugin-generic-routing-randomandfoca-plugin-tes-routing-distance0.1.3,foca>=0.18.0,<0.23; build: prepare the 0.3.0 release train foca-plugins#63, build(deps): bump lxml from 4.2.5 to 4.6.3 #64).uv.lock: relocked; only the three foca-plugins packages change, from the Git commit to the PyPI releases with hashes.Dockerfile: noADDof the foca-plugins commit and no build of its wheels; the plugins are installed hash-checked fromuv.locklike every other dependency.scripts/image_requirements.pyand its tests: the handling of plugin commit pins is removed (FOCA commit pins are unchanged).docs/development.md,docs/plugin-images.md,docs/plugins.mddescribe the release train again;docs/upgrading.md("To version 0.6.0") names foca-plugins 0.3.0.How it was verified
foca-plugins0.3.0,foca-plugin-generic-routing-random0.1.3 andfoca-plugin-tes-routing-distance0.1.3 are published (requiresfoca>=0.18.0,<0.23).uv lock(3 packages updated, nothing else),uv lock --check,uv sync --locked --extra dev: pass.coverage run -m pytest -W ignore::DeprecationWarning(withhelm dependency build deploymentandsha256sum -c charts.sha256): 1802 passed, 11 skipped; coverage 100%.pre-commit run --all-files: all hooks pass.pre-commit run --all-files --hook-stage manual gitleaks-all: findings only in local untracked caches (.cache/,.venv/), none in the repository.Review
adversarial-reviewer and quality-reviewer, 2 rounds, on the changes before the relock. Fixed: the plugins bullet in the upgrade notes and the foca-plugins paragraph in
docs/development.md(both medium, wording), a trailing blank line (low), and a link to #434 for future commit pins (note). The relock commit changes onlyuv.lock(light lane: generated lock of the reviewed pin).Declined review findings
PLUGINS" indocs/development.md: this is the text from before build: move to FOCA 0.21 #434; the FOCA commit pin is not an exception to hash-checked installs, as the build fails unless the base image already has FOCA of that commit.Open questions
None.
🤖 Generated with Claude Code
Summary by Sourcery
Use the foca-plugins 0.3.0 release instead of a Git commit pin and install its routing plugins through the standard locked dependency workflow.
Enhancements:
Documentation:
Tests:
Chores: