https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292019-06-03T00:56:44ZRedmineRedmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=921742019-06-03T00:56:44ZGo MAEDA
<ul><li><strong>Copied from</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/30118">Feature #30118</a>: Ruby 2.6 support</i> added</li></ul> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=950422019-11-28T22:06:11ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/32527">Patch #32527</a>: Fix ruby 2.7 warning: given argument is nil; this will raise a TypeError in the next release</i> added</li></ul> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=950932019-12-02T04:48:25ZSeiei Miyagi
<ul></ul><p>With ruby 2.7, following tests failed.</p>
<pre>
bin/rails test test/functional/timelog_report_test.rb:262
bin/rails test test/functional/timelog_report_test.rb:308
</pre>
<p>I send a pull request to ruby/csv to fix it. <br /><a class="external" href="https://github.com/ruby/csv/pull/111">https://github.com/ruby/csv/pull/111</a><br />The pull request is merged but not released yet.</p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=951152019-12-03T08:17:46ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/32542">Patch #32542</a>: Fix ruby 2.7 warning: The last argument is used as the keyword parameter</i> added</li></ul> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=954782020-01-04T04:09:29ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/32752">Defect #32752</a>: Ruby 2.7: Remove deprecated URI.escape/unescape</i> added</li></ul> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=959372020-01-28T21:28:47ZMarius BÄ‚LTEANU
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/32906">Patch #32906</a>: Update i18n (~> 1.8.2)</i> added</li></ul> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=959632020-01-29T08:20:58ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/32907">Patch #32907</a>: Update capybara (~> 3.31.0)</i> added</li></ul> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=963392020-02-19T09:45:06ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/33021">Defect #33021</a>: [v.4.0.5-stable] Internal Server Error 500 when accessing 'repository' tab</i> added</li></ul> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=976752020-05-05T03:22:02ZJeremy Bailey
<ul></ul><p><a class="external" href="https://github.com/ruby/csv/pull/111">https://github.com/ruby/csv/pull/111</a> was merged in November 2019, but it seems that ruby/csv <a href="https://github.com/ruby/csv/releases" class="external">hasn't yet been updated</a> since 3.1.2 in October 2019.</p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=977512020-05-10T12:49:54ZLudovic Andrieux
<ul></ul><p>ruby/csv 3.1.3 is released with the fix : <a class="external" href="https://github.com/ruby/csv/releases/tag/v3.1.3">https://github.com/ruby/csv/releases/tag/v3.1.3</a></p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=990082020-08-31T15:54:56ZAnatol Pomozov
<ul></ul><p>Hi folks,</p>
<p>Ruby 2.7 released almost a year ago. It would be great if useful tools redmine finally became supported at this latest stable version of Ruby.</p>
<p>Could anyone please give an update on the current status of this activity?</p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=992942020-09-28T13:21:27ZXavier Maquil
<ul></ul><p>Any news about release for 2.7 support (Ubuntu 20.04.1 has it build in)</p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=994262020-10-16T02:03:52ZGo MAEDA
<ul></ul><p>Since the latest <a href="https://www.ruby-lang.org/en/news/2020/10/02/ruby-2-7-2-released/" class="external">Ruby 2.7.2</a> disables all deprecation warnings by default, I think Redmine can support Ruby 2.7 if it ignores 2.7.0 and 2.7.1.</p>
<p>The reason why Redmine still stays in Ruby 2.6 is that huge numbers of deprecation warnings are displayed while runnning tests. The problem is resolved by the change of Ruby 2.7.2, so I think it is no problem to use Ruby 2.7.2 now.</p>
<pre><code class="diff syntaxhl"><span class="gh">diff --git a/Gemfile b/Gemfile
index 0cfe10e49..24c85b341 100644
</span><span class="gd">--- a/Gemfile
</span><span class="gi">+++ b/Gemfile
</span><span class="p">@@ -1,6 +1,6 @@</span>
source 'https://rubygems.org'
-ruby '>= 2.3.0', '< 2.7.0'
<span class="gi">+ruby '>= 2.3.0', '< 2.8.0'
</span> gem 'bundler', '>= 1.12.0'
gem 'rails', '5.2.4.4'
<span class="gh">diff --git a/doc/INSTALL b/doc/INSTALL
index f4374dae1..137088290 100644
</span><span class="gd">--- a/doc/INSTALL
</span><span class="gi">+++ b/doc/INSTALL
</span><span class="p">@@ -7,7 +7,7 @@</span> http://www.redmine.org/
== Requirements
-* Ruby 2.3, 2.4, 2.5, 2.6
<span class="gi">+* Ruby 2.3, 2.4, 2.5, 2.6, 2.7 (except for 2.7.0 and 2.7.1)
</span> * Bundler >= 1.12.0
* A database:
</code></pre> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=994532020-10-19T00:35:35ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Redmine supports Ruby 2.7 (excluding 2.7.0 and 2.7.1) after <a class="changeset" title="Ruby 2.7 support (#31500)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/20150">r20150</a>.</p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=994542020-10-19T03:58:43ZEnziin System
<ul></ul><p>If Ruby 2.7 (<strong>excluding</strong> 2.7.0 and 2.7.1) then Redmine <strong>NOT</strong> support Ruby 2.7 version, still Ruby 2.6x</p>
<p>In the Gemfile:</p>
<p>ruby '>= 2.3.0', '< 2.7.0'</p>
<p>To</p>
<p>ruby '>= 2.3.0', '<= 2.7.0'</p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=994552020-10-19T04:05:58ZGo MAEDA
<ul></ul><p>Enziin System wrote:</p>
<blockquote>
<p>If Ruby 2.7 (<strong>excluding</strong> 2.7.0 and 2.7.1) then Redmine <strong>NOT</strong> support Ruby 2.7 version, still Ruby 2.6x</p>
</blockquote>
<p>Although Redmine does not support Ruby 2.7.0 and 2.7.1 but supports 2.7.2 or higher. This is related to the following issues:</p>
<ul>
<li><a href="https://bugs.ruby-lang.org/issues/17000" class="external">Feature !#17000: 2.7.2 turns off deprecation warnings by default</a></li>
<li><a href="https://bugs.ruby-lang.org/issues/16345" class="external">Feature !#16345: Don't emit deprecation warnings by default.</a></li>
</ul> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=995042020-10-22T07:10:07ZEnziin System
<ul></ul><p>Ok, thanks!</p>
<p>In the above comment, you said "I think it is no problem to use Ruby 2.7.2 now"</p>
<p>Redmine run passed all tests on Ruby 2.7.2, isn't it?</p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=995052020-10-22T07:14:55ZGo MAEDA
<ul></ul><p>Enziin System wrote:</p>
<blockquote>
<p>Redmine run passed all tests on Ruby 2.7.2, isn't it?</p>
</blockquote>
<p>Yes. Redmine on Ruby 2.7.2 passes all tests without warnings.</p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=1011082021-02-26T07:41:53ZAdrien Crivelli
<ul></ul><p>Thank you for the patch.</p>
<p>Unfortunately the patch was ready 4 months ago, but it has not been released yet, and will only be released as part of 4.2.0. According to the roadmap, 4.2.0 is at <a href="https://www.redmine.org/versions/152" class="external">80% with 42 opened issues</a>. It could still be weeks, if not months, before we see this patch released.</p>
<p>I would like to suggest to consider to make releases <strong>slightly</strong> more often. Last release was almost <a href="https://www.redmine.org/news/128" class="external">1 year ago</a>. In fact with 210 issues 4.2.0 is on the biggest version in recent years. What about splitting versions in two to have <strong>approximately</strong> two releases per year ?</p>
<p>So I'd suggest to release the first half of 4.1.0 right now, and postpone what is not ready in the next version.</p>
<p>What do you think ?</p> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=1021462021-04-20T23:37:14ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/35135">Defect #35135</a>: FrozenError when new LDAP users try to login</i> added</li></ul> Redmine - Feature #31500: Ruby 2.7 supporthttps://www.redmine.org/issues/31500?journal_id=1033682021-07-27T09:31:06ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/35441">Defect #35441</a>: Inline image in Textile is not displayed if the image URL contains ampersands</i> added</li></ul>