Skip to content

Make implemented algorithms ready for PyPI publication - #46

Merged
florian6973 merged 1 commit into
mainfrom
codex/algorithm-pypi-release
Nov 5, 2026
Merged

florian6973 merged 1 commit into
mainfrom
codex/algorithm-pypi-release

Conversation

@florian6973

Copy link
Copy Markdown
Collaborator

Generated algorithms are installable but currently have no publication workflow or installed-distribution gate. Add PyPI metadata questions, an explicit Trusted Publishing workflow, a release guide and changelog, and one shared build/install script used by generated CI and publishing. Publication requires a matching tag on main, a committed lockfile, completed profiles and passing validation.

The wheel now includes portable run defaults and MEDS-DEV YAMLs from their existing source files. The runner falls back to those installed defaults outside a checkout while preserving local and explicit configuration. PyPI distribution names can differ from import and CLI names. Dataset/run directories are excluded from source distributions.

The docs site renders the generated release guide directly, documents each new test, and the implementation prompt requests packaging validation. No runtime dependency or core API changes, and no automatic publication on merge.

Validation: 90 Python tests, 7 JavaScript tests, Ruff, strict MkDocs, generator distribution checks, and installed-wheel smoke checks. New tests build and install single-profile and multi-profile algorithms from their source archives and exercise CLI discovery and dry-run outside the checkout, plus release-gate failures.

@florian6973
florian6973 merged commit d9840c7 into main Nov 5, 2026
3 checks passed
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