Skip to content

Allow relaton v3 in the dependency range (>= 1.20.3) - #130

Closed
ronaldtse wants to merge 1 commit into
mainfrom
feat/allow-relaton-v3
Closed

ronaldtse wants to merge 1 commit into
mainfrom
feat/allow-relaton-v3

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 ~> 1.20.3 pin prevents the relaton v3 monogem
(3.0.0.pre.alpha.x) from resolving anywhere relaton-cli appears in the
graph (metanorma -> relaton-cli -> relaton), blocking the relaton-v3 /
pubid-v2 stack migration. Widen the range; the CLI suite still runs
against its locked v1/v2 resolution in CI until the v3 port lands.
@ronaldtse ronaldtse closed this Sep 15, 2026
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