ruby-concurrency/concurrent-ruby

Incompatible versions for version 1.3.x

aandrieu opened this issue · 3 comments

Hello, I'm trying to test the last release (1.3.1) but it is not compatible with edge version.

I get the following bundle error:

Could not find compatible versions

Because concurrent-ruby-edge >= 0.7.0 depends on concurrent-ruby ~> 1.2.0
  and Gemfile depends on concurrent-ruby ~> 1.3.0,
  concurrent-ruby-edge >= 0.7.0 cannot be used.
So, because Gemfile depends on concurrent-ruby-edge ~> 0.7.0,
  version solving has failed.

I think the edge version should be bump to take into account the newly released version 1.3.

Thank you 🙏

eregon commented

Also reported in #1050.

Though Bundler should be able to solve this automatically by staying on concurrent-ruby 1.2.x as a workaround, as long as you don't force a newer concurrent-ruby int your Gemfile (which seems the case here).

And indeed:

s.add_runtime_dependency 'concurrent-ruby', "~> #{Concurrent::VERSION}"

So probably we should relax that.

Part of the trouble is it's rather annoying to release concurrent-ruby-edge.
I'd rather merge the functionality in the main gem but have it namespaced under Concurrent::Edge, unfortunately it doesn't seem namespaced that way.

eregon commented

I'll try to do a release of both soon to fix the immediate issue.

eregon commented

I released concurrent-ruby-edge 0.7.1, which depends on concurrent-ruby ~> 1.3 instead of 1.3.0, so that should solve it.