Repository navigation
host_requirements_v1: apps can require a minimum host plugin version (#155) - #156
Merged
Merged
Conversation
…ion (#155) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdRdA72nsUjZvTXFSbP
…ectors; docs (#155) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdRdA72nsUjZvTXFSbP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdRdA72nsUjZvTXFSbP
…ersion (#155) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdRdA72nsUjZvTXFSbP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdRdA72nsUjZvTXFSbP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdRdA72nsUjZvTXFSbP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements step 1 of #155.
labconstrictor_tools/host_requirements.py:check(entry, host, host_version, host_features)→(ok | warn | refuse, sentence), PEP 440 comparison (tags withv/-alpha.Naccepted), manifest reader for thehost_requirements:block (no YAML parser), validation with exact problem texts.register --app-manifeststores the key in the registry entry (invalid → refused, nothing registered);check --app-manifestandlistprint it.host_requirements_v1.conformance.jsonsectionhost_requirements(sentences, update URL,version_order, 18 cases) for the Groovy copies in Fiji and QuPath.tests/test_host_requirements.py(vectors, manifest reader agrees with PyYAML, registration, CLI); feature-list pins updated.Backward-compatible: the key is optional and old hosts ignore it.
Generated by Claude Code