inspec / kitchen-inspec

Test-Kitchen Plugin for InSpec
Other
109 stars 58 forks source link

Can't use InSpec AWS resources due to Gem dependency constraint #185

Closed walterdolce closed 6 years ago

walterdolce commented 6 years ago

Hi,

It is currently not possible to upgrade InSpec to anything >= 2.0.0 due to the fact there is a constraint in the gemspec.

I have the following Gemfile is in place:

source "https://rubygems.org"

gem "test-kitchen", "1.21.2"
gem "kitchen-docker", "2.6.0"
gem "kitchen-inspec", "0.18.0"
gem "kitchen-ansible", "0.48.5"

Which gives me the following version of InSpec:

# bundler output
Using inspec 1.51.25
# bundler output

If I try to explicitly up InSpec's version, I am expectedly prevented from doing so because...

  In Gemfile:
    inspec (= 2.2.16)

    kitchen-inspec (= 0.18.0) was resolved to 0.18.0, which depends on
      inspec (< 2.0.0, >= 0.34.0)

Does kitchen-inspec need upgrading along with InSpec? Or can a PR to change the constraint from 2.0.0 to 3.0.0 be sent?

Thank you,

walterdolce commented 6 years ago

Forget this. I didn't see "Show newer tags" on the release page, above the 0.18.0 big blue tag :D