Nathan Hartman wrote on 2022/10/09 21:59:
On Sun, Oct 9, 2022 at 6:43 AM Mamoru TASAKA <mtas...@fedoraproject.org> wrote:
Hello, subversion developers:
Now Fedora 38 is preparing for upcoming ruby 3.2 (which is expected to be
released
on 2022/Dec), and current subversion fails for test suite for ruby like:
Ruby 3.2 now completely removes "File.exists?" which were already obsoleted on
ruby 2.1.
Just replacing with "File.exist?" should fix these errors.
https://github.com/ruby/ruby/blob/6378825df5c7abc7ef45f257057ffd21dc9e63b5/NEWS.md?plain=1#L248
https://bugs.ruby-lang.org/issues/17391
https://docs.ruby-lang.org/en/3.1/File.html#method-c-exist-3F
Regards,
Mamoru TASAKA <mtas...@fedoraproject.org>
Thank you for the report.
Committed in r1904472.
And nominated for backport to 1.14.x in r1904473.
I'm also attaching it as a patch. Please could you verify it fixes the
issue for you and let us know?
The swig-rb checks pass on trunk and 1.14.2 with this patch applied.
I tested with Ruby 2.4.
Okay. I've tested r1904472 changeset and I've confirmed that actually this
makes testsuite pass
with ruby 3.2dev. Thank you.
Regards,
Mamoru