Replies: 9 comments 38 replies
-
I don't think we need to go |
Beta Was this translation helpful? Give feedback.
-
Just tried master with ORTools and am seeing a few errors:
and a few warnings:
|
Beta Was this translation helpful? Give feedback.
-
My thinking right now is given Ruby 3.4 is coming out next week, we can make sure Rice is working fine there then put out a new release, 4.4 (I don't think we need to go to 5.0, there's a few things hard-coded to "4.x" that really don't need to change) in January. That sound good? |
Beta Was this translation helpful? Give feedback.
-
So Ruby 3.4 does not work. There are two bugs. One embedding bug and one GC bug. Embedding bug - https://bugs.ruby-lang.org/issues/20996 I haven't reported the GC bug yet. |
Beta Was this translation helpful? Give feedback.
-
Update - I have completed all the changes I would like to make for a new release. Lot and lots of new functionality. I now need to update the docs, which will take some time. Unfortunately, no progress on Ruby 3.4 support. |
Beta Was this translation helpful? Give feedback.
-
Thanks @jasonroelofs on getting Ruby 3.4 working. In the meantime, I have significantly updated the documentation. I went with version 4.5 to kinda sort of indicate this is a major release. I just pushed the documentation updates to the website (since they are mostly applicable to the current version of Rice too). I plan on updating the docs to discuss auto generating bindings using the new ruby-bindgen gem I have written, but I can do that after a release. The one last thing I would like to do is enable FFI on MacOS. When I enabled it before it crashed :( Currently it is disabled, see: https://github.com/ruby-rice/rice/blob/master/lib/mkmf-rice.rb#L70 I don't actually have a Mac to test on. So I have been using MacOS running in a virtual qemu/kvm but that is slow and painful. I can try to do that again, or find myself a Mac. Or if you have time Jason and can look at it that would be great. The crash happens in the test_Callbacks.cpp. |
Beta Was this translation helpful? Give feedback.
-
That was the last item on my list. We do need to update include/headers before a release. @jasonroelofs anything else on yours (the code to disable GC was never checked in right)? @ankane Do you have time to give this new version a spin first or should we just do a release? I called it 4.5 in the changelog. Oh looking at the changelog, we should add dates, I always find that helpful on other projects... |
Beta Was this translation helpful? Give feedback.
-
Just tested with seven of my projects and everything seems to work fine, fwiw. |
Beta Was this translation helpful? Give feedback.
-
Planning on doing a 4.5 release this weekend... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've made a bunch of updates to Rice as I try to create Rice bindings for OpenCV. Currently this work is in this repo. Not quite sure of timing, the bindings still have a lot of work, and was going to wait until they are mostly complete.
Anyway, there are lot of new features and a couple breaking changes. Wondering if we should call this "5.0.0"?
@jasonroelofs thoughts?
Breaking changes:
Changes:
@ankane would love to get your feedback on these changes.
Also, I have created yet another rubybindgen project to automaticaly create FFI and Rice bindings. I've been using it to create the opencv bindings. See https://github.com/ruby-rice/ruby-bindgen.
Beta Was this translation helpful? Give feedback.
All reactions