Bug 450704 - Please support Ruby 3.1
Summary: Please support Ruby 3.1
Status: RESOLVED FIXED
Alias: None
Product: releaseme
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-22 15:25 UTC by Friedrich W. H. Kossebau
Modified: 2022-02-23 12:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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