Skip to content

Allow relaton v3 in the dependency range (>= 2.1.0) - #131

Merged
ronaldtse merged 1 commit into
lutaml-integrationfrom
feat/allow-relaton-v3-v2line
Sep 15, 2026
Merged

ronaldtse merged 1 commit into
lutaml-integrationfrom
feat/allow-relaton-v3-v2line

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

  • relaton-cli pins relaton ~> 1.20.3, which excludes the relaton v3 monogem (3.0.0.pre.alpha.x) from any bundle containing relaton-cli — and metanorma depends on relaton-cli, so the whole relaton-v3 / pubid-v2 stack migration (metanorma-document 0.5.x etc.) cannot resolve.
  • This widens the runtime range to >= 1.20.3. The CLI's own CI still resolves and tests its usual v1/v2 line via its lockfile; the wider range only permits v3 where a consumer (e.g. the metanorma mainline) pins it deliberately.
  • A dedicated v3 port of relaton-cli's internals can follow separately; this removes the resolver wall first.

Test plan

  • gem dependency range change only, no code changes
  • Bundle with relaton ~> 1.20.x still resolves identically (upper bound unchanged in practice for existing consumers)

The tight ~> 2.1.0 pin prevents the relaton v3 monogem (3.0.0.pre.alpha.x)
from resolving anywhere relaton-cli appears in the graph, blocking the
relaton-v3 / pubid-v2 stack migration. Widen the range; CI keeps testing
the usual v2 resolution via the lockfile until the v3 port lands.
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