Skip to content

chore: merge release/v0.2.0 back to main#966

Merged
timenick merged 5 commits into
mainfrom
zhiwang/merge-release-v0.2.0
Jun 25, 2026
Merged

chore: merge release/v0.2.0 back to main#966
timenick merged 5 commits into
mainfrom
zhiwang/merge-release-v0.2.0

Conversation

@timenick

Copy link
Copy Markdown
Collaborator

Merges release/v0.2.0 back to main after the v0.2.0 publish (GitHub Release + PyPI both live).

Brings into main:

  • Version bump 0.1.0 -> 0.2.0 (pyproject.toml)
  • psutil>=7 runtime dependency -- fixes winml perf crashing on a clean install
  • CHANGELOG.md v0.2.0 section

Closes #936

fangyangci and others added 5 commits June 23, 2026 10:48
## 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.
@timenick timenick requested a review from a team as a code owner June 25, 2026 05:39
@timenick timenick merged commit 16a5993 into main Jun 25, 2026
9 checks passed
@timenick timenick deleted the zhiwang/merge-release-v0.2.0 branch June 25, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

winml perf crashes on clean install — psutil imported but not a runtime dependency

3 participants