Skip to content

ml4t-coursework 0.3.0 - #6

Merged
stefan-jansen merged 2 commits into
mainfrom
release/0.3.0
Sep 7, 2026
Merged

ml4t-coursework 0.3.0#6
stefan-jansen merged 2 commits into
mainfrom
release/0.3.0

Conversation

@stefan-jansen

Copy link
Copy Markdown
Contributor

Bumps the version and adds the test that keeps the two declarations from drifting.

data_panel now returns (date, asset) rows with a close column rather than a wide frame, so this is a minor bump: any caller has to unstack. The runner, the MarketSpec registry with etfs, and the removal of Foundations unit ids from the contracts ride along.

setup() also falls back instead of raising where google.colab imports but no Drive can be mounted - the failure that blocks Foundations units 1.3, 1.4 and 3.1 on the published Colab image.

Tag v0.3.0 after this merges; the release workflow qualifies and publishes.

The long panel, the runner, market specs, and contracts that no longer name a
Foundations unit. data_panel returns (date, asset) rows with a close column
instead of a wide frame, which is why this is a minor bump rather than a patch:
anything calling it has to unstack.

setup() also falls back instead of raising where google.colab imports but no
Drive can be mounted, which is what blocks three Foundations notebooks on the
published Colab image today.

The version is declared in two places and a test now compares them: the run row
records the module's value, the wheel metadata carries pyproject's, and the
release workflow only checks the tag against the module.
Copilot AI lite review requested due to automatic review settings September 7, 2026 17:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

tomllib is 3.11+ and this package supports 3.10, so the first version failed
the matrix on every platform. Reading importlib.metadata compares the module
against what pip reports, which is the number that matters and also catches a
build stale against the source.
@stefan-jansen
stefan-jansen merged commit f9d655e into main Sep 7, 2026
34 checks passed
@stefan-jansen
stefan-jansen deleted the release/0.3.0 branch September 7, 2026 17:14
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.

2 participants