From 6f70455d37561f18b1ddbb846e7d74c3187d34b6 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 16 Feb 2026 02:36:52 +0000 Subject: [PATCH] Workaround inspec licensing issue breaking tests --- Gemfile | 3 +++ Gemfile.lock | 28 +++++----------------------- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/Gemfile b/Gemfile index 7f934a878..bb60843e4 100644 --- a/Gemfile +++ b/Gemfile @@ -4,3 +4,6 @@ gem "cookstyle" gem "kitchen-dokken", ">= 2.21.4" gem "kitchen-inspec" gem "test-kitchen" + +# Workaround https://www.chef.io/blog/changes-to-runtime-licensing-for-chef-gem-users +gem "inspec-core", "< 7.0.95" diff --git a/Gemfile.lock b/Gemfile.lock index 4c21041cb..49cfa4b6a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -44,15 +44,6 @@ GEM chef-gyoku (1.5.0) builder (>= 2.1.2) rexml (~> 3.4) - chef-licensing (1.4.0) - chef-config (>= 15) - faraday (>= 1, < 3) - faraday-http-cache - mixlib-log (~> 3.0) - ostruct (~> 0.6.0) - pstore (~> 0.1.1) - tty-prompt (~> 0.23) - tty-spinner (~> 0.9.3) chef-telemetry (1.1.1) chef-config concurrent-ruby (~> 1.0) @@ -118,8 +109,6 @@ GEM faraday-excon (1.1.0) faraday-follow_redirects (0.5.0) faraday (>= 1, < 3) - faraday-http-cache (2.6.1) - faraday (>= 0.8) faraday-httpclient (1.0.1) faraday-multipart (1.2.0) multipart-post (~> 2.0) @@ -179,20 +168,17 @@ GEM i18n (1.14.8) concurrent-ruby (~> 1.0) inifile (3.0.0) - inspec-core (7.0.95) + inspec-core (5.23.6) addressable (~> 2.4) - chef-licensing (>= 1.2.0) chef-telemetry (~> 1.0, >= 1.0.8) cookstyle - csv (~> 3.0) faraday (>= 1, < 3) faraday-follow_redirects (~> 0.3) hashie (>= 3.4, < 6.0) license-acceptance (>= 0.2.13, < 3.0) method_source (>= 0.8, < 2.0) - mixlib-log (~> 3.0) + mixlib-log (~> 3.0, < 3.2) multipart-post (~> 2.0) - ostruct (>= 0.1, < 0.7) parallel (~> 1.9) parslet (>= 1.5, < 3.0) pry (~> 0.13) @@ -201,9 +187,8 @@ GEM rubyzip (>= 1.2.2, < 4.0) semverse (~> 3.0) sslshake (~> 1.2) - syslog (~> 0.1) thor (>= 0.20, < 1.5.0) - tomlrb (>= 1.3, < 2.1) + tomlrb (>= 1.2, < 2.1) train-core (~> 3.13, >= 3.13.4) tty-prompt (~> 0.17) tty-table (~> 0.10) @@ -254,8 +239,7 @@ GEM mixlib-shellout mixlib-versioning thor - mixlib-log (3.2.3) - ffi (>= 1.15.5) + mixlib-log (3.0.9) mixlib-shellout (3.4.10) chef-utils mixlib-versioning (1.2.12) @@ -295,7 +279,6 @@ GEM coderay (~> 1.1) method_source (~> 1.0) reline (>= 0.6.0) - pstore (0.1.4) psych (5.3.1) date stringio @@ -435,8 +418,6 @@ GEM tty-screen (~> 0.8) wisper (~> 2.0) tty-screen (0.8.2) - tty-spinner (0.9.3) - tty-cursor (~> 0.7) tty-table (0.12.0) pastel (~> 0.8) strings (~> 0.2.0) @@ -463,6 +444,7 @@ PLATFORMS DEPENDENCIES cookstyle + inspec-core (< 7.0.95) kitchen-dokken (>= 2.21.4) kitchen-inspec test-kitchen -- 2.39.5