Repository navigation
Bump Tools to 0.3.0a1, add feature id shm_order_v1 (for pre-release v0.3.0-alpha.1) - #128
Merged
Merged
Conversation
rc.1, rc.2 and main all reported 0.2.0rc1 with the same features although the code differs. 0.3.0a1 plus shm_order_v1 (shared-memory `order`, PR #125, already implemented) tell them apart. - _version 0.3.0a1; FEATURES + PROTOCOL.md table and feature tests - PROTOCOL.md: retention_prune is in rc.1; runs.build_record/record_json/ done_status arrive in 0.3.0a1; big TIFFs are mapped from 0.3.0a1 (no id) - OPERATIONS.md: pre-release pin rule, tag <-> PEP 440 name rule, rc.2 did not bump, no rc.3, Windows file-lock caveat; install snippets -> alpha.1 - CI compat job: newest tag sorted with versionsort.suffix (final beats its own pre-releases, alpha.1 beats rc.2) - conformance.json version_order, frozen tools_0.3 schema fixture, compat matrix - release sandbox: expected Tools pin is an argument (default: read from the app's post_install hook) instead of a constant - docs/RELEASE_NOTES_0.3.0-alpha.1.md (draft for the GitHub pre-release) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN
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.
What changes
rc.1, rc.2 and main all reported
__version__0.2.0rc1 and the samefeatures, so hosts could not tell them apart. This PR makes this build recognisable, for the pre-releasev0.3.0-alpha.1(tag and release are created by the maintainer after merge; nothing here touches tags or releases)._version.py->0.3.0a1(pyproject, schematools_version, doctor read it from there; nothing else hard-codes it).shm_order_v1(shared-memory descriptororderhonoured for C/F, anything elseunreadable_image; behaviour from Worker: honour or refuse shared-memory order; memory-map big TIFF inputs #125, which already exists - PROTOCOL.md says so explicitly, this is the one id added after the change). No id for the TIFF memory map; PROTOCOL.md states "Tools >= 0.3.0a1 maps big TIFF files".retention_pruneis in rc.1 (the "not in 0.2.0rc1" claim is removed);runs.build_record/record_json/done_statusarrive in 0.3.0a1 (also in rc.2 code, which still reports 0.2.0rc1); hosts checkmin_tools_version0.3.0a1 orhasattr.compatjob tag selection usesgit -c versionsort.suffix=-alpha -c versionsort.suffix=-rc tag --list 'v*' --sort=-v:refname; checked in a scratch repo with tags v0.2.0-rc.1, v0.2.0-rc.2, v0.3.0-alpha.1: plain sort picks alpha.1; with v0.3.0 added the plain sort still picksv0.3.0-alpha.1(the bug), the fixed sort picksv0.3.0, and alpha.1 beats rc.2.conformance.jsoncompat.version_order(+ HOST_PARITY.md copy) gets0.3.0a1,0.3.0. New frozen fixturetests/fixtures/schemas/tools_0.3.schema.json(0.3.0a1, three features); the compat matrix reads it (new host accepts it, old host reads it, a host needing 0.3.0a1 refuses the 0.2 fixture). Existing vectors and fixtures unchanged.playground_extras.pyno longer hard-codes 0.2.0rc1 / v0.2.0-rc.1;--tools-pinargument (workflow passes itstools_pininput), default read from the installed app'spost_installLC_TOOLS_SPECline, and the version must equal the PEP 440 form of the pin. The workflow stays dispatch-only;tools_pindefault is nowv0.3.0-alpha.1.docs/RELEASE_NOTES_0.3.0-alpha.1.md: draft notes to paste into the GitHub pre-release.Tests changed (superseded by this change; none loosened or skipped)
tests/test_run_record_builder.py: the assertion "not in 0.2.0rc1" is now "arrive in 0.3.0a1" (plusassertNotInof the old wording); the expected FEATURES list gainsshm_order_v1.tests/test_compat_matrix.py: SHA256 entry for the new fixture; matrix prints 14oklines instead of 11 (3 new checks); new assertions on the 0.3 fixture.tests/test_versions.py: needlev0.3.0-alpha.1added to the OPERATIONS.md check.tests/test_tools_features.py: new test for the id list and the PROTOCOL.md statements.tests/compat_matrix.py,tests/release_sandbox/playground_extras.py: as described above (black reformatting only otherwise).Not verified
test_hardening.RegistryNamesAndPriority.test_foreign_owned_or_group_writable_shared_entry_is_skipped, which depends on file ownership and cannot pass as root; it passes on the CI runners. black (26.10.0 as pinned), ruff, mypy, vulture clean (local ruff is 0.15.20, not the pinned 0.16.10; CI lint is green).compatjob ran againstv0.2.0-rc.2(newest tag today); the sorting fix is verified in a scratch repo only, not in a repo that hasv0.3.0yet.playground_extras.py basicstep and the pin reader inrelease_sandbox.ymlwere not run (the workflow is dispatch-only and needs a released app; the pin regex and tag-to-PEP 440 mapping are untested on a real installer hook).🤖 Generated with Claude Code
https://claude.ai/code/session_01Y2SN8SuEakTdiWy3F2WUqN
Generated by Claude Code