sensu-plugins / sensu-plugins-java

Sensu Java Plugins
http://sensu-plugins.io
MIT License
5 stars 25 forks source link

Dependabot can't resolve your Ruby dependency files #41

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Dependabot can't resolve your Ruby dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Bundler::VersionConflict with message: Bundler could not find compatible versions for gem "english":
  In Gemfile:
    sensu-plugins-java was resolved to 0.0.1, which depends on
      english (= 0.6.3)

Could not find gem 'english (= 0.6.3)', which is required by gem 'sensu-plugins-java', in any of the sources.

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

bill538 commented 4 years ago

I am seeing this issue after this recent release.

$ /opt/sensu/embedded/bin/gem install "sensu-plugins-java" -q --no-rdoc --no-ri --clear-sources --source=https://www.rubygems.org ERROR: Could not find a valid gem 'english' (= 0.6.3) in any repository ERROR: Possible alternatives: english

From what I can tell 0.6.3 doesn't exists on www.rubygems.org but 0.7.0 does.

$ /opt/sensu/embedded/bin/gem install "english" -q --no-rdoc --no-ri --clear-sources --source=https://www.rubygems.org --version "0.6.3" ERROR: Could not find a valid gem 'english' (= 0.6.3) in any repository ERROR: Possible alternatives: english

$ /opt/sensu/embedded/bin/gem install "english" -q --no-rdoc --no-ri --clear-sources --source=https://www.rubygems.org --version "0.7.0" Successfully installed english-0.7.0 1 gem installed

Should "english (= 0.6.3)" be changed to english (~> 0.6.3)? I will try some testing locally later today.

zandabanda commented 4 years ago

we need to replicate the following changes - https://github.com/sensu-plugins/sensu-plugins-process-checks/pull/113

as well as https://github.com/sensu-plugins/sensu-plugins-process-checks/commit/3d6e9f950f8e170bd01fff4caa98ea0478b3391f and https://github.com/sensu-plugins/sensu-plugins-process-checks/commit/7dc30af3116111a5a8d601d2aa7cb69dd42451d5

zandabanda commented 4 years ago

https://rubygems.org/gems/english/versions/0.6.3, english 0.6.3 was pulled. As a result our new installs are currently broken.

kpmueller commented 4 years ago

Sheesh. You can't depend on a gem which gets yanked. Please fix.

bovy89 commented 4 years ago

+1