<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>404102</bug_id>
          
          <creation_ts>2019-02-08 16:31:31 +0000</creation_ts>
          <short_desc>tarme.rb requires a too new ruby version on openSUSE Leap 42.3</short_desc>
          <delta_ts>2019-02-12 20:47:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Developer tools</classification>
          <product>releaseme</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>373932</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Ralf Habacker">ralf.habacker</reporter>
          <assigned_to name="Harald Sitter">sitter</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1836708</commentid>
    <comment_count>0</comment_count>
    <who name="Ralf Habacker">ralf.habacker</who>
    <bug_when>2019-02-08 16:31:31 +0000</bug_when>
    <thetext>SUMMARY

ruby tools provided with releasme gitrepo requires a too high ruby interpreter version.

STEPS TO REPRODUCE
1. run ./tarme.rb --version 7.0.2 --origin stable alkimia

OBSERVED RESULT
- Ruby 2.3.0 or 2.4.0 or 2.5.0 or 2.6.0 required.
  Currently using: 2.1.9
/home/ralf/src/releaseme/lib/releaseme/requirement_checker.rb:116:in `check&apos;: Not all requirements met. (RuntimeError)
        from /home/ralf/src/releaseme/lib/releaseme/requirements.rb:3:in `&lt;top (required)&gt;&apos;
        from /home/ralf/src/releaseme/lib/releaseme/logable.rb:28:in `require_relative&apos;
        from /home/ralf/src/releaseme/lib/releaseme/logable.rb:28:in `&lt;top (required)&gt;&apos;
        from /home/ralf/src/releaseme/lib/releaseme/cmakeeditor.rb:24:in `require_relative&apos;
        from /home/ralf/src/releaseme/lib/releaseme/cmakeeditor.rb:24:in `&lt;top (required)&gt;&apos;
        from /home/ralf/src/releaseme/lib/releaseme.rb:22:in `require_relative&apos;
        from /home/ralf/src/releaseme/lib/releaseme.rb:22:in `&lt;top (required)&gt;&apos;
        from ./tarme.rb:25:in `require_relative&apos;
        from ./tarme.rb:25:in `&lt;main&gt;&apos;

EXPECTED RESULT
tarme.rb should work with ruby 2.1

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux: openSUSE Leap 42.3

ADDITIONAL INFORMATION
openSUSE Leap 42.3 is official supported until the end of this year</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1836782</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2019-02-08 21:22:46 +0000</bug_when>
    <thetext>Ruby 2.1 is EOL for more than 2 years.

I am going to great lengths to keep compatibility and require only core ruby features, but unfortunately much of the wider ecosystem has moved on and introduced incompatibilities so testing our 2.1 comaptibility is actually not viable anymore. You can manually hack the version check to allow 2.1 or, use rbenv or rvm to provision a newer ruby isolated from your systems (which is what I recommend), or use a docker/lxd container with an actually supported ruby.

I appreciate that this is very annoying but the motivation behind the tight version locking is to ensure that the generate tarballs are in fact going to be exactly what we intend them to be, so if we can&apos;t test that I&apos;d rather tighten the compatibility lock than allow potentially broken tarballs getting released on account of us the unit test suite not running on unsupported ruby versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1837561</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2019-02-12 20:47:03 +0000</bug_when>
    <thetext>&gt; openSUSE Leap 42.3 is official supported until the end of this year

42.3 ships Ruby 2.4.1

http://download.opensuse.org/distribution/leap/42.3/repo/oss/suse/x86_64/libruby2_4-2_4-2.4.1-2.7.x86_64.rpm.mirrorlist</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>