-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
concurrent-ruby gem pin is not precise enough #4141
Comments
(this only affects master, really) |
I was going to send a patch, but I'm not entirely sure at a glance if we should pin exactly 0.9.1 (in gem dependency) or relax the silence_concurrent_ruby patch to support 0.9.x |
Oh oh :( |
When we merged the shutdown changes the dependency for concurrent-ruby was also changed. 3bdac41#diff-1176bf3d867047e464f26cb769921d70R26 I think concurrent-ruby is really close to release 1.0 |
I will review if they changed their warnings. |
@jordansissel - this affects logstash 2.0.0 & 1.5.5 as far as I can tell. RuntimeError: Logstash expects concurrent-ruby version 0.9.1 and version 0.9.2 is installed, please verify this patch: /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.5-java/lib/logstash/patches/silence_concurrent_ruby_warning.rb |
issue seems to be in /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/patches/silence_concurrent_ruby_warning.rb - raising an exception .. |
just hit this issue after rebasing #3583 from master. |
@ph I think, the best for now would be fix the version. We can always update to a new one as soon as they release it. |
@jordansissel I suggest we use 0.9.2 and relax the fix to match 0.9.X. This warning will go away in future So once 1.0 is released we can drop that patch. |
I also make the patch not applied and not raise anything if the version doesn't match. |
+1 on fixing this as you proposed. I guess we can move forward and get this done soon. Otherwise all builds are broken for now. |
nevermind the patch isn't need ruby-concurrency/concurrent-ruby#440 this is 0.9.2 release. |
warning and they are commiting to support the 1.X release for JDK7 Fixes elastic#4141
warning and they are commiting to support the 1.X release for JDK7 Fixes elastic#4141
@ph can we make a PR out of it? |
The team behind concurrent ruby will now support JDK 7 in the 1.x release Fixes elastic#4141
The team behind concurrent ruby will now support JDK 7 in the 1.x release Fixes elastic#4141
@Russell-IO did you update the plugins in your installation before getting that error? |
@suyograo @ph we need to release a point release to get this fix upstream, hitting this issue when doing work in the twitter plugin.
|
We will next week, I've release beats with a constraint on 0.9.1 this On Fri, Nov 6, 2015 at 5:31 AM, Pere Urbón [email protected] wrote:
ph |
@ph makes sense. I think a lesson to be learn form this, is be careful with open ranges in dependencies, even small ones can cause trouble 👍 thanks man! |
I'm seeing this happen when plugins are updated on Logstash 2.0.0 If you run |
Any advice on how to fix an installation broken by this? |
I managed to fix it by adding |
@driskell thanks for following this up, you can can also do bin/plugin install --no-verify which should only update the added dependencies. |
Former-commit-id: 88fe6da
Former-commit-id: 6ae6cf8
The problem is that
bundle install
fetched 0.9.2 because our dependency on~> 0.9.1
and our concurrent ruby warning thingy patch barfs if we are using anything but 0.9.1The text was updated successfully, but these errors were encountered: