Skip to content

linkeddata 3.2.1 no longer compatible with Rails older than 6.1, 3.2.0 was #16

@jrochkind

Description

@jrochkind

linkeddata 3.2.1 has a (transitive) dependency on psych 4.x. Via yaml-ld (~> 0.0) the only released version of yaml-ld is 0.0.1, which depends on psych (~> 4.0).

Psych 4.x was released with ruby 3.1, although it can be used with older rubies too.

As far as I can tell,Psych 4.x is not compatible with Rails earlier than 6.1 -- Rails 6.0 and earlier are incompatible with psych 4.x. However, linkeddata 3.2.1 requires psych 4.x, via transitive dependency. Therefore, linkeddata 3.2.1 is incompatible with Rails earlier than 6.1.

linkeddata 3.2.0 did not express an explicit dependency on psych, so was compatible with earlier Rails.

Is this intentional/desirable? Can it be fixed?

It's breaking some of our builds at eg samvera/questioning_authority#374. Bundler ought to be smart enough to resolve linkeddata to 3.2.0 and build a consistent tree.... but apparently isn't (these built-in gems are kind of a mess), and even if it was, it would be a shame to be stuck using old linkeddata.

Appreciate any thoughts from maintainers here. @gkellogg ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions