Skip to content

Commit

Permalink
relax versions of rubygems and comment out ostruct with reason (#1917)
Browse files Browse the repository at this point in the history
## Problem

SLFO using ruby3.2 and agama gemspec specifies versions from ruby3.4
which are too high.


## Solution

Relax versions as agama does not have problem to run with ruby3.2.
Tricky part is ostruct as it is not provided by ruby3.2 as gem, but as
it will be removed after 3.4 lets just comment it out and solve it when
need arise ( SLFO should update soon ruby version ).
  • Loading branch information
jreidinger authored Jan 17, 2025
2 parents db4e151 + a6f1e00 commit 88d1f1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 6 additions & 4 deletions service/agama-yast.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ Gem::Specification.new do |spec|
spec.add_dependency "nokogiri", "~> 1.15"
spec.add_dependency "rexml", "~> 3.2"
spec.add_dependency "ruby-dbus", ">= 0.23.1", "< 1.0"
spec.add_dependency "csv", "~> 3.3"
spec.add_dependency "prime", "~> 0.1.3"
spec.add_dependency "logger", "~> 1.6"
spec.add_dependency "ostruct", "~> 0.6.1"
spec.add_dependency "csv", "~> 3.2"
spec.add_dependency "prime", "~> 0.1"
spec.add_dependency "logger", "~> 1.5"
# here we have problem as ruby3.2 on SLFO does not provide rubygem-ostruct, but newer ruby will separate it after 3.4
# but dynamic dependencies are not possible in gemspec
# spec.add_dependency "ostruct", "~> 0.6.1"
end
6 changes: 6 additions & 0 deletions service/package/rubygem-agama-yast.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 17 20:42:58 UTC 2025 - Josef Reidinger <[email protected]>

- Relax gems version in the gemspec file
(gh#agama-project/agama#1917)

-------------------------------------------------------------------
Thu Jan 16 17:30:03 UTC 2025 - Ladislav Slezák <[email protected]>

Expand Down

0 comments on commit 88d1f1e

Please sign in to comment.