Skip to content

Support latest Plurimath UnitsML build with generated Opal payload#42

Draft
suleman-uzair wants to merge 10 commits intomainfrom
feat/latest-plurimath-support
Draft

Support latest Plurimath UnitsML build with generated Opal payload#42
suleman-uzair wants to merge 10 commits intomainfrom
feat/latest-plurimath-support

Conversation

@suleman-uzair
Copy link
Copy Markdown
Member

Summary

This PR updates plurimath-js to work with the latest UnitsML stack by generating a UnitsML payload for Opal builds, updating the vendored Plurimath revision, and adding focused coverage for UnitsML conversions.

Changes

  • generate a Ruby payload file for UnitsML database data during the build
  • prepare the build to compile against the generated UnitsML payload input
  • update vendor/plurimath to the required upstream revision
  • add JS coverage for UnitsML AsciiMath conversions, including:
    • simple units like kg
    • prefixed units like MHz
    • compound units like g/mol
    • value + unit expressions like 9.8 "unitsml(m/s^2)"
  • add Ruby coverage for the payload generator
  • switch unitsdb, unitsml, and lutaml-model to branch-based git dependencies so CI validates the same dependency stack as the upstream changes

Upstream PRs

This PR should be reviewed together with:

Validation

  • verified spec/unitsml.spec.js passes in the Podman environment

TODO Before Merge

Notes

  • Gemfile points to the corresponding upstream branches for CI verification
  • this PR is intended to be validated together with the upstream dependency PRs listed above

Comment thread .github/workflows/test.yml Fixed
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