chore: merge release/v0.2.0 back to main#966
Merged
Merged
Conversation
## Summary `winml perf` crashes on a clean install with `No module named 'psutil'` because `src/winml/modelkit/session/monitor/memory_tracker.py` imports `psutil` at module level, and the perf flow imports that module unconditionally. `psutil` was never declared in `[project].dependencies` — only the dev type stub `types-psutil` is present — so the published wheel's `Requires-Dist` omits it, breaking `winml perf` (and `--monitor` / `--memory`) out-of-the-box for every user. Regression from #861 (`feat: add --memory flag`); `memory_tracker.py` did not exist in v0.1.0, so `winml perf` was unaffected there. Installing `psutil` manually confirms perf/build/`--monitor` otherwise work correctly — the only defect is the missing dependency declaration. ## Change Add `psutil>=7` to `[project].dependencies` (aligns with the existing `types-psutil>=7.2.2` stub). Targeting `release/v0.2.0` directly as a release hotfix; `main` will pick it up via the post-release merge-back. Closes #936
T-2 release prep for **v0.2.0**, targeting `release/v0.2.0` so the release notes and version land on the branch before tagging. - **CHANGELOG**: add the v0.2.0 entry covering the 96 PRs merged since `v0.1.0`. - **Version**: bump `version` `0.1.0` -> `0.2.0` in `pyproject.toml`. Merge-back to `main` happens at T+1.
…ge-release-v0.2.0
xieofxie
approved these changes
Jun 25, 2026
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.
Merges
release/v0.2.0back tomainafter the v0.2.0 publish (GitHub Release + PyPI both live).Brings into
main:0.1.0->0.2.0(pyproject.toml)psutil>=7runtime dependency -- fixeswinml perfcrashing on a clean installCloses #936