Bug 450704

Summary: Please support Ruby 3.1
Product: [Developer tools] releaseme Reporter: Friedrich W. H. Kossebau <kossebau>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: sitter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Friedrich W. H. Kossebau 2022-02-22 15:25:08 UTC
Trying to use releaseme on current openSUSE TW got me:
"
- Ruby 2.4.0 or 2.5.0 or 2.6.0 or 2.7.0 or 3.0.0 required.
  Currently using: 3.1.0
"
Given the warning about potential breakages with language changes with newer Ruby versions and having 0 clue about ruby myself, I have to default to file a request only :)
Comment 1 Friedrich W. H. Kossebau 2022-02-22 16:08:49 UTC
FWIW, I tried simply adding "3.1.0" to the list of versions and did the Okteta 0.26.7 release with that, which seems to have worked by what I tested/checked in the generated artifacts. Yet no clue about the dragons in ruby land, so just mentioned "for the record".
Comment 2 Bug Janitor Service 2022-02-23 12:19:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/releaseme/-/merge_requests/16
Comment 3 Harald Sitter 2022-02-23 12:24:13 UTC
Git commit c23546be60dc8f54a1ee7fbe08bb115fd5ddc056 by Harald Sitter.
Committed on 23/02/2022 at 12:17.
Pushed by sitter into branch 'master'.

update ruby compatibility set

2.4 and 2.5 are EOL -> drop support for them
3.1 is newly released -> add support (no changes required)

minimal rubocop hints are now for 2.6

M  +5    -10   .gitlab-ci.yml
M  +1    -1    .rubocop.yml
M  +1    -1    lib/releaseme/requirement_checker.rb
M  +7    -6    test/requirement_checker_test.rb

https://invent.kde.org/sdk/releaseme/commit/c23546be60dc8f54a1ee7fbe08bb115fd5ddc056