Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ training. Keep each algorithm's data-access and cluster approval rules in its ow

## Changes

### 0.4.0a7 (2026-11-24)

- `execution=slurm` accepts a released, non-editable installed distribution of the algorithm (e.g. installed from
PyPI) as well as a clean committed checkout. The plan records the distribution's name and version, and each SLURM
worker checks that the same version is still installed before running its stage.

### 0.4.0a6 (2026-11-24)

- Add temporal-leakage conformance (`conformance/temporal.py`): `test_end_to_end` reruns the lifecycle with every
Expand Down
16 changes: 8 additions & 8 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ and [publishing action](https://docs.pypi.org/trusted-publishers/using-a-publish

## 2. Release the shared package first

Current candidate: **0.4.0a6**. Run the following in Bash/WSL with Git, GitHub CLI and uv installed.
Current candidate: **0.4.0a7**. Run the following in Bash/WSL with Git, GitHub CLI and uv installed.
Use the reviewed `main` commit, and wait for its CI checks before tagging. Do not move or reuse a
published release tag/version; increment `project.version` for a replacement.

Expand All @@ -53,11 +53,11 @@ uv run ruff format --check .
uv run pytest -q
uv build
uvx --from 'twine>=6' twine check --strict dist/*
git tag v0.4.0a6
git push origin v0.4.0a6
git tag v0.4.0a7
git push origin v0.4.0a7

gh workflow run publish.yml --repo McDermottHealthAI/meds-algorithm \
--ref v0.4.0a6 -f index=testpypi
--ref v0.4.0a7 -f index=testpypi
gh run list --repo McDermottHealthAI/meds-algorithm --workflow publish.yml --limit 5
# Select the run created above and watch it:
gh run watch RUN_ID --repo McDermottHealthAI/meds-algorithm --exit-status
Expand All @@ -76,7 +76,7 @@ check_env=$(mktemp -d)
uv venv "$check_env"
uv pip install --python "$check_env/bin/python" 'pyyaml>=6'
uv pip install --python "$check_env/bin/python" --no-deps \
--index-url https://test.pypi.org/simple/ 'meds-algorithm==0.4.0a6'
--index-url https://test.pypi.org/simple/ 'meds-algorithm==0.4.0a7'
"$check_env/bin/python" -I tests/wheel_smoke.py
uv pip check --python "$check_env/bin/python"
```
Expand All @@ -85,11 +85,11 @@ After the test release is verified, publish the same tag to PyPI and approve its

```bash
gh workflow run publish.yml --repo McDermottHealthAI/meds-algorithm \
--ref v0.4.0a6 -f index=pypi
--ref v0.4.0a7 -f index=pypi
# Find and watch the new run as above. After it succeeds:
pypi_env=$(mktemp -d)
uv venv "$pypi_env"
uv pip install --python "$pypi_env/bin/python" 'meds-algorithm==0.4.0a6'
uv pip install --python "$pypi_env/bin/python" 'meds-algorithm==0.4.0a7'
"$pypi_env/bin/python" -I tests/wheel_smoke.py
uv pip check --python "$pypi_env/bin/python"
```
Expand All @@ -99,7 +99,7 @@ See the official [TestPyPI guide](https://packaging.python.org/en/latest/guides/

## 3. Cut over and release the template

Only after `meds-algorithm==0.4.0a6` installs from PyPI, follow the
Only after `meds-algorithm==0.4.0a7` installs from PyPI, follow the
[template release guide](https://github.com/McDermottHealthAI/MEDS_algorithm_template/blob/main/RELEASING.md).
It switches the development and generated dependencies from the Git pin to the released package,
updates the lockfile/docs, and publishes the generator at **0.4.0a2** with tag **v0.4.0a2**.
Expand Down
4 changes: 2 additions & 2 deletions docs/core-package.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Shared core package

The core lives in its own [repository](https://github.com/McDermottHealthAI/meds-algorithm), pinned by the template to PyPI version `0.4.0a6`.
See its [layout and usage](https://github.com/McDermottHealthAI/meds-algorithm/blob/v0.4.0a6/README.md) for its artifact, runtime, task, evaluation, integration and conformance APIs.
The core lives in its own [repository](https://github.com/McDermottHealthAI/meds-algorithm), pinned by the template to PyPI version `0.4.0a7`.
See its [layout and usage](https://github.com/McDermottHealthAI/meds-algorithm/blob/v0.4.0a7/README.md) for its artifact, runtime, task, evaluation, integration and conformance APIs.
The [specification](reference/spec.md) and [architecture and UML](reference/architecture.md) are
rendered directly from this core checkout, the same sources included in its distributions.
The `latest` documentation follows core `main`; generated algorithms use their pinned installed release.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "meds-algorithm"
version = "0.4.0a6"
version = "0.4.0a7"
description = "Shared MEDS algorithm contracts and conformance boundaries."
readme = "README.md"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading