hugopl / sidekiq.cr

Simple, efficient job processing for Crystal
http://sidekiq.org
GNU Lesser General Public License v3.0
766 stars 74 forks source link

Update redis to new version #84

Closed FranCoFeliz closed 3 years ago

FranCoFeliz commented 4 years ago

While trying to run shards install, after adding sidekiq dependency, the console shows this message: Error resolving redis (~> 1.8.0, ~> 2.0)

Redis dependency now shows another version, and the issue disapears by removing sidekiq's lines.

dependencies:
  redis:
    github: stefanwille/crystal-redis
    version: ~> 2.5.3

Current:

dependencies:
  redis:
    github: stefanwille/crystal-redis
    version: ~> 2.0

Thanks!

hugopl commented 3 years ago

This can be marked as invalid, since version: ~> 2.0 means it will work with any 2.x version, including 2.5.3 and the latest one, 2.6.0.

Clone the repo, run the tests then look at shards.lock and you will see redis v2.6.0 there.