From cdf35c09a4182913e0ec6ea7f631dddf79885781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-ren=20Lin=29?= Date: Mon, 4 Nov 2024 21:18:53 +0800 Subject: [PATCH 1/2] Fix overly strict dependency requirement of the logger gem to allow plugin installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vagrant version 2.4.2 introduced a patch(512bb74) that sets the logger gem dependency to "~>1.6.1", which is too strict and prevents many Vagrant plugins from being installed. This patch tones down the dependency specification to mitigate this problem. Fixes #13527. Refer-to: Add logger and ostruct to the gemspec by hswong3i · Pull Request #13499 · hashicorp/vagrant --- vagrant.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vagrant.gemspec b/vagrant.gemspec index ab9000b7263..9d496b1d382 100644 --- a/vagrant.gemspec +++ b/vagrant.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |s| s.add_dependency "i18n", "~> 1.12" s.add_dependency "listen", "~> 3.7" s.add_dependency "log4r", "~> 1.1.9", "< 1.1.11" - s.add_dependency "logger", "~> 1.6.1" + s.add_dependency "logger", "~> 1.6.0" s.add_dependency "mime-types", "~> 3.3" s.add_dependency "net-ftp", "~> 0.2" s.add_dependency "net-ssh", "~> 7.0" From d7098cecb37d8b302f6db5d186315303b28b5e8f Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 4 Nov 2024 08:55:47 -0800 Subject: [PATCH 2/2] Further relax logger constraint --- vagrant.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vagrant.gemspec b/vagrant.gemspec index 9d496b1d382..6e281b2ac7a 100644 --- a/vagrant.gemspec +++ b/vagrant.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |s| s.add_dependency "i18n", "~> 1.12" s.add_dependency "listen", "~> 3.7" s.add_dependency "log4r", "~> 1.1.9", "< 1.1.11" - s.add_dependency "logger", "~> 1.6.0" + s.add_dependency "logger", "~> 1.0" s.add_dependency "mime-types", "~> 3.3" s.add_dependency "net-ftp", "~> 0.2" s.add_dependency "net-ssh", "~> 7.0"