Skip to content

Pyproject toml migration#693

Open
mhmdk0 wants to merge 17 commits into
mlcommons:mainfrom
mhmdk0:pyproject-toml-migration
Open

Pyproject toml migration#693
mhmdk0 wants to merge 17 commits into
mlcommons:mainfrom
mhmdk0:pyproject-toml-migration

Conversation

@mhmdk0

@mhmdk0 mhmdk0 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This PR migrates MedPerf CLI packaging from cli/setup.py to a root-level pyproject.toml, so the project can be installed as a proper Python package (editable or from a wheel).

Main changes:

  • Add root pyproject.toml and MANIFEST.in
  • Remove cli/setup.py
  • Keep package code in cli/medperf/
  • Move mock_tokens/ into cli/medperf/mock_tokens/
  • Fix tokens.json lookup to use the installed package path (fixes wheel installs)
  • Update CI to use pip install -e ".[dev]"

Regarding OIDC configuration in PYPI, here's the official doc from github: here

@mhmdk0 mhmdk0 requested a review from a team as a code owner June 7, 2026 22:09
@mhmdk0 mhmdk0 had a problem deploying to testing-external-code June 7, 2026 22:09 — with GitHub Actions Failure
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@mhmdk0 mhmdk0 requested a deployment to testing-external-code June 22, 2026 01:11 — with GitHub Actions Waiting
@mhmdk0 mhmdk0 requested a deployment to testing-external-code June 22, 2026 09:42 — with GitHub Actions Waiting
@mhmdk0 mhmdk0 requested a deployment to testing-external-code June 26, 2026 13:21 — with GitHub Actions Waiting
@mhmdk0 mhmdk0 requested a deployment to testing-external-code July 6, 2026 19:25 — with GitHub Actions Waiting
@mhmdk0

mhmdk0 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Added PyPI-based MedPerf update detection for the CLI and Web UI, with an optional one-click update from the browser (Web UI).

  • UpdateManager — cached PyPI check, Web UI restart
  • Web UI — update banner, manual “Check for updates”, “Update now” flow with progress overlay and auto-reload

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.

1 participant