Hi,

It is again the time to look at where Ruby 3.3 development stands. So here is PR with the changes:

https://src.fedoraproject.org/rpms/ruby/pull-request/159

and scratch build:

https://koji.fedoraproject.org/koji/taskinfo?taskID=106071236

You probably remember, that I used to create the PR from private branch. However this time I have decided to create the PR from my fork. This should allow me to force pushes, which should help me in doing rebases and possibly extracting some changes into stable branches.

Now let me list some modifications in random order.


* `%gem_spec` macro with options:

https://src.fedoraproject.org/fork/vondruch/rpms/ruby/blob/77c580dfa85f921d969a8da68eaf6e88987aab8a/f/macros.rubygems#_10

This is my initial version, just to enable to use this macro in ruby.spec. I think I'll similarly modify all the related macros. While they'll be more complex, their use in ruby.spec will outweigh that. And I should add some documentation ...

BTW there are several possibilities in choosing how complex/flexible this macro will be and I think this is one of the changes which could be backported to Ruby 3.2. So feedback is appreciated. Looking at the macro, this bit `%{?1:%{expand:%{%{1}_version}}}%{!?1:%{version}}` is probably not very good idea for possible use in rubygem-*.gemspec.


* There is still problem with syntax-suggest test suite, which tries to download some pieces from interned :/ However, I have replaced the "revert" patches with custom patch disabling the syntax-suggest test case in a hope that this will be easier to maintain. Those previous patches weren't. Trying to modify them for Ruby 3.3 proved to be problematic.


* I have reordered build dependencies a bit, trying to group them


* readline-devel was dropped, since upstream replaced readline-ext by reline


* Dependency on Rust is still optional and does not influence too much. I don't think it even impacts `%files` section. That is still good.


* MJIT was replaced by RJIT. I have not tested functionality, but at least it resolves some issues with misplaced files.


* For a while, since upstream migrated from minitest back to test-unit, the skipped test were not easily identifiable. Luckily, I have discovered `--show-skip` option, which lists the skipped tests. And there are some issues to resolve, upstream as well as downstream. I have yet to investigate them.


* Racc is now bundled gem instead of default gem. That means it will live in ruby-bundled-gems. I don't think this should have impact on anything. However, it made me realize, that we don't have `bundled` provides for the bundled/default gems. This is a bit annoying, because maintaining this list is PITA. I have to explore what improvements were done in the generators area in RPM.


And this is mostly it. Please note that I did very little (or possibly even less than that ;) ) testing. So be careful. And as always, looking for your feedback here, in BZ, or PR.


Best,


Vít

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to