Skip to content

Fix parsing of module versions in provenance metadata#114

Open
frazane wants to merge 1 commit intomainfrom
fix/requirements-parsing
Open

Fix parsing of module versions in provenance metadata#114
frazane wants to merge 1 commit intomainfrom
fix/requirements-parsing

Conversation

@frazane
Copy link
Contributor

@frazane frazane commented Mar 9, 2026

This pull request updates the extract_pypi_requirements function in workflow/scripts/inference_get_requirements.py to improve support different formats for module version information. The main change is to support both string (legacy) and dictionary (new) formats for module versions. The latter was introduced in ecmwf/anemoi-utils#268 - a breaking change that we missed.

This fix is required to run latest checkpoints from @icedoom888.

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