New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TruffleRuby to CI matrix #1751
Conversation
Maybe @eregon can take a look here? As it now works with MRI and JRuby |
The Gemfile is sorta not installing very much for Truffle:
|
Probably because almost every gem is under |
Right that line should probably be unconditional. FWIW, Rubinius is dead AFAIK so that could probably be removed entirely from the Gemfile. |
#1756 Thanks for the reminder, here is "drop rbx". |
OK! #1757 is "use platforms:"! |
(Gotta rebase, then we'll know more!) |
@olleolleolle ah that's right. If I close/re-open the PR does that pick up the latest changes in master? |
@dentarg is probably awake enough to do that for us. |
I commented on #1757 there are a few tweaks needed to let the gems install on TruffleRuby. |
I (or maybe @bjfish) could take a shot e.g. tomorrow at making a PR changing whatever is needed (e.g., the Gemfile) to make the gems install correctly on truffleruby and the tests pass, that may be easier. |
(Thanks, dentarg!)
Is this comment related to this? And the existence of a |
Perhaps #1758 will make more gems available to Truffleruby? |
Would it possible to update to a newer tzinfo which nowadays depends on concurrent-ruby? (https://github.com/tzinfo/tzinfo/blob/master/tzinfo.gemspec) |
@eregon Ah, yes, the venerable
I will make that update in the "More careful Gemfile". |
Try to get a tzinfo dependency which is dependent on concurrent-ruby, so that good things happen, instead of /home/runner/work/sinatra/sinatra/vendor/bundle/truffleruby/3.0.2.22.0.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone.rb:653:in `const_missing': uninitialized constant ThreadSafe::Cache (NameError) For context, see: sinatra#1751 (comment)
Try to get a tzinfo dependency which is dependent on concurrent-ruby, so that good things happen, instead of /home/runner/work/sinatra/sinatra/vendor/bundle/truffleruby/3.0.2.22.0.0/gems/tzinfo-1.2.9/lib/tzinfo/timezone.rb:653:in `const_missing': uninitialized constant ThreadSafe::Cache (NameError) For context, see: sinatra#1751 (comment)
@eregon Now, we have arrived somewhere more interesting, I think. Here is a fragment:
I note that perhaps this is related? |
I could repro it locally, also with latest TruffleRuby, I filed oracle/truffleruby#2605 |
BTW this warning:
is caused by: Lines 27 to 28 in 0309bbb
It'd be great to remove that as that can break lots of things in very subtle ways (but doesn't seem the cause of the issue linked above). |
This is related to work happening for sinatra#1751 (comment)
This is related to sinatra#1751 (comment)
@dentarg Right, now the warning-removing for Truffleruby is applied. Lots of keeping up, for this branch. |
2345036
to
ba34f1e
Compare
Speculating: Ah, is https://github.com/sinatra/sinatra/blob/master/Gemfile#L32
https://github.com/rack/rack/blob/main/lib/rack/handler.rb#L30-L42 |
ba34f1e
to
900dc7a
Compare
I or @bjfish will take a look |
1afd296
to
ada61d0
Compare
ada61d0
to
d5ec7d3
Compare
Default is 360 minutes, ain't nobody got time for that. https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes
TruffleRuby wasn't able to bundle in 5 minutes: https://github.com/sinatra/sinatra/runs/6081844135?check_suite_focus=true
d5ec7d3
to
d682b00
Compare
No description provided.