19400: Adjusts dependency so this doesn't pull incompatible version 2.4.3. 19400-login-sync-logincluster
authorLucas Di Pentima <lucas.dipentima@curii.com>
Thu, 13 Oct 2022 13:56:59 +0000 (10:56 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Thu, 13 Oct 2022 13:56:59 +0000 (10:56 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

services/login-sync/arvados-login-sync.gemspec

index e23156a1584f09b3d5b5e7ee0bbbea48ab56db08..1f8252924b1ad30d46779a6384f2c8f71ce1e187 100644 (file)
@@ -37,7 +37,11 @@ Gem::Specification.new do |s|
   s.files       = ["bin/arvados-login-sync", "agpl-3.0.txt"]
   s.executables << "arvados-login-sync"
   s.required_ruby_version = '>= 2.1.0'
-  s.add_runtime_dependency 'arvados', '~> 2.4', '> 2.4.3a'
+  # Note the letter 'a' at the end of the version dependency. This enables
+  # bundler's dependency resolver to include 'pre-release' versions, like the
+  # ones we build (but not publish) on every test pipeline job.
+  # See: https://github.com/rubygems/bundler/issues/4340
+  s.add_runtime_dependency 'arvados', '~> 2.4', '> 2.4.4a'
   s.add_runtime_dependency 'launchy', '< 2.5'
   # We need at least version 0.8.7.3, cf. https://dev.arvados.org/issues/15673
   s.add_dependency('arvados-google-api-client', '>= 0.8.7.3', '< 0.8.9')