Skip to content

Commit ad0b098

Browse files
committed
Constrain orchestrator_client
The 0.7.1 release of orchestrator_client broadened its dependency on Faraday (see puppetlabs/orchestrator_client-ruby@6f8661e). This change has caused Bundler to resolve Faraday in unexpected ways when there are other Gems with dependencies on Faraday. This commit constrains orchestrator_client to < 0.7.1 until this issue is resolved.
1 parent 05715a1 commit ad0b098

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.sync.yml

+5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ Gemfile:
3636
- gem: 'beaker-task_helper'
3737
version: '~> 1.9'
3838
condition: 'ENV["GEM_BOLT"]'
39+
# The Faraday requirements in orchestrator_client 0.7.1 causes Bundler to
40+
# resolve the dependency in unexpected ways and causes issues in CI
41+
- gem: 'orchestrator_client'
42+
version: '< 0.7.1'
43+
condition: 'ENV["GEM_BOLT"]'
3944
- gem: async
4045
version: '~> 1.30' # otherwise async 2.0.0(needs ruby >=3.1.0) is wrongly selected by bundler on jenkins while running with ruby 2.7.1
4146
":system_tests":

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ group :development do
4444
gem "nokogiri", require: false
4545
gem "bolt", '~> 3.0', require: false if ENV["GEM_BOLT"]
4646
gem "beaker-task_helper", '~> 1.9', require: false if ENV["GEM_BOLT"]
47+
gem "orchestrator_client", '< 0.7.1', require: false if ENV["GEM_BOLT"]
4748
gem "async", '~> 1.30', require: false
4849
end
4950
group :development, :release_prep do

0 commit comments

Comments
 (0)