How to fix incompatible dry-core dependency issue?

Hey,
I want to set up rom and rom-sql beside hanami 2.0.0.rc and stumbled over following compatibility-issue:

Bundler could not find compatible versions for gem "dry-core":
  In Gemfile:
    hanami (~> 2.0.0.rc) was resolved to 2.0.0.rc1, which depends on
      dry-core (~> 1.0, < 2)

    rom (~> 5.2) was resolved to 5.2.6, which depends on
      rom-repository (>= 5.2.2, ~> 5.2) was resolved to 5.2.2, which depends on
        dry-core (~> 0.4)

    rom-sql (~> 3.5) was resolved to 3.5.0, which depends on
      dry-core (>= 0.5, ~> 0.5)
Bundler could not find compatible versions for gem "hanami":
  In Gemfile:
    hanami (~> 2.0.0.rc)

    hanami-reloader was resolved to 0.2.1, which depends on
      hanami (~> 1.1)

Does somebody know, how to fix this. I don’t understand:

      rom-repository (>= 5.2.2, ~> 5.2) was resolved to 5.2.2, which depends on
        dry-core (~> 0.4)

I thought rom-repository is part of rom.

Thanks

Please wait for rom 5.3. We’re gonna release it in the upcoming days.

2 Likes

@solnic Thank you for the reply. Looking forward to it. I’m using plain Sequel for now.

@wuarmin I just released all-the-rom-things so please upgrade and lemme know if things work for you :slightly_smiling_face:

1 Like

@solnic Thanks! Now it works :slight_smile: .

1 Like