2.0.1 - #73
Merged
Merged
2.0.1#73
Conversation
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.
Covers API taxonomy cleanup that was intended to ship in 2.0.0, plus the release-engineering work that keeps the MGRP Docker pin in sync with releases going forward. 2.0.0 will be yanked on PyPI once 2.0.1 publishes; the changelog carries the
[YANKED]marker and a preamble explaining that 2.0.1 is the intended 2.0 API.2.0.0 was judged safe to yank since it released < 2 days ago, and no release announcement was made on public channels visible to collaborators.
Breaking API changes
These are hard renames with no deprecation aliases, consistent with the 2.0.0 rewrite policy.
evaluate_manyreturnsManyPlanEvalResult; streamed ensemble evaluations returnEnsembleEvalResult;EvaluationRunis removed.EnsembleEvalResult.readgainsreturn_typeto request a pandasSeriesorDataFrameand narrow the static return type; Series and one-column DataFrame results convert between shapes.RunIterator→RecordedChainIterator,Variant→EncodingVariant; old names removed.RunSpec/RecomRunSpec/ForestRunSpec/SMCRunSpec;RunContainer→RunnerSession; old names removed.Behavior change
RecordedChainpreserves input node order by default (graph_order=None). The previous compression-oriented reordering is opt-in viagraph_order="mlc".Docker image v2.0.1
docker/DockerfilebumpsRUSTRECOM_REFfrom the 0.1.4 branch to the rustrecom v0.2.0 commit (unifiedrustrecomCLI: chain / short-bursts / tilted subcommands,--configJSON mode, frcw shims, mst variant spellings).mgggdev/replicate:v2.0.1andDEFAULT_DOCKER_IMAGEingerrytools/mgrp/run_container.pypins its immutable digest (@sha256:fe03dd8c...).Devops updates for releases
The Docker pin can no longer silently drift from the release version:
release.yml: the validate job now extractsDEFAULT_DOCKER_IMAGEand refuses to build unless its tag ismgggdev/replicate:v<project version>and that tag resolves on Docker Hub to the pinned digest.docker-pushanddocker-retagfinish by rewritingDEFAULT_DOCKER_IMAGEto the freshly publishedtag@digest(shareddocker-pinstep, which resolves the digest from the registry).docker-pin -- <tag>is also callable directly to re-point the constant at an already-published tag.docker-retagrefuses to overwrite a tag that already exists on Docker Hub (it retags from the currently pinned digest, so overwriting would clobber a newer image).check-releaseverifies, before tagging: the version is not already a git tag, the changelog has a## [<version>]section, and the Docker pin matches the version and resolves on Docker Hub. All failures are reported at once..github/pull_request_template.md.Documentation updates
Notes.mdand staleTODO.mdcontent removed.user_guide/user/mgrp/*,user_guide/user/scoring/*), and the API reference updated for the renames.Verification
task check-releasepasses for v2.0.1 (version untagged, changelog section present, Docker pin matches and resolves on Docker Hub).MGRP_TEST_IMAGE=mgggdev/replicate:v2.0.1 uv run pytest tests/mgrp/live -q).